Linear-time Temporal Logic guided Greybox Fuzzing

Ruijie Meng, Zhen Dong, Jialin Li, Ivan Beschastnikh, Abhik Roychoudhury
9/6/2021
cs.SE

Official code: ltlfuzzer/LTL-Fuzzer (63 stars, C, Apache-2.0, last commit 2024-04-01).

Abstract

Software model checking is a verification technique which is widely used for checking temporal properties of software systems. Even though it is a property verification technique, its common usage in practice is in "bug finding", that is, finding violations of temporal properties.

Show full abstract

Motivated by this observation and leveraging the recent progress in fuzzing, we build a greybox fuzzing framework to find violations of Linear-time Temporal Logic (LTL) properties. Our framework takes as input a sequential program written in C/C++, and an LTL property. It finds violations, or counterexample traces, of the LTL property in stateful software systems; however, it does not achieve verification. Our work substantially extends directed greybox fuzzing to witness arbitrarily complex event orderings. We note that existing directed greybox fuzzing approaches are limited to witnessing reaching a location or witnessing simple event orderings like use-after-free. At the same time, compared to model checkers, our approach finds the counterexamples faster, thereby finding more counterexamples within a given time budget. Our LTL-Fuzzer tool, built on top of the AFL fuzzer, is shown to be effective in detecting bugs in well-known protocol implementations, such as OpenSSL and Telnet. We use LTL-Fuzzer to reproduce known vulnerabilities (CVEs), to find 15 zero-day bugs by checking properties extracted from RFCs (for which 12 CVEs have been assigned), and to find violations of both safety as well as liveness properties in real-world protocol implementations. Our work represents a practical advance over software model checkers -- while simultaneously representing a conceptual advance over existing greybox fuzzers. Our work thus provides a starting point for understanding the unexplored synergies between software model checking and greybox fuzzing.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Linear-time Temporal Logic guided Greybox Fuzzing (ICSE'22)

637C, C++Jan 22, 20222 years agoApache-2.0
fuzzingmodel-checkermodel-checkingnetwork-fuzzerprotocol-fuzzing+4 more

Similar Papers

Cite this paper

@article{meng2021lineartime,
  title  = {Linear-time Temporal Logic guided Greybox Fuzzing},
  author = {Ruijie Meng and Zhen Dong and Jialin Li and Ivan Beschastnikh and Abhik Roychoudhury},
  year   = {2021},
  eprint = {2109.02312},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.02312}
}

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/2109.02312.svg)](https://codeofpaper.com/paper/2109.02312)

Discussion