计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 413-424.doi: 10.11896/jsjkx.250900059

• 信息安全 • 上一篇    下一篇

ProtocolFuzz:基于语义引导变异的网络协议模糊测试框架

石澄林1, 张有为2, 王清贤1, 曹琰1,3   

  1. 1 郑州大学网络空间安全学院 郑州 450002
    2 郑州信大先进技术研究院 郑州 450001
    3 教育部网络空间安全重点实验室 郑州 450001
  • 收稿日期:2025-09-09 修回日期:2025-12-12 出版日期:2026-11-15 发布日期:2026-11-10
  • 通讯作者: 曹琰(ieycao@zzu.edu.cn)
  • 作者简介:(1637595845@qq.com)
  • 基金资助:
    网络空间安全教育部重点实验室开放基金(KLCS20240211)

ProtocolFuzz:Network Protocol Fuzzing Framework with Semantics-Guided Mutation

SHI Chenglin1, ZHANG Youwei2, WANG Qingxian1, CAO Yan1,3   

  1. 1 School of Cyber Science and Engineering,Zhengzhou University,Zhengzhou 450002,China
    2 Zhengzhou Xinda Advanced Technology Research Institute,Zhengzhou 450001,China
    3 Key Laboratory of Cyberspace Security,Ministry of Education of China,Zhengzhou 450001,China
  • Received:2025-09-09 Revised:2025-12-12 Published:2026-11-15 Online:2026-11-10
  • About author:SHI Chenglin,born in 2001,postgra-duate,is a member of CCF(No.P9808G).His main research interest is network security protocol testing.
    CAO Yan,born in 1983,associate professor,Ph.D supervisor,is a member of CCF(No.17447S).His main research interest is vulnerability discovery.
  • Supported by:
    Open Foundation of Key Laboratory of Cyberspace Security,Ministry of Education of China(KLCS20240211).

摘要: 在网络协议模糊测试中,黑盒模糊测试因其不依赖被测对象的先验知识而被广泛应用,其核心在于通过变异算法对字段进行变异生成测试用例,并结合协议状态信息生成状态路径以驱动测试过程。然而,现有主流黑盒模糊测试工具在生成测试用例方面仍存在显著不足。为此,ProtocolFuzz提出了一种面向黑盒模糊测试的基于语义引导的变异方法。该方法在基于变异的测试用例生成模式的基础上引入了语义字段的识别机制,通过协议通信流量对常见语义字段进行定位与识别。在测试用例生成阶段,根据识别的语义字段信息实现了针对性的语义引导变异策略。实验结果表明,ProtocolFuzz在语义字段的识别效果、生成测试用例的语义有效性、漏洞发现效率上优于其他框架。

关键词: 网络协议安全, 黑盒模糊测试, 协议逆向, 语义字段识别, 语义引导变异, 漏洞发现效率

Abstract: In network protocol fuzzing,black-box fuzzing is widely adopted due to its independence from prior knowledge of the target.Its core approach involves generating test cases by mutating fields using mutation algorithms,combined with leveraging protocol state information to create state paths that drive the testing process.However,existing mainstream black-box fuzzing tools still exhibit significant deficiencies in test case generation.ProtocolFuzz proposes a semantics-guided mutation method for black-box fuzzing.This method introduces an identification mechanism for semantic fields on top of the mutation-based test case generation model,locating and identifying common semantic fields by analyzing protocol communication traffic.During the test case generation phase,a targeted semantics-guided mutation strategy is implemented based on the identified semantic field information.Experimental results demonstrate that ProtocolFuzz outperforms other frameworks in terms of semantic field identification accuracy,the semantic validity of generated test cases,and vulnerability discovery efficiency.

Key words: Network protocol security, Black-box fuzzing, Protocol reverse engineering, Semantic field identification, Semantic-guided mutation, Vulnerability detection efficiency

中图分类号: 

  • TP393
[1] ZHANG Z,ZHANG H,ZHAO J,et al.A Survey on the Deve-lopment of Network Protocol Fuzzing Techniques[J].Electroni-cs,2023,12(13):2904.
[2] MANÈS V J,HAN H,HAN C,et al.The art,science,and engi-neering of fuzzing:A survey[J].IEEE Transactions on Software Engineering,2019;47(11):2312-2331.
[3] ZHAO P,JIANG S,LIU S,et al.Fuzz Testing of ProtocolsBased on Protocol Process State Machines[C]//2024 4th International Conference on Electronic Information Engineering and Computer Science(EIECS).IEEE,2024:844-850.
[4] JTPEREYD A.BooFuzz:Network protocol fuzzing for humans.[EB/OL].https://github.com/jtpereyda/boofuzz.
[5] Peach Fuzzer.[EB/OL].https://peachtech.gitlab.io/peach-fuzzer-community/.
[6] ZHANG X,ZHANG C,LI X,et al.A survey of protocol fuzzing[J].ACM Computing Surveys,2024,57(2):1-36.
[7] LUO Z,YU J,ZUO F,et al.Bleem:Packet sequence orientedfuzzing for protocol implementations[C]//32nd USENIX Secu-rity Symposium(USENIX Security 23).2023:4481-4498.
[8] FANG D,SONG Z,GUAN L,et al.Ics3fuzzer:A framework for discovering protocol implementation bugs in ics supervisory software by fuzzing[C]//Proceedings of the 37th Annual Computer Security Applications Conference.2021:849-860.
[9] PEARSON B,ZHANG Y,ZOU C,et al.FUME:Fuzzing mes-sage queuing telemetry transport brokers[C]//IEEE INFOCOM 2022-IEEE Conference on Computer Communications.IEEE,2022:1699-1708.
[10] XU W,LI P,ZHANG W B,et al.Survey of Network Protocol Fuzzing [J].Application Research of Computers,2023,40(8):2241-2249.
[11] HUANG Y,SHU H,KANG F,et al.Protocol reverse-enginee-ring methods and tools:A survey[J].Computer Communications,2022,182:238-254.
[12] BOSSERT G,GUIHÉRY F,HIET G.Towards automated pro-tocol reverse engineering using semantic information[C]//Proceedings of the 9th ACM Symposium on Information,Computer and Communications Security.2014:51-62.
[13] YE Y,ZHANG Z,WANG F,et al.NetPlier:Probabilistic Network Protocol Reverse Engineering from Message Traces[C]//NDSS.2021.
[14] LUO Z,LIANG K,ZHAO Y,et al.DynPRE:Protocol reverseengineering via dynamic inference[C]//Proceedings of NDSS.2024:1-18.
[15] LIU H,HOU T D,ZHAO B,et al.Survey of Fuzzing Test Case Generation Techniques [J].Computer Engineering & Science,2025,47(7):1244-1261.
[16] LUO Z,ZUO F,SHEN Y,et al.ICS protocol fuzzing:Coverage guided packet crack and generation[C]//2020 57th ACM/IEEE Design Automation Conference(DAC).IEEE,2020:1-6.
[17] LYU C,JI S,ZHANG X,et al.EMS:History-Driven Mutation for Coverage-based Fuzzing[C]//NDSS.2022.
[18] SUN Y T,XU X H.Grey-box Fuzzing Method for Text Protocol Based on Field Perception [J].Application Research of Computers,2024,41(10):3110-3118.
[19] CHEN J,DIAO W,ZHAO Q,et al.IoTFuzzer:Discoveringmemory corruptions in IoT through app-based fuzzing[C]//NDSS.2018:1-15.
[20] ZOU Y H,BAI J J,ZHOU J,et al.TCP-Fuzz:Detecting memory and semantic bugs in TCP stacks with fuzzing[C]//2021 USENIX Annual Technical Conference(USENIX ATC 21).2021:489-502.
[21] FENG X,SUN R,ZHU X,et al.Snipuzz:Black-box fuzzing of iotfirmware via message snippet inference[C]//Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security.2021:337-350.
[22] KIM M,KIM D,KIM E,et al.Firmae:Towards large-scale emulation of iot firmware for dynamic analysis[C]//Proceedings of the 36th Annual Computer Security Applications Conference.2020:733-745.
[23] BELLARD F.QEMU,a fast and portable dynamic translator[C]//USENIX Annual Technical Conference,FREENIX Track.2005:10-55.
[24] PHAMV T,BÖHME M,ROYCHOUDHURY A.Aflnet:Agreybox fuzzer for network protocols[C]//2020 IEEE 13th International Conference on Software Testing,Validation and Verification(ICST).IEEE,2020:460-465.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!