arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2105.05445cs.CR
收藏

Snipuzz:通过消息监听推断对IoT固件进行黑盒模糊

Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference

Xiaotao Feng, Ruoxi Sun, Xiaogang Zhu, Minhui Xue, Sheng Wen, Dongxi Liu, Surya Nepal, Yang Xiang

摘要:

物联网(IoT)设备的激增使人们的生活更加便利,但也引发了许多安全问题。由于难以获得和模拟物联网固件,物联网设备的黑盒模糊已成为一种可行的选择。然而,现有的黑盒模糊器不能形成有效的变异优化机制来指导其测试过程,主要是由于缺乏反馈。这是困难的,甚至不可能应用现有的基于语法的模糊策略。因此,在物联网模糊领域需要一种具有语法推理的高效模糊方法。为了解决这些关键问题,我们提出了一种新的物联网固件自动黑盒模糊,称为Snipuzz。Snipuzz作为与设备通信的客户端运行,并根据响应推断用于变化的消息片段。每个代码段引用一个连续的字节块,这些字节块反映模糊处理中的近似代码覆盖率。这种基于消息片段的变异策略大大缩小了改变探测消息的搜索空间。我们将Snipuzz与四种最先进的物联网模糊方法进行了比较,即,IoT Fuzzer BooFuzz Doona和Nemesys Snipuzz不仅继承了基于应用程序的模糊处理的优点(例如,IoTFuzzer,而且还利用通信响应来执行有效的突变。此外,Snipuzz是轻量级的,因为它的执行不依赖于任何先决条件操作,例如应用程序的逆向工程。我们还在20个流行的现实世界物联网设备上评估了Snipuzz。我们的研究结果表明,Snipuzz可以识别出5个零日漏洞,其中3个只能由Snipuzz暴露。所有新发现的漏洞都已得到其供应商的确认。

英文摘要:

The proliferation of Internet of Things (IoT) devices has made people's lives more convenient, but it has also raised many security concerns. Due to the difficulty of obtaining and emulating IoT firmware, the black-box fuzzing of IoT devices has become a viable option. However, existing black-box fuzzers cannot form effective mutation optimization mechanisms to guide their testing processes, mainly due to the lack of feedback. It is difficult or even impossible to apply existing grammar-based fuzzing strategies. Therefore, an efficient fuzzing approach with syntax inference is required in the IoT fuzzing domain. To address these critical problems, we propose a novel automatic black-box fuzzing for IoT firmware, termed Snipuzz. Snipuzz runs as a client communicating with the devices and infers message snippets for mutation based on the responses. Each snippet refers to a block of consecutive bytes that reflect the approximate code coverage in fuzzing. This mutation strategy based on message snippets considerably narrows down the search space to change the probing messages. We compared Snipuzz with four state-of-the-art IoT fuzzing approaches, i.e., IoTFuzzer, BooFuzz, Doona, and Nemesys. Snipuzz not only inherits the advantages of app-based fuzzing (e.g., IoTFuzzer, but also utilizes communication responses to perform efficient mutation. Furthermore, Snipuzz is lightweight as its execution does not rely on any prerequisite operations, such as reverse engineering of apps. We also evaluated Snipuzz on 20 popular real-world IoT devices. Our results show that Snipuzz could identify 5 zero-day vulnerabilities, and 3 of them could be exposed only by Snipuzz. All the newly discovered vulnerabilities have been confirmed by their vendors.

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

↑