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

FrameShift:学习调整模糊测试输入大小而不破坏它们

FrameShift: Learning to Resize Fuzzer Inputs Without Breaking Them

Harrison Green, Claire Le Goues, Fraser Brown

AI总结:

针对覆盖引导模糊测试器因缺乏输入格式知识产生破坏性移码变异的问题,提出轻量级技术FrameShift,通过检测关系字段保留输入结构,在AFL++和LibAFL中实现后使覆盖率提升超50%,还可推广至Rust和Python。

摘要:

覆盖引导模糊测试器是强大的自动化漏洞发现工具。它们对程序输入进行变异,观察覆盖情况,并保存任何命中未探索路径的输入以供未来变异。遗憾的是,由于缺乏输入格式知识——例如格式数据字段与大小之间的关系——模糊测试器容易产生破坏性的移码变异。这些耗时的变异会生成被目标程序拒绝的畸形输入。为避免此类破坏性变异,本文提出一种新颖的轻量级技术,通过检测和使用关系字段在变异期间保留输入结构。我们的技术FrameShift简单、快速,且无需标准覆盖反馈之外的额外插桩。我们在AFL++和LibAFL这两个最先进的模糊测试器中实现该技术,并进行了超过12 CPU年的模糊测试评估,发现FrameShift在每种配置下都能提升模糊测试器的性能,有时覆盖率提升超过50%。此外,通过一系列案例研究,我们表明该技术足够通用,可在多种格式中发现重要的结构关系,甚至能推广到C/C++目标之外的Rust和Python。

英文摘要:

Coverage-guided fuzzers are powerful automated bug-finding tools. They mutate program inputs, observe coverage, and save any input that hits an unexplored path for future mutation. Unfortunately, without knowledge of input formats--for example, the relationship between formats' data fields and sizes--fuzzers are prone to generate destructive frameshift mutations. These time-wasting mutations yield malformed inputs that are rejected by the target program. To avoid such breaking mutations, this paper proposes a novel, lightweight technique that preserves the structure of inputs during mutation by detecting and using relation fields. Our technique, FrameShift, is simple, fast, and does not require additional instrumentation beyond standard coverage feedback. We implement our technique in two state-of-the-art fuzzers, AFL++ and LibAFL, and perform a 12+ CPU-year fuzzer evaluation, finding that FrameShift improves the performance of the fuzzer in each configuration, sometimes increasing coverage by more than 50%. Furthermore, through a series of case studies, we show that our technique is versatile enough to find important structural relationships in a variety of formats, even generalizing beyond C/C++ targets to both Rust and Python.

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

↑