Lune

USENIX ATC2021顶会

RIFF: Reduced Instruction Footprint for Coverage-Guided Fuzzing

Mingzhe Wang, Jie Liang, Chijin Zhou, Yu Jiang, Rui Wang, Chengnian Sun, Jiaguang Sun

摘要

Coverage-guided fuzzers use program coverage measurements to explore different program paths efficiently. The coverage pipeline consists of runtime collection and postexecution processing procedures. First, the target program executes instrumentation code to collect coverage information. Then the fuzzer performs an expensive analysis on the collected data, yet most program executions lead to no increases in coverage. Inefficient implementations of these steps significantly reduce the fuzzer's overall throughput.

In this paper, we propose RIFF, a highly efficient program coverage measurement mechanism to reduce fuzzing overhead. For the target program, RIFF moves computations originally done at runtime to instrumentation-time through static program analysis, thus reducing instrumentation code to a bare minimum. For the fuzzer, RIFF processes coverage with different levels of granularity and utilizes vector instructions to improve throughput.

We implement RIFF in state-of-the-art fuzzers such as AFL and MOpt and evaluate its performance on real-world programs in Google's FuzzBench and fuzzer-test-suite. The results show that RIFF improves coverage measurement efficiency of fuzzers by 23× and 6× during runtime collection and post-execution processing, respectively. As a result, the fuzzers complete 147% more executions, and use only 6.53 hours to reach the 24-hour coverage of baseline fuzzers on average.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Angora: Efficient Fuzzing by Principled Search
  • CollAFL: Path Sensitive Fuzzing 引用了 Designing New Operating Primitives to Improve Fuzzing Performance
  • CollAFL: Path Sensitive Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Finding Correctness Bugs in eBPF Verifier with Structured and Sanitized Program 引用了 KSG: Augmenting Kernel Fuzzing with System Call Specification Generation
  • Finding Correctness Bugs in eBPF Verifier with Structured and Sanitized Program 引用了 Angora: Efficient Fuzzing by Principled Search
  • KSG: Augmenting Kernel Fuzzing with System Call Specification Generation 引用了 Angora: Efficient Fuzzing by Principled Search
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 CollAFL: Path Sensitive Fuzzing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Designing New Operating Primitives to Improve Fuzzing Performance
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Angora: Efficient Fuzzing by Principled Search
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Designing New Operating Primitives to Improve Fuzzing Performance 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Angora: Efficient Fuzzing by Principled Search 引用了 Coverage-based Greybox Fuzzing as Markov Chain
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper17

  1. KSG: Augmenting Kernel Fuzzing with System Call Specification GenerationHao Sun, Yuheng Shen, Jianzhong Liu, Yiru Xu 等USENIX ATC 2022 · 45 次引用
  2. EAGLE: Creating Equivalent Graphs to Test Deep Learning LibrariesJiannan Wang, Thibaud Lutellier, Shangshu Qian, Hung Viet Pham 等ICSE 2022 · 31 次引用
  3. Sequence-Oriented DBMS FuzzingJie Liang, Yaoguang Chen, Zhiyong Wu, Jingzhou Fu 等ICDE 2023 · 29 次引用
  4. Finding Correctness Bugs in eBPF Verifier with Structured and Sanitized ProgramHao Sun, Yiru Xu, Jianzhong Liu, Yuheng Shen 等EuroSys 2024 · 24 次引用
  5. Minerva: browser API fuzzing with dynamic mod-ref analysisChijin Zhou, Quan Zhang, Mingzhe Wang, Lihua Guo 等FSE 2022 · 20 次引用

它引用的 Paper9

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
  2. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
  3. CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu 等S&P 2018 · 426 次引用
  4. Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided TracingStefan Nagy, Matthew HicksS&P 2019 · 156 次引用
  5. Designing New Operating Primitives to Improve Fuzzing PerformanceWen Xu, Sanidhya Kashyap, Changwoo Min, Taesoo KimCCS 2017 · 139 次引用

相关 Paper

  1. Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu 等ASE 2020 · 35 次引用
  2. Breaking Through Binaries: Compiler-quality Instrumentation for Better Binary-only FuzzingStefan Nagy, Anh Nguyen-Tuong, Jason D. Hiser, Jack W. Davidson 等USENIX Security 2021 · 65 次引用
  3. Same Coverage, Less Bloat: Accelerating Binary-only Fuzzing with Coverage-preserving Coverage-guided TracingStefan Nagy, Anh Nguyen-Tuong, Jason D. Hiser, Jack W. Davidson 等CCS 2021 · 21 次引用
  4. Accelerating Fuzzing through Prefix-Guided ExecutionShaohua Li, Zhendong SuOOPSLA 2023 · 21 次引用
  5. Odin: on-demand instrumentation with on-the-fly recompilationMingzhe Wang, Jie Liang, Chijin Zhou, Zhiyong Wu 等PLDI 2022 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖