VulMatch:基于签名的二进制级漏洞检测
VulMatch: Binary-level Vulnerability Detection Through Signature
AI总结:
本文提出VulMatch方法,通过结合源代码与二进制代码提取精确的漏洞相关指令签名,以检测二进制级重复漏洞,并在多个开源项目和商业固件上验证了其优于Asm2vec和Palmtree的性能及可解释性。
摘要:
由于代码复用,相似漏洞在现实世界的软件产品中反复出现,尤其是在被广泛复用的第三方代码和库中。检测重复出现的漏洞(如1-day和N-day漏洞)是一项重要的网络安全任务。然而,现有最先进的方法性能不佳,因为它们检测的是补丁的存在而非漏洞的存在,并且直接从二进制代码中推断漏洞签名。在本文中,我们提出VulMatch,用于提取精确的漏洞相关二进制指令以生成漏洞相关签名。VulMatch基于二进制签名检测漏洞的存在。与以往方法不同,VulMatch通过利用源代码和二进制代码来准确定位漏洞相关指令。我们的实验在七个开源项目中的1000多个漏洞实例上进行。VulMatch显著优于基线工具Asm2vec和Palmtree。除了相对于基线工具的性能优势外,VulMatch还通过提供漏洞检测期间的可解释原因提供了更好的特性。我们的实证研究表明,VulMatch能够检测最先进工具难以处理的细粒度漏洞。我们在商业固件上的实验表明,VulMatch能够在现实场景中发现漏洞。
英文摘要:
Similar vulnerability repeats in real-world software products because of code reuse, especially in wildly reused third-party code and libraries. Detecting repeating vulnerabilities like 1-day and N-day vulnerabilities is an important cyber security task. Unfortunately, the state-of-the-art methods suffer from poor performance because they detect patch existence instead of vulnerability existence and infer the vulnerability signature directly from binary code. In this paper, we propose VulMatch to extract precise vulnerability-related binary instructions to generate the vulnerability-related signature. VulMatch detects vulnerability existence based on binary signatures. Unlike previous approaches, VulMatch accurately locates vulnerability-related instructions by utilizing source and binary codes. Our experiments were conducted using over 1000 vulnerable instances across seven open-source projects. VulMatch significantly outperformed the baseline tools Asm2vec and Palmtree. Besides the performance advantages over the baseline tools, VulMatch offers a better feature by providing explainable reasons during vulnerability detection. Our empirical studies demonstrate that VulMatch detects fine-grained vulnerability that the state-of-the-art tools struggle with. Our experiment on commercial firmware demonstrates VulMatch is able to find vulnerabilities in real-world scenario.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。