SD-Fuzz: A State-Aware Industrial Control Protocol Fuzzing Framework Based on Diffusion Models
Open Access
- 17 May 2026
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 15 (10) , 2156
Abstract
Current fuzzing techniques for industrial control protocols (ICPs) encounter notable challenges, including model training instability, limited sample diversity, and the inability to manage complex state dependencies in protocol interactions. To address these issues, this paper presents SD-Fuzz, a state-aware fuzzing framework that integrates a discrete denoising diffusion probabilistic model (DDPM) with an online Hidden Markov Model (HMM). The discrete DDPM is designed to generate syntactically valid and diverse protocol messages using cosine noise scheduling and Denoising Diffusion Implicit Model (DDIM) sampling, while the HMM performs unsupervised learning of state transitions from real traffic to guide the creation of logically consistent multi-step interaction sequences. The framework is evaluated on three representative Modbus/TCP slave implementations. Evaluations based on 5 h benchmark campaigns across multiple independent runs indicate that SD-Fuzz achieves a mean test case recognition rate (TCRR) of 91.3% and an HMM-inferred state transition coverage of 50.1%, exhibiting statistically significant improvements over the evaluated baselines. Furthermore, an extended 8 h vulnerability mining campaign demonstrates its capability to trigger deep-seated exceptions, including buffer overflows and protocol state violations, which are typically challenging to access using traditional stateless approaches. This work illustrates the feasibility of combining diffusion-based generation with lightweight state inference for automated vulnerability discovery in industrial control systems. Directions for future work include validation on physical programmable logic controller (PLC) hardware to acquire internal code coverage feedback.Keywords
Funding Information
- Henan Province Key Researchand Development Project (241111211400)
- Henan Provincial Science and Technology Research Project (242102211077)
- Henan province university key scientific research project (23A520008)
This publication has 24 references indexed in Scilit:
- i7Fuzzer: Neural-Guided Fuzzing for Enhancing Security Testing of Stateful Protocols2025
- DiffusionFuzz: Fuzzing Framework of Industrial Control Protocols Based on Denoising Diffusion Probabilistic ModelIEEE Access, 2024
- A novel generative adversarial network-based fuzzing cases generation method for industrial control system protocolsComputers and Electrical Engineering, 2024
- Fuzzing vulnerability discovery techniques: Survey, challenges and future directionsComputers & Security, 2022
- A comprehensive study on current and future trends towards the characteristics and enablers of industry 4.0Journal of Industrial Information Integration, 2022
- AFLNET: A Greybox Fuzzer for Network Protocols2020
- ICS Protocol Fuzzing: Coverage Guided Packet Crack and Generation2020
- Superion: Grammar-Aware Greybox Fuzzing2019
- SeqFuzzer: An Industrial Protocol Fuzzing Framework from a Deep Learning Perspective2019
- Learn&Fuzz: Machine learning for input fuzzing2017