Lune

USENIX Security2023Top-tier venue

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

21 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services cites 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 cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Pandawan: Quantifying Progress in Linux-based Firmware Rehosting cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Pandawan: Quantifying Progress in Linux-based Firmware Rehosting cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Pandawan: Quantifying Progress in Linux-based Firmware Rehosting cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Accurate and Efficient Recurring Vulnerability Detection for IoT Firmware cites 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 cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • RIoTFuzzer: Companion App Assisted Remote Fuzzing for Detecting Vulnerabilities in IoT Devices cites 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 cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation cites 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 cites Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services
  • FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability Discovery cites 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 cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers21

  1. Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware ServicesWil Gibbs, Arvind S. Raj, Jayakrishna Menon Vadayath, Hui Jun Tay et al.USENIX Security 2024 · 20 citations
  2. FirmAgent: Leveraging Fuzzing to Assist LLM Agents with IoT Firmware Vulnerability DiscoveryJiangan Ji, Chao Zhang, Shuitao Gan, Lin Jian et al.NDSS 2026 · 12 citations
  3. RIoTFuzzer: Companion App Assisted Remote Fuzzing for Detecting Vulnerabilities in IoT DevicesKaizheng Liu, Ming Yang, Zhen Ling, Yue Zhang et al.CCS 2024 · 8 citations
  4. Pandawan: Quantifying Progress in Linux-based Firmware RehostingIoannis Angelakopoulos, Gianluca Stringhini, Manuel EgeleUSENIX Security 2024 · 5 citations
  5. Accurate and Efficient Recurring Vulnerability Detection for IoT FirmwareHaoyu Xiao, Yuan Zhang, Minghang Shen, Chaoyang Lin et al.CCS 2024 · 5 citations

Builds on17

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens et al.S&P 2016 · 1,085 citations
  2. Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 citations
  3. FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process EmulationYaowen Zheng, Ali Davanian, Heng Yin, Chengyu Song et al.USENIX Security 2019 · 279 citations
  4. What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded DevicesMarius Muench, Jan Stijohann, Frank Kargl, Aurélien Francillon et al.NDSS 2018 · 202 citations
  5. Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky et al.S&P 2020 · 128 citations

Related papers

  1. Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson et al.USENIX Security 2022
  2. Firmenstein: Scaling Dynamic Analysis for Linux-Based Firmware Services via API-Centric Intervention Code SynthesisYanzhong Wang, Wenhui Zhang, Ruigang Liang, Kai Chen et al.USENIX Security 2026
  3. SHiFT: Semi-hosted Fuzz Testing for Embedded ApplicationsAlejandro Mera, Changming Liu, Ruimin Sun, Engin Kirda et al.USENIX Security 2024 · 15 citations
  4. User-Space Dependency-Aware Rehosting for Linux-Based Firmware BinariesChuan Qin, Cen Zhang, Yaowen Zheng, Puzhuo Liu et al.NDSS 2026 · 2 citations
  5. Protocol-Aware Firmware Rehosting for Effective Fuzzing of Embedded Network StacksMoritz Bley, Tobias Scharnowski, Simon Wörner, Moritz Schloegel et al.CCS 2025
Dusk over the sea between two cliffs drawn in fine vertical lines