BoardRunner: Automatic Firmware Rehosting Using High-Fidelity Compositional Device Models
Muhammad Hammad Bashir, Michael Rooney, Colin Smith, Dongyan Xu, Arslan Khan
Abstract
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.
Ask Lune
Know where this paper stands in minutes, not an afternoon.
Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.
Related papers
- HALucinator: Firmware Re-hosting Through Abstraction Layer EmulationAbraham A. Clements, Eric Gustafson, Tobias Scharnowski, Paul Grosen et al.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 et al.USENIX Security 2021 · 76 citations
- FlexEmu: Towards Flexible MCU Peripheral EmulationChongqing Lei, Zhen Ling, Xiangyu Xu, Shaofeng Li et al.CCS 2025 · 1 citation
- A Friend's Eye is A Good Mirror: Synthesizing MCU Peripheral Models from Peripheral DriversChongqing Lei, Zhen Ling, Yue Zhang, Yan Yang et al.USENIX Security 2024 · 8 citations
