Lune

NDSS2024Top-tier venue

Faster and Better: Detecting Vulnerabilities in Linux-based IoT Firmware with Optimized Reaching Definition Analysis

Zicong Gao, Chao Zhang, Hangtian Liu, Wenhou Sun, Zhizhuo Tang, Liehui Jiang, Jianjun Chen, Yong Xie

Abstract

—IoT devices are often found vulnerable, i.e., un-trusted inputs may trigger potential vulnerabilities and flow to sensitive operations in the firmware, which could cause severe damage. As such vulnerabilities are in general taint-style, a promising solution to find them is static taint analysis. However, existing solutions have limited e ffi ciency and e ff ectiveness. In this paper, we propose a new e ffi cient and e ff ective taint analysis solution, namely HermeScan, to discover such vulnerabilities, which utilizes reaching definition analysis (RDA) to conduct taint analysis and gets much fewer false negatives, false positives, and time costs. We have implemented a prototype of HermeScan and conducted a thorough evaluation on two datasets, i.e., one 0-day dataset with 30 latest firmware and one N-day dataset with 98 older firmware, and compared with two state-of-the-art (SOTA) solutions, i.e., KARONTE and SaTC. In terms of e ff ectiveness, HermeScan, SaTC, and KARONTE find 163, 32, and 0 vulnerabilities in the 0-day dataset respectively. In terms of accuracy, the true positive rates of HermeScan, SaTC, and KARONTE are 81%, 42%, and 0% in the 0-day dataset. In terms of e ffi ciency, HermeScan is 7.5X and 3.8X faster than SaTC and KARONTE on average in finding 0-day vulnerabilities.

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.

8 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

  • 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
  • Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems cites SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Bond: Constraint-Directed Fuzzing for Automated Validation of Taint Analysis Results in Linux-based IoT Firmware cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • Bond: Constraint-Directed Fuzzing for Automated Validation of Taint Analysis Results in Linux-based IoT Firmware cites Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
  • Bond: Constraint-Directed Fuzzing for Automated Validation of Taint Analysis Results in Linux-based IoT Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Bond: Constraint-Directed Fuzzing for Automated Validation of Taint Analysis Results in Linux-based IoT Firmware cites Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • PANGOLIN: Fuzzing Multilingual IoT Firmware with LLM-Driven Code Analysis cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • PANGOLIN: Fuzzing Multilingual IoT Firmware with LLM-Driven Code Analysis cites Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
  • PANGOLIN: Fuzzing Multilingual IoT Firmware with LLM-Driven Code Analysis cites Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based Firmware cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based Firmware cites Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
  • FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based Firmware cites Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • 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 Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
  • 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 Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • 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
  • Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference cites Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
  • Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. 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
  2. FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based FirmwareRunhao Liu, Jiarun Dai, Haoyu Xiao, Yuan Zhang et al.NDSS 2026 · 1 citation
  3. TypeForge: Synthesizing and Selecting Best-Fit Composite Data Types for Stripped BinariesYanzhong Wang, Ruigang Liang, Yilin Li, Peiwei Hu et al.S&P 2025
  4. Bond: Constraint-Directed Fuzzing for Automated Validation of Taint Analysis Results in Linux-based IoT FirmwareJiaqian Peng, Puzhuo Liu, Kai Cheng, Zhaoteng Yan et al.USENIX Security 2026
  5. PANGOLIN: Fuzzing Multilingual IoT Firmware with LLM-Driven Code AnalysisZhipeng Jia, Xiaokang Yin, Shuitao Gan, Chao Zhang et al.USENIX Security 2026

Builds on15

  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. 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
  3. Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet InferenceXiaotao Feng, Ruoxi Sun, Xiaogang Zhu, Minhui Xue et al.CCS 2021 · 146 citations
  4. Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky et al.S&P 2020 · 128 citations
  5. Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded SystemsLibo Chen, Yanhao Wang, Quanpu Cai, Yunfan Zhan et al.USENIX Security 2021 · 71 citations

Related papers

  1. Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias AnalysisKai Cheng, Yaowen Zheng, Tao Liu, Le Guan et al.ISSTA 2023 · 28 citations
  2. 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
  3. OctopusTaint: Advanced Data Flow Analysis for Detecting Taint-Based Vulnerabilities in IoT/IIoT FirmwareAbdullah Qasem, Mourad Debbabi, Andrei SoeanuCCS 2024 · 3 citations
  4. Leveraging Semantic Relations in Code and Data to Enhance Taint Analysis of Embedded SystemsJiaxu Zhao, Yuekang Li, Yanyan Zou, Zhaohui Liang et al.USENIX Security 2024 · 16 citations
  5. Bridge: High-Order Taint Vulnerabilities Detection in Linux-Based IoT FirmwareJiaqian Peng, Puzhuo Liu, Yicheng Zeng, Kai Cheng et al.S&P 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines