[Paper Review] SmartSeed: Smart Seed Generation for Efficient Fuzzing
SmartSeed proposes a machine learning-based system to generate high-value binary seed files (e.g., MP3, BMP, FLV) for mutation-based fuzzer tools, using a GAN-based model trained on real input formats. It improves fuzzing efficiency by generating diverse, format-compliant seeds in seconds, increasing unique crash discovery by over 200% and path coverage by 5,040 unique paths compared to prior seed selection strategies.
Fuzzing is an automated application vulnerability detection method. For genetic algorithm-based fuzzing, it can mutate the seed files provided by users to obtain a number of inputs, which are then used to test the objective application in order to trigger potential crashes. As shown in existing literature, the seed file selection is crucial for the efficiency of fuzzing. However, current seed selection strategies do not seem to be better than randomly picking seed files. Therefore, in this paper, we propose a novel and generic system, named SmartSeed, to generate seed files towards efficient fuzzing. Specifically, SmartSeed is designed based on a machine learning model to learn and generate high-value binary seeds. We evaluate SmartSeed along with American Fuzzy Lop (AFL) on 12 open-source applications with the input formats of mp3, bmp or flv. We also combine SmartSeed with different fuzzing tools to examine its compatibility. From extensive experiments, we find that SmartSeed has the following advantages: First, it only requires tens of seconds to generate sufficient high-value seeds. Second, it can generate seeds with multiple kinds of input formats and significantly improves the fuzzing performance for most applications with the same input format. Third, SmartSeed is compatible to different fuzzing tools. In total, our system discovers more than twice unique crashes and 5,040 extra unique paths than the existing best seed selection strategy for the evaluated 12 applications. From the crashes found by SmartSeed, we discover 16 new vulnerabilities and have received their CVE IDs.
Motivation & Objective
- To address the inefficiency of existing seed selection strategies in mutation-based fuzzing, which often perform no better than random selection.
- To design a generic, compatible system that automatically generates high-value binary seed files for diverse input formats (e.g., MP3, BMP, FLV).
- To improve fuzzing efficiency by generating seeds that increase code coverage and crash discovery without requiring manual seed curation.
- To demonstrate compatibility with multiple fuzzing tools and robustness across diverse applications.
Proposed method
- SmartSeed employs a Generative Adversarial Network (GAN) to learn the structural and semantic patterns of real binary files from a training set of valid inputs.
- The GAN is trained to generate new binary seeds that are syntactically valid and semantically meaningful, increasing the likelihood of passing format checks and triggering deeper code paths.
- The generator network produces raw binary data, while the discriminator evaluates its realism and format compliance, enabling adversarial training.
- The system is trained on real examples of input formats (e.g., MP3, BMP, FLV), enabling it to generalize across multiple binary formats.
- SmartSeed is designed to be plug-and-play with existing mutation-based fuzzers like AFL, requiring no modification to the fuzzer pipeline.
- The model is fine-tuned using techniques such as gradient descent and loss minimization based on the Wasserstein distance to improve training stability and output quality.
Experimental results
Research questions
- RQ1Can a machine learning-based system generate high-quality binary seed files that significantly improve fuzzing efficiency compared to random or heuristic seed selection?
- RQ2How effective is SmartSeed in generating seeds that trigger unique crashes and code paths across diverse binary input formats?
- RQ3To what extent can SmartSeed be integrated with and enhance the performance of existing mutation-based fuzzing tools?
- RQ4Does SmartSeed outperform state-of-the-art seed generation techniques in terms of crash and path discovery?
Key findings
- SmartSeed generates a sufficient number of high-value binary seeds in under 30 seconds, enabling rapid initialization of fuzzing campaigns.
- When combined with AFL, SmartSeed discovered more than twice as many unique crashes compared to the best existing seed selection strategy.
- SmartSeed increased unique code path coverage by 5,040 paths across 12 evaluated applications, demonstrating strong scalability and effectiveness.
- The system discovered 16 new vulnerabilities in real-world applications, 12 of which were assigned CVE identifiers, validating its practical exploitability.
- SmartSeed demonstrated strong compatibility with multiple fuzzing tools, confirming its generic and extensible design.
- The generated seeds significantly outperformed random seed selection and prior methods in both crash and path discovery, even when using the same underlying fuzzer.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.