Lune

USENIX Security2020Top-tier venue

MUZZ: Thread-aware Grey-box Fuzzing for Effective Bug Hunting in Multithreaded Programs

Hongxu Chen, Shengjian Guo, Yinxing Xue, Yulei Sui, Cen Zhang, Yuekang Li, Haijun Wang, Yang Liu

Abstract

Grey-box fuzz testing has revealed thousands of vulnerabilities in real-world software owing to its lightweight instrumentation, fast coverage feedback, and dynamic adjusting strategies. However, directly applying grey-box fuzzing to input-dependent multithreaded programs can be extremely inefficient. In practice, multithreading-relevant bugs are usually buried in the sophisticated program flows. Meanwhile, existing grey-box fuzzing techniques do not stress threadinterleavings that affect execution states in multithreaded programs. Therefore, mainstream grey-box fuzzers cannot adequately test problematic segments in multithreaded software, although they might obtain high code coverage statistics.

To this end, we propose MUZZ, a new grey-box fuzzing technique that hunts for bugs in multithreaded programs. MUZZ owns three novel thread-aware instrumentations, namely coverage-oriented instrumentation, thread-context instrumentation, and schedule-intervention instrumentation. During fuzzing, these instrumentations engender runtime feedback to accentuate execution states caused by thread interleavings. By leveraging such feedback in the dynamic seed selection and execution strategies, MUZZ preserves more valuable seeds that expose bugs under a multithreading context.

We evaluate MUZZ on twelve real-world multithreaded programs. Experiments show that MUZZ outperforms AFL in both multithreading-relevant seed generation and concurrency-vulnerability detection. Further, by replaying the target programs against the generated seeds, MUZZ also reveals more concurrency-bugs (e.g., data-races, thread-leaks) than AFL. In total, MUZZ detected eight new concurrencyvulnerabilities and nineteen new concurrency-bugs. At the time of writing, four reported issues have received CVE IDs.

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.

43 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

  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Angora: Efficient Fuzzing by Principled Search
  • QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites APICraft: Fuzz Driver Generation for Closed-source SDK Libraries
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites Angora: Efficient Fuzzing by Principled Search
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites Evaluating Fuzz Testing
  • Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks cites Coverage-based Greybox Fuzzing as Markov Chain
  • SoK: Prudent Evaluation Practices for Fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Windranger: A Directed Greybox Fuzzer driven by Deviation Basic Blocks
  • SoK: Prudent Evaluation Practices for Fuzzing cites Seed selection for successful fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Regression Greybox Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Angora: Efficient Fuzzing by Principled Search
  • SoK: Prudent Evaluation Practices for Fuzzing cites Evaluating Fuzz Testing
  • SoK: Prudent Evaluation Practices for Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Seed selection for successful fuzzing cites QSYM : A Practical Concolic Execution Engine Tailored for Hybrid Fuzzing
  • Seed selection for successful fuzzing cites Evaluating Fuzz Testing
  • Seed selection for successful fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Regression Greybox Fuzzing cites Evaluating Fuzz Testing
  • APICraft: Fuzz Driver Generation for Closed-source SDK Libraries cites Angora: Efficient Fuzzing by Principled Search
  • APICraft: Fuzz Driver Generation for Closed-source SDK Libraries cites Evaluating Fuzz Testing
  • APICraft: Fuzz Driver Generation for Closed-source SDK Libraries cites Coverage-based Greybox Fuzzing as Markov Chain
  • Angora: Efficient Fuzzing by Principled Search cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Angora: Efficient Fuzzing by Principled Search cites Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Evaluating Fuzz Testing cites Angora: Efficient Fuzzing by Principled Search
  • Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Coverage-based Greybox Fuzzing as Markov Chain cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers43

  1. Seed selection for successful fuzzingAdrian Herrera, Hendra Gunadi, Shane Magrath, Michael Norrish et al.ISSTA 2021 · 95 citations
  2. Regression Greybox FuzzingXiaogang Zhu, Marcel BöhmeCCS 2021 · 84 citations
  3. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
  4. Windranger: A Directed Greybox Fuzzer driven by Deviation Basic BlocksZhengjie Du, Yuekang Li, Yang Liu, Bing MaoICSE 2022 · 64 citations
  5. APICraft: Fuzz Driver Generation for Closed-source SDK LibrariesCen Zhang, Xingwei Lin, Yuekang Li, Yinxing Xue et al.USENIX Security 2021 · 64 citations

Builds on14

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher et al.NDSS 2016 · 1,021 citations
  3. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  4. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations
  5. QSYM : A Practical Concolic Execution Engine Tailored for Hybrid FuzzingInsu Yun, Sangho Lee, Meng Xu, Yeongjin Jang et al.USENIX Security 2018 · 537 citations

Related papers

  1. SegFuzz: Segmentizing Thread Interleaving to Discover Kernel Concurrency Bugs through FuzzingDae R. Jeong, Byoungyoung Lee, Insik Shin, Youngjin KwonS&P 2023
  2. Greybox Fuzzing for Concurrency TestingDylan Wolff, Zheng Shi, Gregory J. Duck, Umang Mathur et al.ASPLOS 2024 · 19 citations
  3. Path Transitions Tell More: Optimizing Fuzzing Schedules via Runtime Program StatesKunpeng Zhang, Xi Xiao, Xiaogang Zhu, Ruoxi Sun et al.ICSE 2022 · 25 citations
  4. Context-Sensitive and Directional Concurrency Fuzzing for Data-Race DetectionZu-Ming Jiang, Jia-Ju Bai, Kangjie Lu, Shi-Min HuNDSS 2022
  5. FISHFUZZ: Catch Deeper Bugs by Throwing Larger NetsHan Zheng, Jiayuan Zhang, Yuhang Huang, Zezhong Ren et al.USENIX Security 2023
Dusk over the sea between two cliffs drawn in fine vertical lines