The importance of addressing security vulnerabilities is indisputable, with software becoming crucial in sectors such as national defense and finance. Consequently, The security issues caused by software vulnerabilities cannot be ignored. Fuzz testing is an automated software testing technology that can detect vulnerabilities in the software. However, most previous fuzzers encounter challenges that fuzzing performance is sensitive to initial input seeds. In the absence of high-quality initial input seeds, fuzzers may expend significant resources on program path exploration, leading to a substantial decrease in the efficiency of vulnerability detection. To address this issue, we propose WGAN-AFL. By collecting high-quality testcases, we train a generative adversarial network (GAN) to learn their features, thereby obtaining high-quality initial input seeds. To overcome drawbacks like mode collapse and training instability inherent in GANs, we utilize the Wasserstein GAN (WGAN) architecture for training, further enhancing the quality of the generated seeds. Experimental results demonstrate that WGAN-AFL significantly outperforms the original AFL in terms of code coverage, new paths, and vulnerability discovery, demonstrating the effective enhancement of seed quality by WGAN-AFL.
Corpus Distillation for Effective Fuzzing: A Comparative Evaluation
基于变异的模糊化通常使用一组初始的非崩溃种子输入(语料库),通过变异来生成新的输入。潜在种子的语料库通常包含数千个类似的输入。这种多样性的缺乏可能导致从所有可用种子中进行穷举突变而浪费模糊努力。为了解决这个问题,模糊器带有蒸馏工具(例如,AFL-Cmin),其选择触发与完整语料库相同的检测数据点范围的种子的最小子集。通常的做法表明,最小化种子的数量和累积大小会导致更有效的模糊,我们系统地探索。我们提出了34+ CPU-年的模糊结果与五种蒸馏方法,以了解它们在现实世界的软件中发现错误的影响。我们评估了一些技术,包括现有的afl-cmin和Minset,以及MoonLight-一个免费提供的,可配置的,最先进的,开源的工具。我们的实验比较了蒸馏方法的有效性,目标是Google Fuzzer Test Suite和一组不同的六个真实世界的库和程序,涵盖了16个程序中的13种不同的输入文件格式。我们的研究结果表明,蒸馏是一个必要的前兆,任何模糊运动时,开始与一个大的初始语料库。我们比较了替代蒸馏方法的有效性。值得注意的是,我们的实验表明,最先进的蒸馏工具(如MoonLight和Minset)并不能完全找到我们的综合活动暴露的所有33个bug(在现实世界的目标中):每种技术似乎都有自己的优势。我们发现(并报告)Minset没有发现的MoonLight的新错误,反之亦然。此外,afl-cmin…