MSFuzz: Augmenting Protocol Fuzzing with Message Syntax Comprehension via Large Language Models

Author:

Cheng Mingjie12,Zhu Kailong12,Chen Yuanchao12ORCID,Yang Guozheng12,Lu Yuliang12,Lu Canju12

Affiliation:

1. College of Electronic Engineering, National University of Defense Technology, Hefei 230037, China

2. Anhui Province Key Laboratory of Cyberspace Security Situation Awareness and Evaluation, Hefei 230037, China

Abstract

Network protocol implementations, as integral components of information communication, are critically important for security. Due to its efficiency and automation, fuzzing has become a popular method for protocol security detection. However, the existing protocol-fuzzing techniques face the critical problem of generating high-quality inputs. To address the problem, in this paper, we propose MSFuzz, which is a protocol-fuzzing method with message syntax comprehension. The core observation of MSFuzz is that the source code of protocol implementations contains detailed and comprehensive knowledge of the message syntax. Specifically, we leveraged the code-understanding capabilities of large language models to extract the message syntax from the source code and construct message syntax trees. Then, using these syntax trees, we expanded the initial seed corpus and designed a novel syntax-aware mutation strategy to guide the fuzzing. To evaluate the performance of MSFuzz, we compared it with the state-of-the-art (SOTA) protocol fuzzers, namely, AFLNET and CHATAFL. Experimental results showed that compared with AFLNET and CHATAFL, MSFuzz achieved average improvements of 22.53% and 10.04% in the number of states, 60.62% and 19.52% improvements in the number of state transitions, and 29.30% and 23.13% improvements in branch coverage. Additionally, MSFuzz discovered more vulnerabilities than the SOTA fuzzers.

Publisher

MDPI AG

Reference44 articles.

1. Hermann, H., Johnson, R., and Engel, R. (1995, January 15–19). A framework for network protocol software. Proceedings of the OOPSLA ‘95, ACM SIGPLAN Notices, Austin, TX, USA.

2. Secure Intelligent Fuzzy Blockchain Framework: Effective Threat Detection in IoT Networks;Yazdinejad;Comput. Ind.,2023

3. Serebryany, K. (2017). OSS-Fuzz-Google’s Continuous Fuzzing Service for Open Source Software, USENIX.

4. Xu, M., Kashyap, S., Zhao, H., and Kim, T. (2020, January 18–21). Krace: Data race fuzzing for kernel file systems. Proceedings of the 2020 IEEE Symposium on Security and Privacy (SP), San Francisco, CA, USA.

5. Jero, S., Pacheco, M.L., Goldwasser, D., and Nita-Rotaru, C. (February, January 27). Leveraging textual specifications for grammar-based fuzzing of network protocols. Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3