Abstract
Modern security testing relies heavily on fuzzing, yet the proliferation of specialized fuzzers has created a significant "selection burden." No single fuzzer excels across all targets or throughout the entire duration of a fuzzing campaign. This paper presents autofz, an automated, non-intrusive meta-fuzzer that dynamically composes and schedules multiple fuzzers at runtime. By monitoring the real-time progress of individual tools using a unified metric, autofz shifts computational resources toward the most productive fuzzers for a specific target. Our evaluation on industry-standard benchmarks demonstrates that autofz significantly outperforms both individual state-of-the-art fuzzers and existing collaborative ensembles in code coverage and bug discovery.
Introduction
Fuzzing has evolved from simple random input generation into a sophisticated field of specialized tools. Some fuzzers utilize symbolic execution to navigate complex logic, while others prioritize high-throughput execution to explore shallow code paths. However, this diversity presents a challenge for practitioners: which fuzzer is best for a given program?
Existing approaches to this "selection burden" typically involve manual selection, static ensembles, or collaborative frameworks that require expensive offline pre-training. These methods often fail because they do not account for the dynamic nature of fuzzing. A fuzzer’s effectiveness is not just target-dependent but also time-dependent—a phenomenon known as "rank inversion," where the best tool for the first hour of a campaign may be surpassed by another as the search space deepens. autofz addresses these challenges by treating fuzzer selection as a dynamic scheduling problem resolved at runtime.
Methodology
autofz is designed as a non-intrusive wrapper that manages a pool of existing state-of-the-art fuzzers (e.g., AFL, Angora, QSYM). It operates through a continuous two-phase execution loop:
1. Preparation Phase
In this phase, autofz runs all available fuzzers for short, synchronized intervals. To ensure a fair comparison, it translates the disparate internal metrics of various fuzzers into a unified metric: the AFL bitmap. By re-evaluating all generated seeds against this standard, autofz calculates a "trend"—the rate of new code coverage—for each tool. To minimize resource waste, autofz employs an Additive-Increase/Multiplicative-Decrease (AIMD) inspired threshold to exit this phase early if a clear performance leader emerges.
2. Focus Phase
Using the trends captured during preparation, autofz allocates the remaining CPU budget to the top-performing fuzzers. If one fuzzer is significantly outperforming the rest, autofz may allocate all resources to it; otherwise, resources are distributed proportionally among the leaders. This allows the system to adapt to the specific "bottlenecks" of a target program in real-time.
Because autofz treats underlying fuzzers as black boxes, it is highly extensible. Integrating a new fuzzer requires an average of only 126 lines of code, as the system only needs to observe the output seeds to calculate coverage trends.
Evaluation
We evaluated autofz against 12 state-of-the-art individual fuzzers and two prominent collaborative frameworks (ENFUZZ and CUPID) using two major datasets:
- UNIFUZZ: A suite of real-world programs including
exiv2,ffmpeg, andtcpdump. - Fuzzer Test Suite (FTS): A collection of programs with known vulnerabilities maintained by Google.
Key Findings
- Dynamic Adaptation: Our results confirm that rank inversion is a frequent occurrence. For instance, in the
exiv2benchmark, Angora initially leads in coverage, but is eventually overtaken by LAF-INTEL and Redqueen.autofzsuccessfully detected these shifts and reallocated resources accordingly. - Superior Performance:
autofzoutperformed the best individual fuzzer in 11 out of 12 benchmarks and surpassed state-of-the-art collaborative ensembles in 19 out of 20 cases. - Bug Discovery: On the UNIFUZZ dataset,
autofzfound 152% more bugs than individual fuzzers and 415% more bugs than existing collaborative frameworks. This suggests that runtime trends are a far more reliable signal for resource allocation than the historical or offline data used by previous ensembles.
Discussion and Limitations
While autofz demonstrates the power of dynamic scheduling, it is currently limited by its reliance on path coverage (AFL bitmap) as the primary progress metric. This may disadvantage fuzzers optimized for specific goals, such as memory corruption detection, that do not necessarily result in new code paths.
Additionally, the "Preparation Phase" incurs a "bad fuzzer tax"—resources spent running ineffective tools to measure their performance. Future iterations of autofz could implement a permanent pruning strategy to drop fuzzers that consistently fail to contribute to a specific target, further optimizing resource utilization.
Conclusion
autofz demonstrates that the most effective way to handle fuzzer diversity is not to pick a winner beforehand, but to let the fuzzers compete in real-time. By automating the composition and scheduling of tools, autofz removes the selection burden from the user and achieves significantly higher efficiency in both code exploration and vulnerability detection.
Summary updated