Evaluating and Improving Neural Program-Smoothing-based Fuzzing
Mingyuan Wu, Ling Jiang, Jiahong Xiang, Yuqun Zhang, Guowei Yang, Huixin Ma, Sen Nie, Shi Wu, Heming Cui, Lingming Zhang
Abstract
Fuzzing nowadays has been commonly modeled as an optimization problem, e.g., maximizing code coverage under a given time budget via typical search-based solutions such as evolutionary algorithms. However, such solutions are widely argued to cause inefficient computing resource usage, i.e., inefficient mutations. To address this issue, two neural program-smoothing-based fuzzers, Neuzz and MTFuzz, have been recently proposed to approximate program branching behaviors via neural network models, which input byte sequences of a seed and output vectors representing program branching behaviors. Moreover, assuming that mutating the bytes with larger gradients can better explore branching behaviors, they develop strategies to mutate such bytes for generating new seeds as test cases. Meanwhile, although they have been shown to be effective in the original papers, they were only evaluated upon a limited dataset. In addition, it is still unclear how their key technical components and whether other factors can impact fuzzing performance. To further investigate neural program-smoothing-based fuzzing, we first construct a large-scale benchmark suite with a total of 28 popular open-source projects. Then, we extensively evaluate Neuzz and MTFuzz on such benchmarks. The evaluation results suggest that their edge coverage performance can be unstable. Moreover, neither neural network models nor mutation strategies can be consistently effective, and the power of their gradient-guidance mechanisms have been compromised. Inspired by such findings, we propose a simplistic technique, PreFuzz, which improves neural program-smoothing-based fuzzers with a resource-efficient edge selection mechanism to enhance their gradient guidance and a probabilistic byte selection mechanism to further boost mutation effectiveness. Our evaluation results indicate that PreFuzz can significantly increase the edge coverage of Neuzz/MTFuzz, and also reveal multiple practical guidelines to advance future research on neural program-smoothing-based fuzzing.
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.
14 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
- VUzzer: Application-aware Evolutionary Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? cites Evaluating and Improving Hybrid Fuzzing
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We? cites One Fuzzing Strategy to Rule Them All
- Evaluating and Improving Hybrid Fuzzing cites VUzzer: Application-aware Evolutionary Fuzzing
- Evaluating and Improving Hybrid Fuzzing cites JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers
- JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers cites Evaluating and Improving Hybrid Fuzzing
- Evaluating and Improving Hybrid Fuzzing cites Directed Greybox Fuzzing
- Evaluating and Improving Hybrid Fuzzing cites One Fuzzing Strategy to Rule Them All
- Evaluating and Improving Hybrid Fuzzing cites Angora: Efficient Fuzzing by Principled Search
- Evaluating and Improving Hybrid Fuzzing cites Evaluating Fuzz Testing
- Evaluating and Improving Hybrid Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites Evaluating and Improving Hybrid Fuzzing
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code Matching cites One Fuzzing Strategy to Rule Them All
- JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers cites One Fuzzing Strategy to Rule Them All
- JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers cites Coverage-based Greybox Fuzzing as Markov Chain
- Directed Greybox Fuzzing cites VUzzer: Application-aware Evolutionary Fuzzing
- Directed Greybox Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
- Coverage-based Greybox Fuzzing as Markov Chain cites Directed Greybox Fuzzing
- One Fuzzing Strategy to Rule Them All cites VUzzer: Application-aware Evolutionary Fuzzing
- One Fuzzing Strategy to Rule Them All cites Directed Greybox Fuzzing
- One Fuzzing Strategy to Rule Them All cites Angora: Efficient Fuzzing by Principled Search
- One Fuzzing Strategy to Rule Them All cites Evaluating Fuzz Testing
- One Fuzzing Strategy to Rule Them All cites Coverage-based Greybox Fuzzing as Markov Chain
- Angora: Efficient Fuzzing by Principled Search cites VUzzer: Application-aware Evolutionary Fuzzing
- Angora: Efficient Fuzzing by Principled Search cites Coverage-based Greybox Fuzzing as Markov Chain
- Evaluating Fuzz Testing cites VUzzer: Application-aware Evolutionary Fuzzing
- Evaluating Fuzz Testing cites Directed Greybox Fuzzing
- Evaluating Fuzz Testing cites Angora: Efficient Fuzzing by Principled Search
- Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
Cited by top-tier papers14
- One Fuzzing Strategy to Rule Them AllMingyuan Wu, Ling Jiang, Jiahong Xiang, Yanwei Huang et al.ICSE 2022 · 64 citations
- BinaryAI: Binary Software Composition Analysis via Intelligent Binary Source Code MatchingLing Jiang, Junwen An, Huihui Huang, Qiyi Tang et al.ICSE 2024 · 43 citations
- JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time CompilersMingyuan Wu, Minghai Lu, Heming Cui, Junjie Chen et al.ICSE 2023 · 36 citations
- Evaluating and Improving Hybrid FuzzingLing Jiang, Hengchen Yuan, Mingyuan Wu, Lingming Zhang et al.ICSE 2023 · 29 citations
- Third-Party Library Dependency for Large-Scale SCA in the C/C++ Ecosystem: How Far Are We?Ling Jiang, Hengchen Yuan, Qiyi Tang, Sen Nie et al.ISSTA 2023 · 24 citations
Builds on19
- Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
- Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 citations
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
- VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar et al.NDSS 2017 · 700 citations
- Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations
Related papers
- NEUZZ: Efficient Fuzzing with Neural Program SmoothingDongdong She, Kexin Pei, Dave Epstein, Junfeng Yang et al.S&P 2019 · 220 citations
- MTFuzz: fuzzing with a multi-task neural networkDongdong She, Rahul Krishna, Lu Yan, Suman Jana et al.FSE 2020 · 46 citations
- Revisiting Neural Program Smoothing for FuzzingMaria-Irina Nicolae, Max Eisele, Andreas ZellerFSE 2023 · 5 citations
- Path Transitions Tell More: Optimizing Fuzzing Schedules via Runtime Program StatesKunpeng Zhang, Xi Xiao, Xiaogang Zhu, Ruoxi Sun et al.ICSE 2022 · 25 citations
- Enhancing Coverage-Guided Fuzzing via Phantom ProgramMingyuan Wu, Kunqiu Chen, Qi Luo, Jiahong Xiang et al.FSE 2023 · 7 citations
