Coverage-Based Greybox Fuzzing as Markov Chain

By Marcel Böhme, Van-Thuan Pham, Abhik Roychoudhury. IEEE Transactions on Software Engineering, 2016

1,055 citations recorded by the source corpus.

Coverage-based Greybox Fuzzing (CGF) is a random testing approach that requires no program analysis. A new test is generated by slightly mutating a seed input. If the test exercises a new and interesting path, it is added to the set of seeds; otherwise, it is discarded. We observe that most tests exercise the same few “high-frequency” paths and develop strategies to explore significantly more paths with the same number of tests by gravitating towards low-frequency paths. We explain the challenges and opportunities of CGF using a Markov chain model which specifies the probability that fuzzing the seed that exercises path $i$ i generates an input that exercises path $j$ j . Each state (i.e., seed) has an energy that specifies the number of inputs to be generated from that seed. We show that CGF is considerably more efficient if energy is inversely proportional to the density of the stationary distribution and increases monotonically every time that seed is chosen. Energy is controlled with a power schedule. We implemented several schedules by extending AFL. In 24 hours, AFLFast exposes 3 previously unreported CVEs that are not exposed by AFL and exposes 6 previously unreported CVEs 7x faster than AFL. AFLFast produces at least an order of magnitude more unique crashes than AFL. We compared AFLFast to the symbolic executor Klee. In terms of vulnerability detection, AFLFast is significantly more effective than Klee on the same subject programs that were discussed in the original Klee paper. In terms of code coverage, AFLFast only slightly outperforms Klee while a combination of both tools achieves best results by mitigating the individual weaknesses.

Subfields: Computer Science Applications, Software

View Paper: https://www.semanticscholar.org/paper/99f88a55e46c3228a7d624ea9a959b9216a032ba

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Computer Science Applications

  1. Bihuan Chen
  2. Thorsten Holz
  3. Cornelius Aschermann
  4. Sergej Schumilo
  5. Robert Gawlik
  6. Yang Liu
  7. Junjie Wang
  8. Lei Wei

In Software

  1. Bihuan Chen
  2. Yang Liu
  3. Thorsten Holz
  4. Yang Xiang
  5. Sheng Wen
  6. Seyit Ahmet Camtepe
  7. Xiaogang Zhu
  8. Junjie Wang

Citations in the corpus