BoardRunner: Automatic Firmware Rehosting Using High-Fidelity Compositional Device Models
Muhammad Hammad Bashir, Michael Rooney, Colin Smith, Dongyan Xu, Arslan Khan
摘要
Analyzing embedded systems firmware for security vulnerabilities is challenging because physical testbeds are costly and difficult to scale. Firmware rehosting, which executes firmware in an emulator, provides an alternative, but existing approaches face trade-offs among fidelity, performance, and scalability. To address these limitations, BoardRunner uses compositional device modeling, allowing individual peripherals to be handled by independently selected modeling backends while preserving their dependencies. BoardRunner provides reusable Virtual I/O (VIO) models that capture the high-level operational semantics of commodity peripherals across different MicroController Units (MCUs). To adapt these models to new targets, BoardRunner passively observes Hardware-In-The-Loop (HITL) executions and uses automaton learning and LLM-guided synthesis to generate mappings from target-specific MMIO interactions to reusable VIO semantics. To reduce the execution overhead of peripheral modeling, BoardRunner uses FastDyn, a high-speed rehosting engine that integrates device-model handling directly into JIT-translated firmware execution. We evaluate BoardRunner across five MCU boards and 70 Software Development Kit (SDK) firmware workloads, including DMA-intensive workloads, demonstrating end-to-end rehosting through a semi-automated pipeline. On end-to-end macrobenchmarks, FastDyn achieves a 12.74x average speedup across four workloads compared with HALucinator. Finally, we demonstrate that BoardRunner-generated models can be reused as fuzzing harnesses for real-world firmware targets, providing a high-fidelity execution substrate for downstream dynamic security analysis.
问 Lune
几分钟看清这篇 Paper 的位置,不用再花一下午。
Lune 能读引用它和与它最相关的顶会 Paper,讲清它说了什么、后来怎样、哪里站不住,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
相关 Paper
- HALucinator: Firmware Re-hosting Through Abstraction Layer EmulationAbraham A. Clements, Eric Gustafson, Tobias Scharnowski, Paul Grosen 等USENIX Security 2020
- Forming Faster Firmware FuzzersLukas Seidel, Dominik Christian Maier, Marius MuenchUSENIX Security 2023
- Jetset: Targeted Firmware Rehosting for Embedded SystemsEvan Johnson, Maxwell Bland, Yifei Zhu, Joshua Mason 等USENIX Security 2021 · 76 次引用
- FlexEmu: Towards Flexible MCU Peripheral EmulationChongqing Lei, Zhen Ling, Xiangyu Xu, Shaofeng Li 等CCS 2025 · 1 次引用
- A Friend's Eye is A Good Mirror: Synthesizing MCU Peripheral Models from Peripheral DriversChongqing Lei, Zhen Ling, Yue Zhang, Yan Yang 等USENIX Security 2024 · 8 次引用
