Abstract
Existing Greybox Fuzzers (GF) cannot be effectively directed, for instance, towards problematic changes or patches, towards critical system calls or dangerous locations, or towards functions in the stacktrace of a reported vulnerability that we wish to reproduce. In this paper, we introduce Directed Greybox Fuzzing (DGF) which generates inputs with the objective of reaching a given set of target program locations efficiently. We develop and evaluate a simulated annealing-based power schedule that gradually assigns more energy to seeds that are closer to the target locations while reducing energy for seeds that are further away. Experiments with our implementation AFLGo demonstrate that DGF outperforms both directed symbolic-execution-based whitebox fuzzing and undirected greybox fuzzing. We show applications of DGF to patch testing and crash reproduction, and discuss the integration of AFLGo into Google's continuous fuzzing platform OSS-Fuzz. Due to its directedness, AFLGo could find 39 bugs in several well-fuzzed, security-critical projects like LibXML2. 17 CVEs were assigned.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security |
Editors | David Evans, Tal Maklin, Dongyan Xu |
Place of Publication | New York NY USA |
Publisher | Association for Computing Machinery (ACM) |
Pages | 2329-2344 |
Number of pages | 16 |
ISBN (Electronic) | 9781450349468 |
DOIs | |
Publication status | Published - 2017 |
Externally published | Yes |
Event | ACM Conference on Computer and Communications Security 2017 - Hotel Sheraton Downtown Dallas, Dallas, United States of America Duration: 30 Oct 2017 → 3 Nov 2017 Conference number: 24th https://ccs2017.sigsac.org/ (Conference website) |
Conference
Conference | ACM Conference on Computer and Communications Security 2017 |
---|---|
Abbreviated title | CCS 2017 |
Country/Territory | United States of America |
City | Dallas |
Period | 30/10/17 → 3/11/17 |
Internet address |
|
Keywords
- Coverage-based greybox fuzzing
- Crash reproduction
- Directed testing
- Patch testing
- Reachability
- Verifying true positives