[Paper Review] Compositional Fuzzing Aided by Targeted Symbolic Execution
Wildfire is a novel compositional fuzzing framework that combines automated seed generation, coverage-guided fuzzing on isolated functions, and targeted symbolic execution to identify and validate exploitable vulnerabilities. It achieves higher vulnerability detection rates than state-of-the-art tools in 10% of the time by enabling deep code coverage and compositional feasibility analysis, while reducing false positives through precise call-chain validation.
Guided fuzzing has, in recent years, been able to uncover many new vulnerabilities in real-world software due to its fast input mutation strategies guided by path-coverage. However, most fuzzers are unable to achieve high coverage in deeper parts of programs. Moreover, fuzzers heavily rely on the diversity of the seed inputs, often manually provided, to be able to produce meaningful results. In this paper, we present Wildfire, a novel open-source compositional fuzzing framework. Wildfire finds vulnerabilities by fuzzing isolated functions in a C-program and, then, using targeted symbolic execution it determines the feasibility of exploitation for these vulnerabilities. Based on our evaluation of 23 open-source programs (nearly 1 million LOC), we show that Wildfire, as a result of the increased coverage, finds more true-positives than baseline symbolic execution and fuzzing tools, as well as state-of-the-art coverage-guided tools, in only 10% of the analysis time taken by them. Additionally, Wildfire finds many other potential vulnerabilities whose feasibility can be determined compositionally to confirm if they are false-positives. Wildfire could also reproduce all of the known vulnerabilities and found several previously-unknown vulnerabilities in three open-source libraries.
Motivation & Objective
- To address the limited code coverage of state-of-the-art fuzzers in deep, hard-to-reach functions of large C programs.
- To overcome the path-explosion problem in symbolic execution by applying compositional analysis to isolated functions.
- To reduce false positives in vulnerability detection by validating exploitability through calling context analysis.
- To improve scalability and efficiency by leveraging parallel execution across multiple cores.
- To enable automated, seed-free fuzzing of previously unknown programs through intelligent driver generation.
Proposed method
- Automatically generates seed inputs for any isolated function in a C program, even without prior knowledge of the input format.
- Employs coverage-guided fuzzing on isolated functions to maximize code coverage, including deep call-graph paths.
- Summarizes discovered vulnerabilities by replacing functions with their summaries, enabling compositional analysis.
- Applies targeted symbolic execution to verify whether vulnerabilities in isolated functions can be triggered by parent (calling) functions.
- Uses instruction-level distance metrics in LLVM bitcode, including inline functions and return addresses, to improve symbolic execution precision.
- Recursively analyzes the call graph from the bottom up, validating exploitability chains up to the main function.
Experimental results
Research questions
- RQ1Can compositional fuzzing significantly improve code coverage in deep, hard-to-reach functions compared to traditional fuzzing?
- RQ2Can targeted symbolic execution effectively validate the exploitability of vulnerabilities found via fuzzing in isolated functions?
- RQ3Does combining fuzzing with compositional symbolic execution reduce false positives while maintaining or improving vulnerability detection rates?
- RQ4Can the framework achieve higher performance and scalability through parallelization and automated seed generation?
- RQ5How does the proposed approach compare in efficiency and effectiveness to state-of-the-art symbolic execution and fuzzing tools?
Key findings
- Wildfire found more true-positive vulnerabilities than baseline symbolic execution and fuzzing tools, and outperformed state-of-the-art coverage-guided tools in only 10% of the analysis time.
- In evaluations on 23 open-source programs (nearly 1 million lines of code), Wildfire achieved higher code coverage and discovered more exploitable vulnerabilities than existing tools.
- Wildfire reproduced 15 out of 16 known vulnerabilities in three open-source libraries, demonstrating strong recall and practical applicability.
- The framework discovered several previously unknown vulnerabilities in real-world libraries, validating its effectiveness in real-world settings.
- Compositional analysis enabled precise reporting of exploitability chains, significantly reducing false positives by confirming feasibility through calling context.
- The integration of targeted symbolic execution with fuzzing, enhanced by improved distance metrics in LLVM bitcode, led to more accurate and scalable vulnerability validation.
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.