别再让我饿着或撑着:利用按需输入投递提升固件模糊测试效率 Stop Starving or Stuffing Me: Boosting Firmware Fuzzing Efficiency with On-demand Input Delivery 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-16
👁️ 预览文献
💡 AI 中文简介
固件模糊测试中,输入到达时间和数量不确定,现有工具要么投递过多把固件处理函数压垮(撑着),要么投递不足无法触发处理逻辑(饿着)。本文提出FIDO,通过静态与动态分析把每条输入处理路径划分为取回、可用性检查、处理三个阶段,在可用性检查点按预期长度精准投递测试用例,并优化调度以覆盖更多输入路径。作为现有固件模糊器的插件,FIDO将Fuzzware和MULTIFUZZ的中位代码覆盖率分别提升最高115%和54%,比需人工指定投递点的SEmu还高19%,并发现5个未知漏洞。
领域嵌入式系统安全 / 固件模糊测试
适合谁读需要一定专业背景(了解模糊测试与嵌入式固件仿真)
核心贡献1. 首次系统研究固件模糊测试中的输入投递问题,揭示“撑着”与“饿着”两种失效模式;2. 提出基于可用性检查点的按需投递与多路径调度方法,实现FIDO原型,可作为插件增强现有固件模糊器。
关键数据相比Fuzzware和MULTIFUZZ,中位代码覆盖率分别提升最高115%和54%;相比需人工指定投递点的SEmu提升最高19%;发现5个此前未知漏洞,并更快发现已知漏洞。
推荐理由如果你在做固件安全或模糊测试,这篇把“什么时候喂、喂多少”讲透了,能直接让你的fuzzer跑得更深、挖得更快。
关键词["固件模糊测试", "输入投递", "嵌入式安全", "漏洞挖掘", "代码覆盖率"]

原文摘要

查看英文原文摘要

Firmware fuzzing has gained attention for identifying firmware bugs. However, current approaches often directly integrate fuzzing tools for general software. General software receives input as it encounters I/O functions, but firmware input can be received asynchronously and independently of the firmware's execution, with uncertain timing and quantity. Without full awareness of firmware's exceptions, existing solutions often imprudently deliver fuzzer-generated input to the firmware in an ad-hoc way. This either overwhelms the processing function of the firmware (stuffing) or fails to deliver enough input data to trigger input processing functions (starving). In both cases, fuzzing capability is weakened. In this paper, we comprehensively investigate the input delivery issue. To determine the optimal timing and quantity for delivering test cases, we leverage the fact that firmware has to check input availability before using data. So we employ static and dynamic analysis to map each input processing route into three stages: input retrieval, availability check, and processing. This recovered semantic information allows the fuzzer to accurately deliver input at the availability check points within the expected length range. For multiple input routes problem, we also optimize the scheduling algorithm to reach more diverse routes. Our prototype, named FIDO, can serve as an add-on to existing firmware fuzzers to enhance their test-case delivery effectiveness. Compared to ad-hoc input delivery methods used in Fuzzware and MULTIFUZZ, FIDO increases their median code coverage by up to 115% and 54%, respectively. Compared to SEmu, which requires humans to manually specify input delivery points, FIDO still improves its coverage by up to 19%. As a result, FIDO discovers known bugs significantly faster and also identifies five previously unknown bugs.