arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08750cs.CRcs.SE
收藏

DyMA-Fuzz:动态直接内存访问抽象用于重新托管单体固件模糊测试

DyMA-Fuzz: Dynamic Direct Memory Access Abstraction for Re-hosted Monolithic Firmware Fuzzing

Adelaide University(阿德莱德大学);CSIRO Data61(澳大利亚联邦科学与工业研究组织数据六一分部)

Guy Farrelly, Michael Chesser, Seyit Camtepe, Damith C. Ranasinghe

AI总结:

DyMA-Fuzz通过动态直接内存访问抽象,提升重新托管环境中固件模糊测试的效率和覆盖率。

摘要:

智能设备在关键领域(包括汽车、医疗、工业)的兴起,要求固件测试的可靠性。在重新托管环境中对固件进行模糊测试是大规模自动化测试的一种有前途的方法,但仍然困难,因为代码与微控制器外围设备之间存在紧密耦合。现有的模糊测试框架主要解决在内存映射I/O或中断中提供输入的挑战,但大多忽略了直接内存访问(DMA),这是通过绕过CPU使用的关键高吞吐接口。我们引入DyMA-Fuzz,将最近在流式模糊输入注入方面的进展扩展到重新托管环境中的DMA驱动接口。它通过运行时分析技术解决关键挑战——供应商特定的描述符、异构DMA设计和变化的描述符位置,推断DMA内存访问模式,并自动将模糊数据注入到目标缓冲区中,而无需手动配置或数据表。在94个固件样本和8个DMA保护的CVE基准上评估,DyMA-Fuzz揭示了现有最先进工具未能发现的漏洞和执行路径,并实现了高达122%的代码覆盖率。这些结果突显了DyMA-Fuzz在自动化固件测试中的实用性和有效性,以及在模糊测试复杂嵌入式系统方面的可扩展解决方案。

英文摘要:

The rise of smart devices in critical domains--including automotive, medical, industrial--demands robust firmware testing. Fuzzing firmware in re-hosted environments is a promising method for automated testing at scale, but remains difficult due to the tight coupling of code with a microcontroller's peripherals. Existing fuzzing frameworks primarily address input challenges in providing inputs for Memory-Mapped I/O or interrupts, but largely overlook Direct Memory Access (DMA), a key high-throughput interface used that bypasses the CPU. We introduce DyMA-Fuzz to extend recent advances in stream-based fuzz input injection to DMA-driven interfaces in re-hosted environments. It tackles key challenges--vendor-specific descriptors, heterogeneous DMA designs, and varying descriptor locations--using runtime analysis techniques to infer DMA memory access patterns and automatically inject fuzzing data into target buffers, without manual configuration or datasheets. Evaluated on 94 firmware samples and 8 DMA-guarded CVE benchmarks, DyMA-Fuzz reveals vulnerabilities and execution paths missed by state-of-the-art tools and achieves up to 122% higher code coverage. These results highlight DyMA-Fuzz as a practical and effective advancement in automated firmware testing and a scalable solution for fuzzing complex embedded systems.

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

↑