SNPSFuzzer: A Fast Greybox Fuzzer for Stateful Network Protocols Using Snapshots

Junqiang Li,Senyi Li,Gang Sun,Ting Chen,Hongfang Yu
DOI: https://doi.org/10.1109/tifs.2022.3192991
IF: 7.231
2022-08-02
IEEE Transactions on Information Forensics and Security
Abstract:Greybox fuzzing has been widely used in stateless programs and has achieved great success. However, most state-of-the-art greybox fuzzers have slow speed and shallow state depth coverage in fuzzing stateful network protocol programs, which are able to remember and store the details of interactions. The existing greybox fuzzers for network protocol programs first send a series of well-defined prefix sequences of input messages and then send mutated messages to test the target state of a stateful network protocol. This process leads to a high time cost. In this paper, we propose SNPSFuzzer, a fast greybox fuzzer for stateful network protocols using snapshots. SNPSFuzzer dumps the context information when the network protocol program is in a specific state and restores it when the state needs to be fuzzed. Furthermore, we design a message chain analysis algorithm to explore more and deeper network protocol states. Our evaluation shows that compared with the state-of-the-art network protocol greybox fuzzer AFLNET, SNPSFuzzer improves the message processing speed of network protocol fuzzing by 70.7% and increases the path coverage by 20.9% on average within 24 hours. Moreover, SNPSFuzzer exposes a previously unreported vulnerability in the program Tinydtls.
computer science, theory & methods,engineering, electrical & electronic
What problem does this paper attempt to address?