Lune

CCS2017Top-tier venue

Designing New Operating Primitives to Improve Fuzzing Performance

Wen Xu, Sanidhya Kashyap, Changwoo Min, Taesoo Kim

Abstract

Fuzzing is a software testing technique that finds bugs by repeatedly injecting mutated inputs to a target program. Known to be a highly practical approach, fuzzing is gaining more popularity than ever before. Current research on fuzzing has focused on producing an input that is more likely to trigger a vulnerability. In this paper, we tackle another way to improve the performance of fuzzing, which is to shorten the execution time of each iteration. We observe that AFL, a state-of-the-art fuzzer, slows down by 24× because of file system contention and the scalability of fork() system call when it runs on 120 cores in parallel. Other fuzzers are expected to suffer from the same scalability bottlenecks in that they follow a similar design pattern. To improve the fuzzing performance, we design and implement three new operating primitives specialized for fuzzing that solve these performance bottlenecks and achieve scalable performance on multi-core machines. Our experiment shows that the proposed primitives speed up AFL and LibFuzzer by 6.1 to 28.9× and 1.1 to 735.7×, respectively, on the overall number of executions per second when targeting Google's fuzzer test suite with 120 cores. In addition, the primitives improve AFL's throughput up to 7.7× with 30 cores, which is a more common setting in data centers. Our fuzzer-agnostic primitives can be easily applied to any fuzzer with fundamental performance improvement and directly benefit large-scale fuzzing and cloud-based fuzzing services.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

61 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • CollAFL: Path Sensitive Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Ijon: Exploring Deep State Spaces via Fuzzing cites CollAFL: Path Sensitive Fuzzing
  • Ijon: Exploring Deep State Spaces via Fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
  • Ijon: Exploring Deep State Spaces via Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites CollAFL: Path Sensitive Fuzzing
  • REDQUEEN: Fuzzing with Input-to-State Correspondence cites Coverage-based Greybox Fuzzing as Markov Chain
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites CollAFL: Path Sensitive Fuzzing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites Evaluating Fuzz Testing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers61

  1. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  2. CollAFL: Path Sensitive FuzzingShuitao Gan, Chao Zhang, Xiaojun Qin, Xuwen Tu et al.S&P 2018 · 426 citations
  3. REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations
  4. Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided TracingStefan Nagy, Matthew HicksS&P 2019 · 156 citations
  5. Ijon: Exploring Deep State Spaces via FuzzingCornelius Aschermann, Sergej Schumilo, Ali Abbasi, Thorsten HolzS&P 2020 · 146 citations

Builds on2

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 citations

Related papers

  1. Profile-guided System Optimizations for Accelerated Greybox FuzzingYunhang Zhang, Chengbin Pang, Stefan Nagy, Xun Chen et al.CCS 2023 · 7 citations
  2. LibAFL: A Framework to Build Modular and Reusable FuzzersAndrea Fioraldi, Dominik Christian Maier, Dongjia Zhang, Davide BalzarottiCCS 2022 · 71 citations
  3. Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu et al.ASE 2020 · 35 citations
  4. So Many Fuzzers, So Little Time✱: Experience from Evaluating Fuzzers on the Contiki-NG Network (Hay)StackClement Poncelet, Konstantinos Sagonas, Nicolas TsiftesASE 2022 · 5 citations
  5. UNIFUZZ: A Holistic and Pragmatic Metrics-Driven Platform for Evaluating FuzzersYuwei Li, Shouling Ji, Yuan Chen, Sizhuang Liang et al.USENIX Security 2021 · 142 citations
Dusk over the sea between two cliffs drawn in fine vertical lines