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

有向模糊测试的混合方法

Hybrid Approach to Directed Fuzzing

Ivannikov Institute for System Programming of the Russian Academy of Sciences(俄罗斯科学院伊万尼科夫系统编程研究所);Lomonosov Moscow State University(莫斯科国立大学)

Darya Parygina, Timofey Mezhuev, Daniil Kuts

AI总结:

本文提出了一种结合有向模糊测试和符号执行的混合方法,通过新型种子调度算法提升错误检测效率。

摘要:

程序分析和自动化测试近年来已成为软件安全开发生命周期(SSDLC)的重要组成部分。有向灰盒模糊测试是目前最流行的自动化测试方法之一,专注于在预定义的代码区域中检测错误。然而,它仍然缺乏克服困难程序约束的能力。这个问题可以通过符号执行来很好地解决,但代价是性能较低。因此,结合有向模糊测试和符号执行技术可以导致更高效的错误检测。在本文中,我们提出了一种基于目标相关有趣性和覆盖率的新型种子调度算法的有向模糊测试混合方法。该方法还根据目标相关信息对目标种子进行最小化和排序。我们使用LibAFL-DiFuzz作为有向模糊器和Sydr作为动态符号执行器,在Sydr-Fuzz工具中实现了我们的方法。我们通过Time to Exposure指标评估了我们的方法,并将其与纯LibAFL-DiFuzz、AFLGo、BEACON、WAFLGo、WindRanger、FishFuzz和Prospector进行了比较。结果表明,对于7个示例中的3个,我们的方法在第二好的结果上加速了1.86倍,且在纯LibAFL-DiFuzz模糊器上,有3个示例显著改进。Sydr-Fuzz有向模糊测试混合方法表现出高性能,并有助于提高有向模糊测试的效率。

英文摘要:

Program analysis and automated testing have recently become an essential part of SSDLC. Directed greybox fuzzing is one of the most popular automated testing methods that focuses on error detection in predefined code regions. However, it still lacks ability to overcome difficult program constraints. This problem can be well addressed by symbolic execution, but at the cost of lower performance. Thus, combining directed fuzzing and symbolic execution techniques can lead to more efficient error detection. In this paper, we propose a hybrid approach to directed fuzzing with novel seed scheduling algorithm, based on target-related interestingness and coverage. The approach also performs minimization and sorting of objective seeds according to a target-related information. We implement our approach in Sydr-Fuzz tool using LibAFL-DiFuzz as directed fuzzer and Sydr as dynamic symbolic executor. We evaluate our approach with Time to Exposure metric and compare it with pure LibAFL-DiFuzz, AFLGo, BEACON, WAFLGo, WindRanger, FishFuzz, and Prospector. The results show an improvement for 3 out of 7 examples with speedup up to 1.86 times over the second best result, as well as a significant improvement for 3 out of 7 examples over the pure LibAFL-DiFuzz fuzzer. Sydr-Fuzz hybrid approach to directed fuzzing shows high performance and helps to improve directed fuzzing efficiency.

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

↑