Huan Liu, Huazhong University of Science and Technology; Haoyu Chen, Zhejiang Lab; Biang Xu, Huazhong University of Science and Technology and Jinyinhu Laboratory; Jingyao Zhou, Huazhong University of Science and Technology; Bin Yuan, Huazhong University of Science and Technology and Songshan Laboratory; Qiankun Zhang, Huazhong University of Science and Technology; Deqing Zou, Huazhong University of Science and Technology and Jinyinhu Laboratory; Hai Jin, Huazhong University of Science and Technology
Rule-based Network Intrusion Detection Systems (NIDS) are integral to contemporary cybersecurity, relying on the rule matching mechanism to identify malicious activities within network traffic. However, there is no inherent assurance that the deployed rules are enforced as intended due to factors regarding the composition of the rules and implementation flaws of NIDS. Unfortunately, administrators lack appropriate means to validate the gap between rule definition and enforcement as existing testing approaches towards NIDS are often rule irrelevant and lack systematic methodologies. To address this issue, this paper presents NIDSFuzz, a systematic fuzzing approach designed to validate the enforcement of rules within NIDS, which is rule-oriented so that it employs tailored mutation strategies to generate test traffic based on the very ruleset deployed. In this manner, it becomes feasible to validate the targeted rulesets with guarantee of coverage. An NIDS-specific fuzzing framework is proposed, incorporating an appropriate test traffic injection method to perform fuzzing and carefully designed approaches of sanitization and analysis to effectively identify rule enforcement issues. Experimental results show that NIDSFuzz is able to uncover over 10,000 rule enforcement issues. We classified the discovered issues into different categories and explored corresponding countermeasures in terms of both rules and NIDS implementation. Moreover, performance evaluation confirms the efficiency of NIDSFuzz and comparison to other tools highlights the significant advantage of NIDSFuzz in evaluating rules of NIDS. We have made our code publicly available.
NSDI '26 Open Access Sponsored by
King Abdullah University of Science and Technology (KAUST)
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.

author = {Huan Liu and Haoyu Chen and Biang Xu and Jingyao Zhou and Bin Yuan and Qiankun Zhang and Deqing Zou and Hai Jin},
title = {From Intention to Practice: Towards Systematic Validation of {NIDS} Rule Enforcement},
booktitle = {23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI 26)},
year = {2026},
isbn = {978-1-939133-54-0},
address = {Renton, WA},
pages = {721--741},
url = {https://www.usenix.org/conference/nsdi26/presentation/liu-huan},
publisher = {USENIX Association},
month = may
}


