Lune

USENIX Security2025Top-tier venue

From Constraints to Cracks: Constraint Semantic Inconsistencies as Vulnerability Beacons for Embedded Systems

Jiaxu Zhao, Yuekang Li, Yanyan Zou, Yang Xiao, Naijia Jiang, Yeting Li, Nanyu Zhong, Bingwei Peng, Kunpeng Jian, Wei Huo

Abstract

Embedded systems have a profound impact on our daily lives and work by powering IoT devices and network devices. Ensuring their security is therefore critical. To enhance security and robustness, embedded systems often utilize constraints to validate user inputs. Through an empirical study, we identified that these constraints can be categorized into distinct types and may exhibit semantic inconsistencies across different components. Notably, over 86% of embedded system vulnerabilities originate from such inconsistencies. However, existing static analysis techniques struggle to systematically and accurately identify these inconsistencies, resulting in high false positive rates and an inability to detect certain vulnerabilities effectively. This paper introduces NÜWA, a novel static analysis technique that leverages constraint semantic inconsistencies to detect vulnerabilities in embedded systems. NÜWA achieves scalable and precise vulnerability discovery by addressing the challenges of identifying constraint semantics across diverse implementations and accurately extracting them. We implemented NÜWA and evaluated it using known vulnerability datasets, including 31 vulnerabilities from 13 vendors, and compared its performance to five state-of-the-art (SOTA) tools. NÜWA identified 18, 22, 6, 17, and 19 more vulnerabilities than the respective SOTA tools. Further analysis demonstrates that NÜWA effectively extracts constraints with minimal false positives. To date, NÜWA has uncovered 152 previously unknown vulnerabilities which are all confirmed by the developers, and 88 were assigned with CVE IDs.

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.

2 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 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
  • Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Through the Authentication Maze: Detecting Authentication Bypass Vulnerabilities in Firmware Binaries cites IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
  • Through the Authentication Maze: Detecting Authentication Bypass Vulnerabilities in Firmware Binaries cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Through the Authentication Maze: Detecting Authentication Bypass Vulnerabilities in Firmware Binaries cites Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Firmenstein: Scaling Dynamic Analysis for Linux-Based Firmware Services via API-Centric Intervention Code Synthesis cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Firmenstein: Scaling Dynamic Analysis for Linux-Based Firmware Services via API-Centric Intervention Code Synthesis cites FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
  • Firmenstein: Scaling Dynamic Analysis for Linux-Based Firmware Services via API-Centric Intervention Code Synthesis cites Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference
  • 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 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
  • 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 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference cites IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
  • 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 papers2

  1. Through the Authentication Maze: Detecting Authentication Bypass Vulnerabilities in Firmware BinariesNanyu Zhong, Yuekang Li, Yanyan Zou, Jiaxu Zhao et al.NDSS 2026
  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

Builds on20

  1. Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 citations
  2. IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based FuzzingJiongyi Chen, Wenrui Diao, Qingchuan Zhao, Chaoshun Zuo et al.NDSS 2018 · 311 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. Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet InferenceXiaotao Feng, Ruoxi Sun, Xiaogang Zhu, Minhui Xue et al.CCS 2021 · 146 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. 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
  2. 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
  3. 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
  4. Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space EmulationHui Jun Tay, Kyle Zeng, Jayakrishna Menon Vadayath, Arvind S. Raj et al.USENIX Security 2023
  5. An empirical study on the effectiveness of static C code analyzers for vulnerability detectionStephan Lipp, Sebastian Banescu, Alexander PretschnerISSTA 2022 · 99 citations
Dusk over the sea between two cliffs drawn in fine vertical lines