计算机科学 ›› 2026, Vol. 53 ›› Issue (11): 413-424.doi: 10.11896/jsjkx.250900059
石澄林1, 张有为2, 王清贤1, 曹琰1,3
SHI Chenglin1, ZHANG Youwei2, WANG Qingxian1, CAO Yan1,3
摘要: 在网络协议模糊测试中,黑盒模糊测试因其不依赖被测对象的先验知识而被广泛应用,其核心在于通过变异算法对字段进行变异生成测试用例,并结合协议状态信息生成状态路径以驱动测试过程。然而,现有主流黑盒模糊测试工具在生成测试用例方面仍存在显著不足。为此,ProtocolFuzz提出了一种面向黑盒模糊测试的基于语义引导的变异方法。该方法在基于变异的测试用例生成模式的基础上引入了语义字段的识别机制,通过协议通信流量对常见语义字段进行定位与识别。在测试用例生成阶段,根据识别的语义字段信息实现了针对性的语义引导变异策略。实验结果表明,ProtocolFuzz在语义字段的识别效果、生成测试用例的语义有效性、漏洞发现效率上优于其他框架。
中图分类号:
| [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. |
|
||