arrow
Return

StatePre: A Large Language Model-Based State-Handling Method for Network Protocol Fuzzing

delete2025-05-09
delete0
delete
OA
AI
Y
Yifan Zhang
K
Kailong Zhu
Y
Yuliang Lu *
Q
Qian Chen
Z
Zixiong Li
DOI:10.3390/electronics14101931delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
As essential components for communication, network protocol programs are highly security-critical, making it crucial to identify their vulnerabilities. Fuzzing is one of the most popular software vulnerability discovery techniques, being highly efficient and having low false-positive rates. However, current network protocol fuzzing is hindered by the coarse-grained and missing state annotations in programs. The current solutions primarily rely on the manual modification of programs, which is inefficient and prone to omissions. In this paper, we propose StatePre, a novel state-handling method for stateful network protocol programs, which leverages large language model (LLM) code- and text-understanding capabilities to analyze request for comments (RFC)-defined state knowledge and optimize the state handling of programs for fuzzing. StatePre automatically refines coarse-grained state annotations and complements missing state annotations in programs to ensure precise state tracking and fuzzing effectiveness. We implement a prototype of StatePre. The evaluation shows that programs modified with StatePre, with fine-grained and comprehensive state annotations, achieve better fuzzing efficiency, higher code coverage, and improved crash detection compared to those not modified with StatePre. Moreover, StatePre demonstrates good scalability, thus is applicable to various network protocol programs.
Keywords:
fuzzing
network protocol program
state handling
large language model

Journal

Electronics cover
Electronics
IF:
2.6
Papers:
1.1W
Citations:
4.7W

Organization

N
natl univ def technol
Scholars:
1.5K
Papers: 509
Citations: 141
A
Cited Papers

Cited Papers

Computer-Based Methods for Adaptive Teaching and Learning
err2024-12-17
err0
PREAI
errUlrike Pado; Anselm Knebusch; Konstanze Mehmedovski
errShare
errSave
SNOOZE: Toward a Stateful NetwOrk prOtocol fuzZEr
err2006-01-01
err0
PREAI
errGreg Banks; Marco Cova; Viktoria Felmetsger; Kevin Almeroth; Richard Kemmerer; Giovanni Vigna
errShare
errSave
Application Layer Protocol Identification Method Based on ResNet
err2025-01-18
err0
errOAAI
errZhijian Fang; Xiang Gao; Huaxiong Zhang; Jingpeng Tang; Qiang Gao
errShare
errSave
NSFuzz: Towards Efficient and State-Aware Network Service Fuzzing
err2023-09-28
err14
errOAAI
errQin, Shisong; Hu, Fan; Ma, Zheyu; Zhao, Bodong; Yin, Tingting; Zhang, Chao
errShare
errSave
The WebSocket Protocol
err
IF0
err2011-12-01
err0
PREAI
errI. Fette; A. Melnikov
errShare
errSave
errShare
errSave
Deep learning
err2015-05-27
err0
PREAI
errYann LeCun; Yoshua Bengio; Geoffrey Hinton
errShare
errSave
researcher View more