MTFuzz: fuzzing with a multi-task neural network
Dongdong She, Rahul Krishna, Lu Yan, Suman Jana, Baishakhi Ray
Abstract
Fuzzing is a widely used technique for detecting software bugs and vulnerabilities. Most popular fuzzers generate new inputs using an evolutionary search to maximize code coverage. Essentially, these fuzzers start with a set of seed inputs, mutate them to generate new inputs, and identify the promising inputs using an evolutionary fitness function for further mutation.
Despite their success, evolutionary fuzzers tend to get stuck in long sequences of unproductive mutations. In recent years, machine learning (ML) based mutation strategies have reported promising results. However, the existing ML-based fuzzers are limited by the lack of quality and diversity of the training data. As the input space of the target programs is high dimensional and sparse, it is prohibitively expensive to collect many diverse samples demonstrating successful and unsuccessful mutations to train the model.
In this paper, we address these issues by using a Multi-Task Neural Network that can learn a compact embedding of the input space based on diverse training samples for multiple related tasks (i.e., predicting for different types of coverage). The compact embedding can guide the mutation process by focusing most of the mutations on the parts of the embedding where the gradient is high. MTFuzz uncovers 11 previously unseen bugs and achieves an average of 2× more edge coverage compared with 5 state-of-the-art fuzzer on 10 real-world programs.
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.
23 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source cites Coverage-based Greybox Fuzzing as Markov Chain
- SoK: Prudent Evaluation Practices for Fuzzing cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
- SoK: Prudent Evaluation Practices for Fuzzing cites ProFuzzer: On-the-fly Input Type Probing for Better Zero-Day Vulnerability Discovery
- SoK: Prudent Evaluation Practices for Fuzzing cites REDQUEEN: Fuzzing with Input-to-State Correspondence
- SoK: Prudent Evaluation Practices for Fuzzing cites Angora: Efficient Fuzzing by Principled Search
- SoK: Prudent Evaluation Practices for Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- ProFuzzer: On-the-fly Input Type Probing for Better Zero-Day Vulnerability Discovery cites Angora: Efficient Fuzzing by Principled Search
- ProFuzzer: On-the-fly Input Type Probing for Better Zero-Day Vulnerability Discovery cites Coverage-based Greybox Fuzzing as Markov Chain
- PMFuzz: test case generation for persistent memory programs cites Coverage-based Greybox Fuzzing as Markov Chain
- REDQUEEN: Fuzzing with Input-to-State Correspondence cites Angora: Efficient Fuzzing by Principled Search
- REDQUEEN: Fuzzing with Input-to-State Correspondence cites Coverage-based Greybox Fuzzing as Markov Chain
- One Fuzzing Strategy to Rule Them All cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
- One Fuzzing Strategy to Rule Them All cites Angora: Efficient Fuzzing by Principled Search
- One Fuzzing Strategy to Rule Them All cites Coverage-based Greybox Fuzzing as Markov Chain
- Fuzzing deep-learning libraries via automated relational API inference cites Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open Source
- Fuzzing deep-learning libraries via automated relational API inference cites ProFuzzer: On-the-fly Input Type Probing for Better Zero-Day Vulnerability Discovery
- Fuzzing deep-learning libraries via automated relational API inference cites Coverage-based Greybox Fuzzing as Markov Chain
- Angora: Efficient Fuzzing by Principled Search cites Coverage-based Greybox Fuzzing as Markov Chain
Cited by top-tier papers23
- Free Lunch for Testing: Fuzzing Deep-Learning Libraries from Open SourceAnjiang Wei, Yinlin Deng, Chenyuan Yang, Lingming ZhangICSE 2022 · 91 citations
- Fuzzing deep-learning libraries via automated relational API inferenceYinlin Deng, Chenyuan Yang, Anjiang Wei, Lingming ZhangFSE 2022 · 83 citations
- SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
- One Fuzzing Strategy to Rule Them AllMingyuan Wu, Ling Jiang, Jiahong Xiang, Yanwei Huang et al.ICSE 2022 · 64 citations
- PMFuzz: test case generation for persistent memory programsSihang Liu, Suyash Mahar, Baishakhi Ray, Samira Manabi KhanASPLOS 2021 · 36 citations
Builds on8
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
- Which Tasks Should Be Learned Together in Multi-task Learning?Trevor Standley, Amir Zamir, Dawn Chen, Leonidas J. Guibas et al.ICML 2020 · 651 citations
- Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations
- REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik et al.NDSS 2019 · 413 citations
- ProFuzzer: On-the-fly Input Type Probing for Better Zero-Day Vulnerability DiscoveryWei You, Xueqiang Wang, Shiqing Ma, Jianjun Huang et al.S&P 2019 · 130 citations
Related papers
- NEUZZ: Efficient Fuzzing with Neural Program SmoothingDongdong She, Kexin Pei, Dave Epstein, Junfeng Yang et al.S&P 2019 · 220 citations
- Evaluating and Improving Neural Program-Smoothing-based FuzzingMingyuan Wu, Ling Jiang, Jiahong Xiang, Yuqun Zhang et al.ICSE 2022 · 22 citations
- IDFuzz: Intelligent Directed Grey-box FuzzingYiyang Chen, Chao Zhang, Long Wang, Wenyu Zhu et al.USENIX Security 2025
- Revisiting Neural Program Smoothing for FuzzingMaria-Irina Nicolae, Max Eisele, Andreas ZellerFSE 2023 · 5 citations
- T-Fuzz: Fuzzing by Program TransformationHui Peng, Yan Shoshitaishvili, Mathias PayerS&P 2018 · 326 citations
