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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
CNAxiaozhu7完成签到,获得积分0
2秒前
3秒前
pengyh8完成签到 ,获得积分10
9秒前
ze完成签到 ,获得积分10
14秒前
艳艳宝完成签到 ,获得积分10
20秒前
枫叶人生完成签到,获得积分10
22秒前
26秒前
纯洁完成签到,获得积分10
28秒前
lzc完成签到,获得积分10
34秒前
乐正怡完成签到 ,获得积分0
34秒前
kk发布了新的文献求助10
42秒前
lqm完成签到,获得积分10
42秒前
45秒前
貔貅完成签到 ,获得积分10
47秒前
红烧肉耶完成签到 ,获得积分10
50秒前
52秒前
bszh完成签到,获得积分10
53秒前
59秒前
飞矢不动完成签到,获得积分10
59秒前
cdercder应助科研通管家采纳,获得10
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
竹青应助科研通管家采纳,获得10
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
1分钟前
cdercder应助科研通管家采纳,获得10
1分钟前
竹青应助科研通管家采纳,获得10
1分钟前
1分钟前
1分钟前
casey完成签到 ,获得积分10
1分钟前
Nole应助好晒采纳,获得10
1分钟前
cmuzf完成签到,获得积分10
1分钟前
单纯向雪完成签到 ,获得积分10
1分钟前
kanong完成签到,获得积分0
1分钟前
好晒完成签到,获得积分10
1分钟前
jasmine完成签到 ,获得积分10
1分钟前
小伟跑位完成签到,获得积分10
1分钟前
思源应助好晒采纳,获得10
1分钟前
回首不再是少年完成签到,获得积分0
1分钟前
核动力牛马完成签到 ,获得积分20
1分钟前
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小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7270139
求助须知:如何正确求助?哪些是违规求助? 8890592
关于积分的说明 18793363
捐赠科研通 6945469
什么是DOI,文献DOI怎么找? 3203699
关于科研通互助平台的介绍 2376553
邀请新用户注册赠送积分活动 2179600