Metraipolis › archive › dc_0854ab606780
Reactive Peripheral Modeling for Faithful Firmware Rehosting — arXiv:2608.29737
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.29737
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T08:25:41.068Z
- SHA-256 of the archived text
fed5cb1b8702d7392ffbc510eb584042126eeb413c2342069b062c6b990e8364- Stable URL of this page
https://metraipolis.com/documento/dc_0854ab606780
How to cite
Reactive Peripheral Modeling for Faithful Firmware Rehosting — arXiv:2608.29737 — arXiv (en), https://arxiv.org/abs/2608.29737 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0854ab606780 (Metraipolis archive dc_0854ab606780, sha256 fed5cb1b8702d7392ffbc510eb584042126eeb413c2342069b062c6b990e8364)
BibTeX
@misc{dc0854ab606780,
title = {Reactive Peripheral Modeling for Faithful Firmware Rehosting — arXiv:2608.29737},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.29737},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0854ab606780; sha256 fed5cb1b8702d7392ffbc510eb584042126eeb413c2342069b062c6b990e8364},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.29737. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Rehosting enables tight control and introspection for firmware testing, but existing approaches largely fail to reach deeper application states and cannot drive embedded protocol stacks beyond early-stage initialization. This limitation reflects a broader weakness in current rehosting techniques: their inability to faithfully model complex peripheral semantics and dependencies. In particular, existing work typically relies on passive approximations of peripheral behavior and overlooks three key aspects: (i) the interplay among interrupts, MMIO, and DMA; (ii) implicit state transitions within peripherals; and (iii) interactions across multiple peripherals. To address this challenge, we propose Reactive Peripheral Modeling (RPM), an abstraction that models hardware peripherals as reactive and stateful systems. RPM captures peripheral behavior using event-condition-action semantics, enabling faithful representation of interrupt, MMIO, and DMA scheduling, implicit state transitions, and cross-peripheral interactions. We implement RPM in Bluezz for BLE firmware rehosting and fuzzing, and show that reactive modeling is necessary to reach deep protocol states. We evaluate Bluezz on representative BLE stacks, including NimBLE, Zephyr, and Nordic SoftDevice, a closed-source commercial stack. Across 18 targets, Bluezz achieves an average basic-block coverage more than 2.6 times that of prior state-of-the-art rehosting approaches. Unlike prior approaches, which remain largely confined to advertising and scanning logic, Bluezz reliably exercises connected BLE states and uncovers five previously unknown vulnerabilities that manifest only after connection establishment. Finally, we show that RPM generalizes beyond BLE to other embedded firmware running on different MCUs. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-01 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.29737 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T08:10:59.870Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).