arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.18347cs.SE
收藏

TransferFuzz: 利用历史轨迹模糊测试验证传播的漏洞代码

TransferFuzz: Fuzzing with Historical Trace for Verifying Propagated Vulnerability Code

Siyuan Li, Yuekang Li, Zuxin Chen, Chaopeng Dong, Yongpan Wang, Hong Li, Yongle Chen, Hongsong Zhu

AI总结:

针对代码复用导致漏洞传播但现有方法无法验证其在新环境中可触发的问题,提出TransferFuzz框架,通过提取基础二进制文件的历史轨迹并结合密钥字节引导变异与嵌套模拟退火算法,实现高效验证,速度为现有方法的2.5-26.2倍,还扩展了15个漏洞的受影响范围。

摘要:

软件开发中的代码复用频繁促进漏洞传播,导致CVE报告中受影响软件的范围不够精确。传统方法主要聚焦于识别目标软件中复用的漏洞代码,但无法验证这些漏洞能否在新软件环境中被触发。这一局限常导致误报。本文提出TransferFuzz,一种新颖的漏洞验证框架,用于验证通过代码复用传播的漏洞能否在新软件中被触发。创新性地,我们在基础二进制文件(CVE报告中详述的易受攻击二进制文件)的执行或模糊测试期间收集运行时信息。此过程使我们能提取历史轨迹,这些轨迹被证明有助于指导目标二进制文件(复用漏洞函数的新二进制文件)的模糊测试。TransferFuzz引入独特的密钥字节引导变异策略和嵌套模拟退火算法,将这些历史轨迹转移以在目标二进制文件上实现轨迹引导的模糊测试,从而促进对传播漏洞的准确高效验证。我们在广泛认可的数据集上进行的评估表明,TransferFuzz能快速验证现有技术先前无法验证的漏洞。其验证速度是现有方法的2.5至26.2倍。此外,TransferFuzz通过扩展CVE报告中列出的15个漏洞的受影响软件范围,将受影响二进制文件数量从15个增加到53个,证明了其有效性。本文使用的数据集和源代码可在https://github.com/Siyuan-Li201/TransferFuzz获取。

英文摘要:

Code reuse in software development frequently facilitates the spread of vulnerabilities, making the scope of affected software in CVE reports imprecise. Traditional methods primarily focus on identifying reused vulnerability code within target software, yet they cannot verify if these vulnerabilities can be triggered in new software contexts. This limitation often results in false positives. In this paper, we introduce TransferFuzz, a novel vulnerability verification framework, to verify whether vulnerabilities propagated through code reuse can be triggered in new software. Innovatively, we collected runtime information during the execution or fuzzing of the basic binary (the vulnerable binary detailed in CVE reports). This process allowed us to extract historical traces, which proved instrumental in guiding the fuzzing process for the target binary (the new binary that reused the vulnerable function). TransferFuzz introduces a unique Key Bytes Guided Mutation strategy and a Nested Simulated Annealing algorithm, which transfers these historical traces to implement trace-guided fuzzing on the target binary, facilitating the accurate and efficient verification of the propagated vulnerability. Our evaluation, conducted on widely recognized datasets, shows that TransferFuzz can quickly validate vulnerabilities previously unverifiable with existing techniques. Its verification speed is 2.5 to 26.2 times faster than existing methods. Moreover, TransferFuzz has proven its effectiveness by expanding the impacted software scope for 15 vulnerabilities listed in CVE reports, increasing the number of affected binaries from 15 to 53. The datasets and source code used in this article are available at https://github.com/Siyuan-Li201/TransferFuzz.

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

↑