NAFuzzer: Augmenting Network Protocol Fuzzers via Automatic Template and Seed Generation

模糊测试 计算机科学 协议(科学) 软件 污点检查 解析 过程(计算) 领域(数学) 软件错误 程序设计语言 数学 医学 病理 纯数学 替代医学
作者
Ke Yan,Bo Yu,Yong Tang,Xiangdong Kong,Chen Chen,Jin Lei
标识
DOI:10.1109/dsc55868.2022.00060
摘要

Fuzzing is one of the most popular software analysis techniques for discovering vulnerabilities. Different from common terminal software, servers should be interacted with well-formed message that conforms to protocol specifications to exercise more functions. However, without protocol specifications, random bit flipping is unlikely to generate valid messages, making fuzzing struggle to traverse the deeper branches of the program. What’s more, manually extracting specifications is typically labor-intensive. In this paper, we present NAFuzzer, a format-aware fuzzing framework for network protocol software. Based on the key insight that similar message fields being parsed at similar locations in the program, NAFuzzer collects constraints of message handling process using replay-based concolic execution, then runs Loop Mapping algorithm to infer the protocol format, and finally uses the format information to generate seeds and perform fuzzing. We implemented and evaluated NAFuzzer on 6 real-world protocol software (LightFTP, Exim, Live555, NetSNMP, Dnsmasq, TinyHTTPd). The results show that NAFuzzer can extract the message formats of six protocol software with a field recognition accuracy of close to 90%. In fuzzing, it achieves higher branch coverage (up to 27.3%) and discovers more paths (up to 38.2%) compared to state-of-the-art fuzzers without any manual involvement.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小孟完成签到,获得积分10
刚刚
2秒前
周洁完成签到 ,获得积分10
5秒前
紫焰完成签到 ,获得积分10
7秒前
等待冰之完成签到 ,获得积分10
11秒前
一个橙完成签到 ,获得积分10
11秒前
13秒前
14秒前
贤惠的老黑完成签到,获得积分10
17秒前
眼睛大西牛完成签到,获得积分10
18秒前
19秒前
21秒前
26秒前
Chen完成签到,获得积分10
28秒前
小猴儿完成签到,获得积分10
32秒前
Burger完成签到,获得积分10
33秒前
默笙完成签到,获得积分10
33秒前
35秒前
kathy完成签到,获得积分10
39秒前
40秒前
G18960完成签到,获得积分10
42秒前
PP发布了新的文献求助10
46秒前
daI夫人完成签到,获得积分10
46秒前
53秒前
56秒前
Copyright应助科研通管家采纳,获得10
1分钟前
sanshi100完成签到,获得积分10
1分钟前
1分钟前
务实安波发布了新的文献求助10
1分钟前
球球发布了新的文献求助10
1分钟前
fys2022发布了新的文献求助10
1分钟前
东方元语应助科研通管家采纳,获得20
1分钟前
DY发布了新的文献求助20
1分钟前
1分钟前
十二应助科研通管家采纳,获得10
1分钟前
kkk发布了新的文献求助10
1分钟前
刘易完成签到,获得积分10
1分钟前
科研通AI2S应助科研通管家采纳,获得10
1分钟前
1分钟前
ghostR应助科研通管家采纳,获得30
1分钟前
高分求助中
Principles of Economics, 11th Edition 10000
University Physics with Modern Physics, 16th edition 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Gründe der Seele:Die Wiener Psychatrie im 20.Jahrhundert 1000
Development of a Bridge Weigh-In-Motion System: A technology to convert the bridge response to the passage of traffic into data on vehicle configurations, speeds, times of travel and weights 1000
Organic Reactions, Volume 116 1000
Current concepts in cutaneous toxicity : proceedings of the Fourth Conference on Cutaneous Toxicity, Washington, D.C., May 9-11, 1979 1000
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7272261
求助须知:如何正确求助?哪些是违规求助? 8893114
关于积分的说明 18799880
捐赠科研通 6946712
什么是DOI,文献DOI怎么找? 3204668
关于科研通互助平台的介绍 2376870
邀请新用户注册赠送积分活动 2180178