Neural Reverse Engineering of Stripped Binaries using Augmented Control Flow Graphs

Yaniv David, Uri Alon, Eran Yahav
2/25/2019
cs.LGcs.CRcs.PL

Official code: tech-srl/Nero (208 stars, Python, GPL-3.0, last commit 2021-05-10).

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.

Show full abstract

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 .

View on arXivView PDF

Code Implementations(1)

tech-srl/NeroOfficial100%
GPL-3.0

Code and resources for the paper: "Neural Reverse Engineering of Stripped Binaries using Augmented Control Flow Graphs"

20822PythonOct 8, 20205 years agoGPL-3.0

Similar Papers

Cite this paper

@article{david2019neural,
  title  = {Neural Reverse Engineering of Stripped Binaries using Augmented Control Flow Graphs},
  author = {Yaniv David and Uri Alon and Eran Yahav},
  year   = {2019},
  eprint = {1902.09122},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.09122}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1902.09122.svg)](https://codeofpaper.com/paper/1902.09122)

Discussion