SoK:关于x86/x64二进制文件你想知道但又不敢问的一切
SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
摘要:
二进制代码的解密是一个困难的问题,但对于提高二进制软件的安全性是必要的。在过去的几十年里,对二进制反汇编的研究产生了许多工具和框架,这些工具和框架已经提供给研究人员和安全专业人员。这些工具采用各种策略,赋予它们不同的特性。然而,缺乏系统化阻碍了该领域的新研究,并使得选择正确的工具变得困难,因为我们不了解现有工具的优点和缺点。在本文中,我们通过研究九个流行的开源工具来系统化二进制反汇编。我们将对他们的代码库进行手动检查,并使用3,788个二进制文件进行最全面的实验评估(迄今为止)。我们的研究产生了一个全面的描述和组织的拆卸策略,将它们分类为算法或启发式。同时,我们测量和报告各个算法对每个工具结果的影响。我们发现,虽然所有工具都使用原则性算法,但它们仍然严重依赖算法来增加代码覆盖率。根据所使用的算法,不同的覆盖率与正确性权衡发挥作用,导致具有不同优点和缺点的工具。我们设想,这些发现将帮助用户选择正确的工具,并协助研究人员提高二进制反汇编。
英文摘要:
Disassembly of binary code is hard, but necessary for improving the security of binary software. Over the past few decades, research in binary disassembly has produced many tools and frameworks, which have been made available to researchers and security professionals. These tools employ a variety of strategies that grant them different characteristics. The lack of systematization, however, impedes new research in the area and makes selecting the right tool hard, as we do not understand the strengths and weaknesses of existing tools. In this paper, we systematize binary disassembly through the study of nine popular, open-source tools. We couple the manual examination of their code bases with the most comprehensive experimental evaluation (thus far) using 3,788 binaries. Our study yields a comprehensive description and organization of strategies for disassembly, classifying them as either algorithm or else heuristic. Meanwhile, we measure and report the impact of individual algorithms on the results of each tool. We find that while principled algorithms are used by all tools, they still heavily rely on heuristics to increase code coverage. Depending on the heuristics used, different coverage-vs-correctness trade-offs come in play, leading to tools with different strengths and weaknesses. We envision that these findings will help users pick the right tool and assist researchers in improving binary disassembly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。