Neural reverse engineering of stripped binaries using augmented control flow graphs
Open accessThe DOI matches its Crossref record; 69 of the 69 references it cites were found in a registry or an index.
Abstract
We address the problem of reverse engineering of stripped executables, which contain no debug information. This is a challenging problem because of the low amount of syntactic information available in stripped executables, and the diverse assembly code patterns arising from compiler optimizations. We present a novel approach for predicting procedure names in stripped executables. Our approach combines static analysis with neural models. The main idea is to use static analysis to obtain augmented representations of call sites; encode the structure of these call sites using the control-flow graph (CFG) and finally, generate a target name while attending to these call sites. We use our representation to drive graph-based, LSTM-based and Transformer-based architectures. Our evaluation shows that our models produce predictions that are difficult and time consuming for humans, while improving on existing methods by 28% and by 100% over state-of-the-art neural textual models that do not use any static analysis. Code and data for this evaluation are available at https://github.com/tech-srl/Nero.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
From What Makes In-Context Examples Effective for Code Generation? (2026) · cites this paper as [16]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318 · cited 1×
“Traditionally [Cho et al. 2014; Sutskever et al. 2014], seq2seq models are based on recurrent neural networks (RNNs), and typically LSTMs [Hochreiter and Schmidhuber 1997].”
BackgroundAdam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946 · cited 1×
“For all models, we used the Adam [Kingma and Ba 2014] optimization algorithm with an initial learning rate of 10 − 4 decayed by a factor of 0 .”
MethodExploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173 · cited 1×
“Transformer models are the basis for the vast majority of recent sequential models [Chiu et al. 2018; Devlin et al. 2019; Radford et al. 2018].”
MethodBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 1×
“Transformer models are the basis for the vast majority of recent sequential models [Chiu et al. 2018; Devlin et al. 2019; Radford et al. 2018].”
Method(2014) · Cited by 33,419
Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545 · cited 4×
“…models, at each step the decoder has the ability to compute a different weighted average of all latent vectors 𝒛 = ( 𝑧 1 , ...,𝑧 𝑛 ) [Bahdanau et al. 2014; Luong et al. 2015], and not only the last state of the encoder as in traditional seq2seq models [Cho et al. 2014; Sutskever et al. 2014].”
BackgroundMethodInfluentialSemi-supervised classification with graph convolutional networks
Kipf, T. N., & Welling, M. (2016) · arXiv · doi:10.48550/arxiv.1609.02907 · Cited by 24,853
Sequence to Sequence Learning with Neural Networks
Sutskever, I., Vinyals, O., & Le, Q. V. (2014) · arXiv · doi:10.48550/arxiv.1409.3215 · Cited by 17,766 · cited 8×
“…models, at each step the decoder has the ability to compute a different weighted average of all latent vectors 𝒛 = ( 𝑧 1 , ...,𝑧 𝑛 ) [Bahdanau et al. 2014; Luong et al. 2015], and not only the last state of the encoder as in traditional seq2seq models [Cho et al. 2014; Sutskever et al. 2014].”
BackgroundMethodInfluential
Research works printed but not linked: 8
- Allamanis Miltiadis, 2016, Proceedings of the 33nd International Conference on Machine Learning, ICML 2016
- Alon Uri, 2019, International Conference on Learning Representations. https://openreview.net/forum?id=H1gKYo09tX
- Bielik Pavol, 2016, Proceedings of the 33nd International Conference on Machine Learning, ICML 2016
- Cho Kyunghyun, 2014, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio.
- Ding Steven H H, 2019, Benjamin C M Fung, and Philippe Charland
- Lacomis Jeremy, 2019, Graham Neubig, and Bogdan Vasilescu.
- Lyle James R, 1993, Proceedings of the 1993 Software Engineering Research Forum. Citeseer, 255-260
- Maddison Chris, 2014, International Conference on Machine Learning. 649-657
Cited by
DOBF: A Deobfuscation Pre-Training Objective for Programming Languages
Rozière, B., Lachaux, M.-A., Szafraniec, M., & Lample, G. (2021) · neural information processing systems · doi:10.48550/arxiv.2102.07492 · Cited by 176
“More recently, David et al. (2020) used a transformer together with augmented representations obtained from static analysis to infer procedure names in stripped binary files.”
MethodAdversarial examples for models of code
Yefet, N., Alon, U., & Yahav, E. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428230 · Cited by 161
Self-citationJin, X., Pei, K., Won, J. Y., & Lin, Z. (2022) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3548606.3560612 · Cited by 136
“In contrast, NERO [27] only considers the calling context, where it constructs call site graphs from call-related instructions, but ignores all other functions instructions.”
BackgroundMethodResultInfluentialDeGPT: Optimizing Decompiler Output with LLM
Hu, P., Liang, R., & Chen, K. (2024) · Network and Distributed System Security Symposium · doi:10.14722/ndss.2024.24401 · Cited by 154
“(i) Embed information obtained from disassembled code such as mnemonic sequence and control flow graph for model-based methods [27, 29, 32, 41, 45].”
MethodReSym: Harnessing LLMs to Recover Variable and Data Structure Symbols from Stripped Binaries
Xie, D.-N., Zhang, Z., Jiang, N., Xu, X.-Z., Tan, L., & Zhang, X.-Y. (2024) · Conference on Computer and Communications Security · doi:10.1145/3658644.3670340 · Cited by 113
“Our evaluation on real-world data shows ReSym’s effectiveness, outperforming existing methods in variable and user-defined data structure recovery with 72.9% precision and identifying inlined structures or arrays with an 85.9% F1 score.”
Influential
Metadata
- Authors
- David, Y., Alon, U., & Yahav, E.
- Affiliations
- Technion – Israel Institute of Technology (IL)
- Venue
- Proceedings of the ACM on Programming Languages
- Published
- 2020-11-13
- Volume
- 4
- Issue
- OOPSLA
- Pages
- 1-28
- ISSN
- 2475-1421 (ISSN-L)
- OpenAlex
- W3093415205
- Semantic Scholar
- 9cdcb661b797d58f0058a6896d47aa1d0cd8d19c
- Cited by
- 84
- References
- 69
- Citations by year
- 2026: 12 · 2025: 13 · 2024: 14 · 2023: 20 · 2022: 11 · 2021: 11 · 2020: 1
- FWCI
- 10.12
- Type
- journal article
- Language
- en
- Open access
- diamond
- doi.org
- Licence
- Locations
- Proceedings of the ACM on Programming Languages (publishedVersion, cc-by-nc-sa)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Zenodo (CERN European Organization for Nuclear Research) (cc-by)
- Funders
- Israel Ministry of Science and Technology (3-9779)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Keywords
- stripped binaries, reverse engineering, control flow graph, static analysis, neural network architecture, transformer models, LSTM, compiler optimization, binary analysis
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.