Skip to main content
QUICK REVIEW

[Paper Review] Angora: Efficient Fuzzing by Principled Search

Peng Chen, Hao Chen|arXiv (Cornell University)|Mar 4, 2018
Software Testing and Debugging TechniquesComputer Science20 citations
TL;DR

Angora is a high-performance mutation-based fuzzer that improves branch coverage by solving path constraints without symbolic execution, using scalable byte-level taint tracking, context-sensitive branch counting, gradient descent-based search, type/shape inference, and input length exploration. It outperforms state-of-the-art fuzzers, finding 103 previously undetected bugs in LAVA-M and 175 new bugs across eight mature open-source programs.

ABSTRACT

Fuzzing is a popular technique for finding software bugs. However, the performance of the state-of-the-art fuzzers leaves a lot to be desired. Fuzzers based on symbolic execution produce quality inputs but run slow, while fuzzers based on random mutation run fast but have difficulty producing quality inputs. We propose Angora, a new mutation-based fuzzer that outperforms the state-of-the-art fuzzers by a wide margin. The main goal of Angora is to increase branch coverage by solving path constraints without symbolic execution. To solve path constraints efficiently, we introduce several key techniques: scalable byte-level taint tracking, context-sensitive branch count, search based on gradient descent, and input length exploration. On the LAVA-M data set, Angora found almost all the injected bugs, found more bugs than any other fuzzer that we compared with, and found eight times as many bugs as the second-best fuzzer in the program who. Angora also found 103 bugs that the LAVA authors injected but could not trigger. We also tested Angora on eight popular, mature open source programs. Angora found 6, 52, 29, 40 and 48 new bugs in file, jhead, nm, objdump and size, respectively. We measured the coverage of Angora and evaluated how its key techniques contribute to its impressive performance.

Motivation & Objective

  • To address the scalability and effectiveness gap in coverage-guided fuzzing by enabling efficient constraint solving without symbolic execution.
  • To improve branch coverage by incorporating context sensitivity and precise taint tracking at the byte level.
  • To develop a search strategy that efficiently satisfies complex path constraints using gradient descent, avoiding the performance bottlenecks of symbolic execution.
  • To enable automatic input length adaptation to trigger path conditions dependent on input size.
  • To evaluate the fuzzer on both synthetic benchmarks (LAVA-M) and real-world open-source software, demonstrating superior vulnerability discovery.

Proposed method

  • Employs scalable byte-level taint tracking to identify input bytes that influence specific conditional branches, reducing the search space to only relevant bytes.
  • Uses context-sensitive branch counting to distinguish between different program execution contexts, improving state coverage accuracy.
  • Applies gradient descent-based search to mutate input bytes in a principled way to satisfy path constraints, replacing expensive symbolic execution.
  • Infers data types and shapes (e.g., 32-bit integers from 4-byte sequences) to guide mutation and improve search efficiency.
  • Dynamically explores input length by detecting when length affects path constraints and increasing input size accordingly.
  • Integrates all techniques into a mutation-based fuzzer that maintains low runtime overhead while maximizing code coverage.

Experimental results

Research questions

  • RQ1Can a mutation-based fuzzer achieve high branch coverage without relying on symbolic execution?
  • RQ2How effective is context-sensitive branch counting in improving state exploration compared to context-insensitive approaches?
  • RQ3Can gradient descent-based search efficiently satisfy complex path constraints that symbolic execution struggles with?
  • RQ4To what extent do type/shape inference and input length adaptation improve fuzzing effectiveness?
  • RQ5How does the proposed fuzzer compare to state-of-the-art tools in real-world vulnerability discovery?

Key findings

  • On the LAVA-M benchmark, Angora found 1,541 bugs in the 'who' program, which is eight times more than the second-best fuzzer, Steelix.
  • Angora discovered 103 bugs in the LAVA-M dataset that were injected by authors but could not be triggered by any prior fuzzer.
  • In eight mature open-source programs, Angora uncovered 6 new bugs in 'file', 52 in 'jhead', 29 in 'nm', 40 in 'objdump', and 48 in 'size'.
  • The fuzzer achieved significantly higher code coverage than AFL, VUzzer, Steelix, and other state-of-the-art tools across all benchmarks.
  • Ablation studies confirmed that each key technique—especially gradient descent and byte-level taint tracking—contributed substantially to performance gains.
  • The combination of context-sensitive coverage, taint tracking, and input length adaptation enabled Angora to explore deeper and more diverse program states than existing tools.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.