arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2201.04048cs.CRcs.SE
收藏

SnapFuzz:一种高效的网络应用模糊检测框架

SnapFuzz: An Efficient Fuzzing Framework for Network Applications

Anastasios Andronidis, Cristian Cadar

摘要:

近年来,模糊测试得益于计算能力的提高和重要的算法进步,导致系统在生产软件中发现了许多关键漏洞和漏洞。尽管取得了这些成功,但并不是所有的应用程序都可以有效地模糊化。具体地,诸如网络协议实现之类的有状态应用受到其低模糊吞吐量以及开发重置其状态并隔离其副作用的模糊利用的需要的约束。在本文中,我们提出了SnapFuzz,一种新的模糊框架的网络应用程序。SnapFuzz提供了一个强大的架构,可以将缓慢的异步网络通信转换为快速的同步通信,在最新的安全点对目标进行快照,通过将所有文件操作重定向到自定义的内存中文件系统来加速所有文件操作,并消除了对许多脆弱修改的需求,例如配置时间延迟或编写清理脚本,以及其他几项改进。使用SnapFuzz,我们模糊了五个流行的网络应用程序:LightFTP,TinyDTLS,Dnsmasq,LIVE555和Dcmqrscp。我们报告了令人印象深刻的性能加速比,分别为62.8倍,41.2倍,30.6倍,24.6倍和8.4倍,在所有情况下都具有明显更简单的模糊控制。通过其性能优势,SnapFuzz还发现,与AFLNet相比,在这些应用程序中多了12个崩溃。

英文摘要:

In recent years, fuzz testing has benefited from increased computational power and important algorithmic advances, leading to systems that have discovered many critical bugs and vulnerabilities in production software. Despite these successes, not all applications can be fuzzed efficiently. In particular, stateful applications such as network protocol implementations are constrained by their low fuzzing throughput and the need to develop fuzzing harnesses that reset their state and isolate their side effects. In this paper, we present SnapFuzz, a novel fuzzing framework for network applications. SnapFuzz offers a robust architecture that transforms slow asynchronous network communication into fast synchronous communication, snapshots the target at the latest point at which it is safe to do so, speeds up all file operations by redirecting them to a custom in-memory filesystem, and removes the need for many fragile modifications, such as configuring time delays or writing clean-up scripts, together with several other improvements. Using SnapFuzz, we fuzzed five popular networking applications: LightFTP, TinyDTLS, Dnsmasq, LIVE555 and Dcmqrscp. We report impressive performance speedups of 62.8x, 41.2x, 30.6x, 24.6x, and 8.4x, respectively, with significantly simpler fuzzing harnesses in all cases. Through its performance advantage, SnapFuzz has also found 12 extra crashes compared to AFLNet in these applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑