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

基于逐步约束聚焦的有向灰盒模糊检测

Directed Greybox Fuzzing with Stepwise Constraint Focusing

Xiaofan Li, Xuan Li, Guangfa Lv, Yongzheng Zhang, Fengyu Wang

摘要:

动态数据流分析已被广泛用于指导灰盒模糊。然而,传统的动态数据流分析在海量路径跟踪中容易误入歧途,需要处理大量数据,导致到达目标位置的效率较低。本文提出了一种基于动态约束过滤与聚焦(CONFF)的有向灰盒模糊器。首先,跟踪所有路径约束,并将优先级高的路径约束筛选为下一个解决方案目标。然后,针对需要满足的单路径约束,通过多字节映射和单字节映射,得到其数据条件,并探索其与输入字节的映射关系。最后,利用各种变异策略求解当前关注的路径约束,通过路径选择逐步逼近程序的目标位置。CONFF模糊器可以更快地到达目标程序中的特定位置,从而有效地触发崩溃。我们设计并实现了一个CONFF模糊器的原型,并使用LAVA-1数据集和一些真实世界的漏洞对其进行了评估。结果表明,CONFF模糊器可以重现LAVA-1数据集上的崩溃和大多数真实世界的漏洞。对于大多数漏洞,与最先进的模糊器相比,CONFF模糊器以显著减少的时间再现了崩溃。平均而言,CONFF模糊器比最先进的基于代码覆盖的模糊器Angora快23.7倍,比经典的有向灰盒模糊器AFLGo快27.3倍。

英文摘要:

Dynamic data flow analysis has been widely used to guide greybox fuzzing. However, traditional dynamic data flow analysis tends to go astray in the massive path tracking and requires to process a large volume of data, resulting in low efficiency in reaching the target location. In this paper, we propose a directed greybox fuzzer based on dynamic constraint filtering and focusing (CONFF). First, all path constraints are tracked, and those with high priority are filtered as the next solution targets. Next, focusing on a single path constraint to be satisfied, we obtain its data condition and probe the mapping relationship between it and the input bytes through multi-byte mapping and single-byte mapping. Finally, various mutation strategies are utilized to solve the path constraint currently focused on, and the target location of the program is gradually approached through path selection. The CONFF fuzzer can reach a specific location faster in the target program, thus efficiently triggering the crash. We designed and implemented a prototype of the CONFF fuzzer and evaluated it with the LAVA-1 dataset and some real-world vulnerabilities. The results show that the CONFF fuzzer can reproduce crashes on the LAVA-1 dataset and most of the real-world vulnerabilities. For most vulnerabilities, the CONFF fuzzer reproduced the crashes with significantly reduced time compared to state-of-the-art fuzzers. On average, the CONFF fuzzer was 23.7x faster than the state-of-the-art code coverage-based fuzzer Angora and 27.3x faster than the classical directed greybox fuzzer AFLGo.

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

↑