Skip to main content
QUICK REVIEW

[Paper Review] TOFU: Target-Orienter FUzzer.

Zi Wang, Ben Liblit|arXiv (Cornell University)|Apr 29, 2020
Software Testing and Debugging TechniquesComputer Science29 references9 citations
TL;DR

TOFU is a target-oriented fuzzer that accelerates directed fuzzing by combining a distance metric to guide inputs toward specific program locations and awareness of input structure. It achieves 28% faster target discovery and 45% higher target coverage than AFLGo on xmllint, demonstrating the effectiveness of both distance guidance and structural input awareness.

ABSTRACT

Program fuzzing---providing randomly constructed inputs to a computer program---has proved to be a powerful way to uncover bugs, find security vulnerabilities, and generate test inputs that increase code coverage. In many applications, however, one is interested in a target-oriented approach-one wants to find an input that causes the program to reach a specific target point in the program. We have created TOFU (for Target-Oriented FUzzer) to address the directed fuzzing problem. TOFU's search is biased according to a distance metric that scores each input according to how close the input's execution trace gets to the target locations. TOFU is also input-structure aware (i.e., the search makes use of a specification of a superset of the program's allowed inputs). Our experiments on xmllint show that TOFU is 28% faster than AFLGo, while reaching 45% more targets. Moreover, both distance-guided search and exploitation of knowledge of the input structure contribute significantly to TOFU's performance.

Motivation & Objective

  • To address the directed fuzzing problem by enabling efficient discovery of inputs that reach specific target program locations.
  • To improve upon existing fuzzers by incorporating a distance metric that quantifies proximity of execution traces to target points.
  • To enhance fuzzing efficiency by leveraging structural knowledge of valid inputs, such as grammar or format specifications.
  • To evaluate the combined impact of distance-guided search and input structure awareness on target discovery performance.

Proposed method

  • TOFU uses a distance metric to score each input based on how close its execution trace is to the target program locations.
  • The fuzzer employs a genetic algorithm that prioritizes inputs with lower distance scores to guide the search toward target locations.
  • TOFU integrates a parser or structure-aware model to validate and generate inputs that conform to a superset of the program's allowed input formats.
  • It combines symbolic execution and dynamic taint analysis to track execution paths and compute distance scores efficiently.
  • The fuzzer evolves inputs through mutation and crossover, favoring those that reduce distance to the target while maintaining syntactic validity.

Experimental results

Research questions

  • RQ1How does distance-guided search improve the efficiency of reaching target program locations in fuzzing?
  • RQ2To what extent does input structure awareness enhance target discovery in directed fuzzing?
  • RQ3How do the combination of distance guidance and structural awareness compare to state-of-the-art approaches like AFLGo?
  • RQ4What is the performance gain in terms of speed and coverage when using TOFU on real-world programs?

Key findings

  • TOFU achieves 28% faster target discovery compared to AFLGo on the xmllint program.
  • TOFU reaches 45% more target locations than AFLGo, indicating superior code coverage in directed fuzzing.
  • Both distance-guided search and input structure awareness contribute significantly to TOFU's performance improvement.
  • The integration of structural input knowledge reduces the number of invalid or irrelevant inputs, improving search efficiency.

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.