Lune

NDSS2024Top-tier venue

ShapFuzz: Efficient Fuzzing via Shapley-Guided Byte Selection

Kunpeng Zhang, Xiaogang Zhu, Xi Xiao, Minhui Xue, Chao Zhang, Sheng Wen

Abstract

Mutation-based fuzzing is popular and effective in discovering unseen code and exposing bugs. However, only a few studies have concentrated on quantifying the importance of input bytes, which refers to the degree to which a byte contributes to the discovery of new code. They often focus on obtaining the relationship between input bytes and path constraints, ignoring the fact that not all constraint-related bytes can discover new code. In this paper, we conduct Shapely analysis to understand the effect of byte positions on fuzzing performance, and find that some byte positions contribute more than others and this property often holds across seeds. Based on this observation, we propose a novel fuzzing solution, ShapFuzz, to guide byte selection and mutation. Specifically, ShapFuzz updates Shapley values (importance) of bytes when each input is tested during fuzzing with a low overhead, and utilizes contextual multi-armed bandit to trade off between mutating high Shapley value bytes and low-frequently chosen bytes. We implement a prototype of this solution based on AFL++, i.e., ShapFuzz. We evaluate ShapFuzz against ten state-of-the-art fuzzers, including five byte schedule-reinforced fuzzers and five commonly used fuzzers. Compared with byte schedule-reinforced fuzzers, ShapFuzz discovers more edges and exposes more bugs than the best baseline on three different sets of initial seeds. Compared with commonly used fuzzers, ShapFuzz exposes 20 more bugs than the best comparison fuzzer, and discovers 6 more CVEs than the best baseline on MAGMA. Furthermore, ShapFuzz discovers 11 new bugs on the latest versions of programs, and 3 of them are confirmed by vendors.

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.

7 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

  • VUzzer: Application-aware Evolutionary Fuzzing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • VUzzer: Application-aware Evolutionary Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Program Feature-Based Benchmarking for Fuzz Testing cites VUzzer: Application-aware Evolutionary Fuzzing
  • Program Feature-Based Benchmarking for Fuzz Testing cites Angora: Efficient Fuzzing by Principled Search
  • Program Feature-Based Benchmarking for Fuzz Testing cites Evaluating Fuzz Testing
  • Program Feature-Based Benchmarking for Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
  • ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference cites VUzzer: Application-aware Evolutionary Fuzzing
  • ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference cites Angora: Efficient Fuzzing by Principled Search
  • ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference cites Evaluating Fuzz Testing
  • ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference cites Coverage-based Greybox Fuzzing as Markov Chain
  • MendelFuzz: The Return of the Deterministic Stage cites VUzzer: Application-aware Evolutionary Fuzzing
  • MendelFuzz: The Return of the Deterministic Stage cites Angora: Efficient Fuzzing by Principled Search
  • MendelFuzz: The Return of the Deterministic Stage cites Coverage-based Greybox Fuzzing as Markov Chain
  • RandSet: Randomized Corpus Reduction for Fuzzing Seed Scheduling cites ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint Inference
  • RandSet: Randomized Corpus Reduction for Fuzzing Seed Scheduling cites MendelFuzz: The Return of the Deterministic Stage
  • RandSet: Randomized Corpus Reduction for Fuzzing Seed Scheduling cites Evaluating Fuzz Testing
  • RandSet: Randomized Corpus Reduction for Fuzzing Seed Scheduling 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 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 VUzzer: Application-aware Evolutionary Fuzzing
  • 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 papers7

  1. ZTaint-Havoc: From Havoc Mode to Zero-Execution Fuzzing-Driven Taint InferenceYuchong Xie, Wenhui Zhang, Dongdong SheISSTA 2025 · 2 citations
  2. MendelFuzz: The Return of the Deterministic StageHan Zheng, Flavio Toffalini, Marcel Böhme, Mathias PayerFSE 2025 · 2 citations
  3. LLM-Powered Silent Bug Fuzzing in Deep Learning Libraries via Versatile and Controlled Bug TransferKunpeng Zhang, Dongwei Xiao, Daoyuan Wu, Shuai Wang et al.OOPSLA 2026 · 1 citation
  4. RandSet: Randomized Corpus Reduction for Fuzzing Seed SchedulingYuchong Xie, Kaikai Zhang, Yu Liu, Rundong Yang et al.OOPSLA 2026 · 1 citation
  5. Program Feature-Based Benchmarking for Fuzz TestingMiao Miao, Sriteja Kummita, Eric Bodden, Shiyi WeiISSTA 2025

Builds on24

  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. VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar et al.NDSS 2017 · 700 citations
  5. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations

Related papers

  1. MOPT: Optimized Mutation Scheduling for FuzzersChenyang Lyu, Shouling Ji, Chao Zhang, Yuwei Li et al.USENIX Security 2019 · 5 citations
  2. 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
  3. EMS: History-Driven Mutation for Coverage-based FuzzingChenyang Lyu, Shouling Ji, Xuhong Zhang, Hong Liang et al.NDSS 2022
  4. DARWIN: Survival of the Fittest Fuzzing MutatorsPatrick Jauernig, Domagoj Jakobovic, Stjepan Picek, Emmanuel Stapf et al.NDSS 2023
  5. Path Transitions Tell More: Optimizing Fuzzing Schedules via Runtime Program StatesKunpeng Zhang, Xi Xiao, Xiaogang Zhu, Ruoxi Sun et al.ICSE 2022 · 25 citations
Dusk over the sea between two cliffs drawn in fine vertical lines