Neural-FEBI: Accurate Function Identification in Ethereum Virtual Machine Bytecode
Jiahao He, Shuangyin Li, Xinming Wang, Shing-Chi Cheung, Gansen Zhao, and Jinji Yang

TL;DR
Neural-FEBI is a neural network framework that accurately identifies function entries and boundaries in Ethereum smart contract bytecode, improving reverse engineering and analysis without relying on handcrafted rules.
Contribution
It introduces a neural network-based approach using bi-LSTM and CRF for function identification in EVM bytecode, surpassing existing heuristic-based methods.
Findings
Achieves F1-scores of 88.3% to 99.7% for function entry detection.
Improves function boundary detection accuracy from 79.4% to 97.1%.
Enables more precise construction of control flow graphs and call graphs.
Abstract
Millions of smart contracts have been deployed onto the Ethereum platform, posing potential attack subjects. Therefore, analyzing contract binaries is vital since their sources are unavailable, involving identification comprising function entry identification and detecting its boundaries. Such boundaries are critical to many smart contract applications, e.g. reverse engineering and profiling. Unfortunately, it is challenging to identify functions from these stripped contract binaries due to the lack of internal function call statements and the compiler-inducing instruction reshuffling. Recently, several existing works excessively relied on a set of handcrafted heuristic rules which impose several faults. To address this issue, we propose a novel neural network-based framework for EVM bytecode Function Entries and Boundaries Identification (neural-FEBI) that does not rely on a fixed set…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Security and Verification in Computing · Blockchain Technology Applications and Security
