Ethereum Intrusion Detection based on Bi-LSTM with Multi-head Attention

Developers and users are drawn to Ethereum due to its rapidly growing asset count. However, potential vulnerabilities and malicious behaviors during the execution of smart contracts have led to an increasing demand for security detection technology. Conventional static and dynamic analysis methods are less useful in the case of complex opcode sequences and multiple execution paths. To tackle this problem, this paper proposes an Ethereum intrusion detection method based on Bidirectional Long Short-Term Memory (Bi-LSTM) network with multi-head attention. It examines the opcode execution paths generated from the intra-and-inter-function Control Flow Graphs (CFGs) using the EPP algorithm and captures the rich feature representations and long dependencies. This combination increases the precision and efficacy of detecting malicious activity and smart contract vulnerabilities while simultaneously enhancing the model’s robustness and interpretability and handling variable-length sequences. For the five selected vulnerabilities, the precision, recall and F1-score of this model are above 89.9%, 87.3%, and 88%, respectively.

Authors

Institutions

Publication Details

Journal
Procedia Computer Science
Published
2025-01-01
DOI
https://doi.org/10.1016/j.procs.2025.04.029
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Ethereum Intrusion Detection based on Bi-LSTM with Multi-head Attention

Chen Zhang, Su Peng
Procedia Computer Science
Network Security and Intrusion Detection
article

Ethereum Intrusion Detection based on Bi-LSTM with Multi-head Attention

Chen Zhang, Su Peng
article en

Abstract

Developers and users are drawn to Ethereum due to its rapidly growing asset count. However, potential vulnerabilities and malicious behaviors during the execution of smart contracts have led to an increasing demand for security detection technology. Conventional static and dynamic analysis methods are less useful in the case of complex opcode sequences and multiple execution paths. To tackle this problem, this paper proposes an Ethereum intrusion detection method based on Bidirectional Long Short-Term Memory (Bi-LSTM) network with multi-head attention. It examines the opcode execution paths generated from the intra-and-inter-function Control Flow Graphs (CFGs) using the EPP algorithm and captures the rich feature representations and long dependencies. This combination increases the precision and efficacy of detecting malicious activity and smart contract vulnerabilities while simultaneously enhancing the model’s robustness and interpretability and handling variable-length sequences. For the five selected vulnerabilities, the precision, recall and F1-score of this model are above 89.9%, 87.3%, and 88%, respectively.

Procedia Computer ScienceVol. 259
Hainan University (CN)
Climate action
Openalex Percentile: Top 90%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.