arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.09122cs.LGcs.CRcs.PLstat.ML
收藏

基于增广控制流图的剥离二进制文件神经逆向工程

Neural Reverse Engineering of Stripped Binaries using Augmented Control Flow Graphs

Technion(以色列理工学院)

Yaniv David, Uri Alon, Eran Yahav

摘要:

我们解决了剥离的可执行文件,其中不包含调试信息的逆向工程的问题。这是一个具有挑战性的问题,因为在剥离的可执行文件中可用的语法信息量很低,并且编译器优化产生了各种汇编代码模式。我们提出了一种新的方法来预测剥离的可执行文件中的过程名称。我们的方法结合了静态分析与神经模型。其主要思想是使用静态分析,以获得增强表示的调用网站,编码的结构,这些调用网站使用的控制流图(CFG),最后,生成一个目标名称,同时参加这些调用网站。我们使用我们的表示来驱动基于图、基于LSTM和基于Transformer的架构。我们的评估表明,我们的模型产生的预测对人类来说是困难和耗时的,同时比现有方法提高了28%,比不使用任何静态分析的最先进的神经文本模型提高了100%。该评估的代码和数据可在https://github.com/tech-srl/Nero上获得。

英文摘要:

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 .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑