面向路径多样性的无偏多目标模糊测试
Toward Unbiased Multiple-Target Fuzzing with Path Diversity
AI总结:
本文提出AFLRun定向模糊测试方案,通过目标路径多样性度量和无偏能量分配策略提升多目标模糊测试的公平性与效率,在漏洞检测数量和速度上超越现有工具,并发现29个新漏洞(含8个CVE)。
摘要:
本文提出了一种名为AFLRun的新型定向模糊测试解决方案,其特点是目标路径多样性度量和无偏能量分配。首先,我们开发了一种新的覆盖率度量方法,通过为每个已覆盖目标维护额外的virgin map来跟踪命中该目标的种子的覆盖状态。该方法能够将那些通过有趣路径命中目标的路径点存储到语料库中,从而丰富每个目标的路径多样性。此外,我们提出了一种语料库级别的能量分配策略,以保证每个目标的公平性。AFLRun从统一的目标权重开始,并将该权重传播给种子,以获得期望的种子权重分布。通过根据这种期望分布为语料库中的每个种子分配能量,可以实现精确且无偏的能量分配。我们构建了一个原型系统,并使用标准基准和多个经过广泛模糊测试的真实应用程序评估了其性能。评估结果表明,AFLRun在漏洞检测的数量和速度方面均优于最先进的模糊测试工具。此外,AFLRun在四个不同的程序中发现了29个此前未识别的漏洞,其中包括8个CVE。
英文摘要:
In this paper, we propose a novel directed fuzzing solution named AFLRun, which features target path-diversity metric and unbiased energy assignment. Firstly, we develop a new coverage metric by maintaining extra virgin map for each covered target to track the coverage status of seeds that hit the target. This approach enables the storage of waypoints into the corpus that hit a target through interesting path, thus enriching the path diversity for each target. Additionally, we propose a corpus-level energy assignment strategy that guarantees fairness for each target. AFLRun starts with uniform target weight and propagates this weight to seeds to get a desired seed weight distribution. By assigning energy to each seed in the corpus according to such desired distribution, a precise and unbiased energy assignment can be achieved. We built a prototype system and assessed its performance using a standard benchmark and several extensively fuzzed real-world applications. The evaluation results demonstrate that AFLRun outperforms state-of-the-art fuzzers in terms of vulnerability detection, both in quantity and speed. Moreover, AFLRun uncovers 29 previously unidentified vulnerabilities, including 8 CVEs, across four distinct programs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。