SLOPT: Bandit Optimization Framework for Mutation-Based Fuzzing

Yuki Koike, Hiroyuki Katsura, Hiromu Yakura, Yuma Kurogome
11/7/2022
cs.CRcs.LGcs.SE

Official code: RICSecLab/SLOPTAFLpp (16 stars, C, Apache-2.0, last commit 2022-09-14).

Abstract

Mutation-based fuzzing has become one of the most common vulnerability discovery solutions over the last decade. Fuzzing can be optimized when targeting specific programs, and given that, some studies have employed online optimization methods to do it automatically, i.e., tuning fuzzers for any given program in a program-agnostic manner.

Show full abstract

However, previous studies have neither fully explored mutation schemes suitable for online optimization methods, nor online optimization methods suitable for mutation schemes. In this study, we propose an optimization framework called SLOPT that encompasses both a bandit-friendly mutation scheme and mutation-scheme-friendly bandit algorithms. The advantage of SLOPT is that it can generally be incorporated into existing fuzzers, such as AFL and Honggfuzz. As a proof of concept, we implemented SLOPT-AFL++ by integrating SLOPT into AFL++ and showed that the program-agnostic optimization delivered by SLOPT enabled SLOPT-AFL++ to achieve higher code coverage than AFL++ in all of ten real-world FuzzBench programs. Moreover, we ran SLOPT-AFL++ against several real-world programs from OSS-Fuzz and successfully identified three previously unknown vulnerabilities, even though these programs have been fuzzed by AFL++ for a considerable number of CPU days on OSS-Fuzz.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
164C, C++Jun 29, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{koike2022slopt,
  title  = {SLOPT: Bandit Optimization Framework for Mutation-Based Fuzzing},
  author = {Yuki Koike and Hiroyuki Katsura and Hiromu Yakura and Yuma Kurogome},
  year   = {2022},
  eprint = {2211.03285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.03285}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.03285.svg)](https://codeofpaper.com/paper/2211.03285)

Discussion