In Nomine函数:带剥离二进制的隐函数与神经网络
In Nomine Function: Naming Functions in Stripped Binaries with Neural Networks
摘要:
在本文中,我们调查的问题,自动命名的汇编代码。这里的命名是指为一个汇编函数分配一串可能由人类逆向工程师分配的单词。我们正式和精确地定义了我们的调查发生的框架。也就是说,我们定义了问题,我们为训练和测试的设计提供了合理的理由。我们对一个大型的真实世界语料库进行了分析,该语料库由来自超过22K软件的近900万个功能组成。在这样的框架中,我们测试来自自然语言处理领域的基线(例如,Seq2Seq网络和Transformer)。有趣的是,我们的评估显示了有希望的结果,击败了最先进的技术,达到了良好的性能。我们研究微调的适用性(即,采用已经在大型通用语料库上训练的模型,并针对特定任务对其进行再训练)。这种技术在NLP领域是流行和众所周知的。我们的研究结果证实,微调是有效的,即使当神经网络应用于二进制。我们表明,在上述语料库上预先训练的模型,当进行微调时,在特定领域(例如预测系统利用程序,恶意软件等)具有更高的性能。
英文摘要:
In this paper we investigate the problem of automatically naming pieces of assembly code. Where by naming we mean assigning to an assembly function a string of words that would likely be assigned by a human reverse engineer. We formally and precisely define the framework in which our investigation takes place. That is we define the problem, we provide reasonable justifications for the choices that we made for the design of training and the tests. We performed an analysis on a large real-world corpora constituted by nearly 9 millions of functions taken from more than 22k softwares. In such framework we test baselines coming from the field of Natural Language Processing (e.g., Seq2Seq networks and Transformer). Interestingly, our evaluation shows promising results beating the state-of-the-art and reaching good performance. We investigate the applicability of tine-tuning (i.e., taking a model already trained on a large generic corpora and retraining it for a specific task). Such technique is popular and well-known in the NLP field. Our results confirm that fine-tuning is effective even when neural networks are applied to binaries. We show that a model, pre-trained on the aforementioned corpora, when fine-tuned has higher performances on specific domains (such as predicting names in system utilites, malware, etc).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。