Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space Emulation
Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space Emulation
复制标题
DOI:
--
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Hui Jun Tay;Kyle Zeng;J. Vadayath;A. S. Raj;A. Dutcher;T. Reddy;Wil Gibbs;Zion Leonahenahe Basque;Fangzhou Dong;Zack Smith;Adam Doupé;Tiffany Bao;Yan Shoshitaishvili;Ruoyu Wang
中科院分区:
文献类型:
--
作者:
Hui Jun Tay;Kyle Zeng;J. Vadayath;A. S. Raj;A. Dutcher;T. Reddy;Wil Gibbs;Zion Leonahenahe Basque;Fangzhou Dong;Zack Smith;Adam Doupé;Tiffany Bao;Yan Shoshitaishvili;Ruoyu Wang
As IoT devices grow more widespread, scaling current analysis techniques to match becomes an increasingly critical task. Part of this challenge involves not only rehosting the firmware of these embedded devices in an emulated environment, but to do so and discover real vulnerabilities. Current state-of-the-art approaches for rehosting must account for the discrepancies between emulated and physical devices, and thus generally focus on improving the emulation fidelity . However, this pursuit of fidelity ignores other potential solutions. In this paper, we propose a novel rehosting technique, user-space single-service rehosting , which emulates a single firmware service in user space. We study the rehosting process involved in hundreds of firmware samples to generalize a set of roadblocks that prevent emulation and create interventions to resolve them. Our prototype Greenhouse automatically rehosts 2,841 (39.7%) of our collected 7,140 firmware images from nine different vendors. Our approach sidesteps many of the challenges encountered by previous rehosting techniques and enables us to apply common vulnerability discovery techniques to our rehosted images such as user-space coverage-guided fuzzing. Using these techniques, we find 717 N-day vulnerabilities and 26 zero-day vulnerabilities on a subset of our rehosted firmware services.