本文已被:浏览 714次 下载 1979次
Received:February 17, 2023 Revised:March 14, 2023
Received:February 17, 2023 Revised:March 14, 2023
中文摘要: 模糊测试在挖掘协议软件安全漏洞、提高安全性方面发挥着巨大的作用. 近年来将状态引入服务端程序模糊测试受到广泛关注. 本文针对现有方法未充分利用协议模糊测试过程信息、无法持续关注重点状态, 导致模糊测试效率较低的问题, 提出了基于双重覆盖信息协同的协议模糊测试方法. 首先, 本文提出的状态选择算法, 通过建立状态空间到程序空间的映射, 利用启发式的计算方法为每个状态设置权重, 以引导模糊测试持续关注更可能存在缺陷的状态. 其次, 快速探测种子不影响状态但改变程序覆盖的位置, 并限制变异位置以充分测试重点状态对应的代码区域. 本文在基线工具AFLNet和SnapFuzz上验证了改进算法的有效性, 并最终集成实现了协议模糊测试工具C2SFuzz. 对LightFTP、Live555等协议服务端程序最新版进行了实验后, 发现5个未知的漏洞.
Abstract:Fuzzing plays a significant role in discovering security vulnerabilities and improving security in protocol software. In recent years, the introduction of the state into server program fuzzing has received widespread attention. This study addresses the problem of low efficiency of fuzzing due to the insufficient utilization of information in the protocol fuzzing process and the inability to continuously focus on key states. The study also proposes a protocol fuzzing method based on the cooperation of double cover information. Firstly, the state selection algorithm proposed in this study sets weights for each state by mapping the state space to the program space and using heuristic calculation methods to guide the fuzzing to continuously focus on states that are more likely to have defects. Secondly, the study detects a seed position that will not affect the state but can change the program coverage and restricts the mutation position to adequately test the code area corresponding to the focus state. The study also verifies the effectiveness of the improved algorithm on the baseline tools AFLNet and SnapFuzz and integrates them into a protocol fuzzing tool, namely C2SFuzz. Experiments are carried out on the latest version of protocol server programs such as LightFTP and Live555, and five unknown vulnerabilities are detected.
文章编号: 中图分类号: 文献标志码:
基金项目:国家自然科学基金(62072448)
引用文本:
张颖君,周赓,程亮,孙晓山,张阳.基于双重覆盖信息协同的协议模糊测试.计算机系统应用,2023,32(9):32-42
ZHANG Ying-Jun,ZHOU Geng,CHENG Liang,SUN Xiao-Shan,ZHANG Yang.Protocol Fuzz Testing Based on Double Coverage Information Coordination.COMPUTER SYSTEMS APPLICATIONS,2023,32(9):32-42
张颖君,周赓,程亮,孙晓山,张阳.基于双重覆盖信息协同的协议模糊测试.计算机系统应用,2023,32(9):32-42
ZHANG Ying-Jun,ZHOU Geng,CHENG Liang,SUN Xiao-Shan,ZHANG Yang.Protocol Fuzz Testing Based on Double Coverage Information Coordination.COMPUTER SYSTEMS APPLICATIONS,2023,32(9):32-42