使用状态数据感知模糊测试测试SSD固件:在非确定性I/O环境中加速覆盖率
Testing SSD Firmware with State Data-Aware Fuzzing: Accelerating Coverage in Nondeterministic I/O Environments
AI总结:
针对SSD固件在非确定性I/O环境下传统测试覆盖率提升缓慢的问题,提出状态数据感知模糊测试方法,利用内部状态引导输入生成,实验证明在保持相同覆盖率和缺陷检测能力的同时可减少约67%的命令开销。
摘要:
固态硬盘(SSD)固件管理复杂的内部状态,包括闪存维护。由于非确定性I/O操作,传统测试方法难以快速覆盖需要大量I/O累积的固件代码区域。为应对这一挑战,我们提出一种状态数据感知模糊测试方法,该方法利用SSD固件的内部状态在非确定性I/O条件下引导输入生成,并加速覆盖率发现。我们使用开源SSD固件模拟器进行的实验表明,所提方法达到了与最先进的基于覆盖率的模糊测试器(AFL++)相同的固件测试覆盖率,同时所需命令约减少67%,且检测到的崩溃或挂起数量没有减少。此外,我们通过纳入除基本写/读操作之外的各种I/O命令来扩展实验,以反映真实用户场景,并确认我们的策略在多种类型的I/O测试中仍然有效。我们进一步验证了状态数据感知模糊测试在I/O环境下进行固件测试的有效性,并建议未来可将该方法扩展到其他存储固件或基于阈值的嵌入式系统。
英文摘要:
Solid-State Drive (SSD) firmware manages complex internal states, including flash memory maintenance. Due to nondeterministic I/O operations, traditional testing methods struggle to rapidly achieve coverage of firmware code areas that require extensive I/O accumulation. To address this challenge, we propose a state data-aware fuzzing approach that leverages SSD firmware's internal state to guide input generation under nondeterministic I/O conditions and accelerate coverage discovery. Our experiments with an open-source SSD firmware emulator show that the proposed method achieves the same firmware test coverage as a state-of-the-art coverage-based fuzzer (AFL++) while requiring approximately 67% fewer commands, without reducing the number of crashes or hangs detected. Moreover, we extend our experiments by incorporating various I/O commands beyond basic write/read operations to reflect real user scenarios, and we confirm that our strategy remains effective even for multiple types of I/O tests. We further validate the effectiveness of state data-aware fuzzing for firmware testing under I/O environments and suggest that this approach can be extended to other storage firmware or threshold-based embedded systems in the future.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。