Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space Emulation
Hui Jun Tay, Kyle Zeng, Jayakrishna Menon Vadayath, Arvind S. Raj, Audrey Dutcher, Tejesh Reddy, Wil Gibbs, Zion Leonahenahe Basque, Fangzhou Dong, Zack Smith, Adam Doupé, Tiffany Bao
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Pandawan: Quantifying Progress in Linux-based Firmware Rehosting 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Pandawan: Quantifying Progress in Linux-based Firmware Rehosting 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Pandawan: Quantifying Progress in Linux-based Firmware Rehosting 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- RIoTFuzzer: Companion App Assisted Remote Fuzzing for Detecting Vulnerabilities in IoT Devices 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery 引用了 Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
引用它的顶会 Paper21
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware ServicesWil Gibbs, Arvind S. Raj, Jayakrishna Menon Vadayath, Hui Jun Tay 等USENIX Security 2024 · 20 次引用
- FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability DiscoveryJiangan Ji, Chao Zhang, Shuitao Gan, Lin Jian 等NDSS 2026 · 12 次引用
- RIoTFuzzer: Companion App Assisted Remote Fuzzing for Detecting Vulnerabilities in IoT DevicesKaizheng Liu, Ming Yang, Zhen Ling, Yue Zhang 等CCS 2024 · 8 次引用
- Pandawan: Quantifying Progress in Linux-based Firmware RehostingIoannis Angelakopoulos, Gianluca Stringhini, Manuel EgeleUSENIX Security 2024 · 5 次引用
- Accurate and Efficient Recurring Vulnerability Detection for IoT FirmwareHaoyu Xiao, Yuan Zhang, Minghang Shen, Chaoyang Lin 等CCS 2024 · 5 次引用
它引用的 Paper17
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process EmulationYaowen Zheng, Ali Davanian, Heng Yin, Chengyu Song 等USENIX Security 2019 · 279 次引用
- What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded DevicesMarius Muench, Jan Stijohann, Frank Kargl, Aurélien Francillon 等NDSS 2018 · 202 次引用
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky 等S&P 2020 · 128 次引用
相关 Paper
- Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson 等USENIX Security 2022
- Firmenstein: Scaling Dynamic Analysis for Linux-Based Firmware Services via API-Centric Intervention Code SynthesisYanzhong Wang, Wenhui Zhang, Ruigang Liang, Kai Chen 等USENIX Security 2026
- SHiFT: Semi-hosted Fuzz Testing for Embedded ApplicationsAlejandro Mera, Changming Liu, Ruimin Sun, Engin Kirda 等USENIX Security 2024 · 15 次引用
- User-Space Dependency-Aware Rehosting for Linux-Based Firmware BinariesChuan Qin, Cen Zhang, Yaowen Zheng, Puzhuo Liu 等NDSS 2026 · 2 次引用
- Protocol-Aware Firmware Rehosting for Effective Fuzzing of Embedded Network StacksMoritz Bley, Tobias Scharnowski, Simon Wörner, Moritz Schloegel 等CCS 2025
