IFIZZ: Deep-State and Efficient Fault-Scenario Generation to Test IoT Firmware
Peiyu Liu, Shouling Ji, Xuhong Zhang, Qinming Dai, Kangjie Lu, Lirong Fu, Wenzhi Chen, Peng Cheng, Wenhai Wang, Raheem Beyah
Abstract
IoT devices are abnormally prone to diverse errors due to harsh environments and limited computational capabilities. As a result, correct error handling is critical in IoT. Implementing correct error handling is non-trivial, thus requiring extensive testing such as fuzzing. However, existing fuzzing cannot effectively test IoT error-handling code. First, errors typically represent corner cases, thus are hard to trigger. Second, testing error-handling code would frequently crash the execution, which prevents fuzzing from testing following deep error paths.In this paper, we propose IFIZZ, a new bug detection system specifically designed for testing error-handling code in Linux-based IoT firmware. IFIZZ first employs an automated binary-based approach to identify realistic runtime errors by analyzing errors and error conditions in closed-source IoT firmware. Then, IFIZZ employs state-aware and bounded error generation to reach deep error paths effectively. We implement and evaluate IFIZZ on 10 popular IoT firmware. The results show that IFIZZ can find many bugs hidden in deep error paths. Specifically, IFIZZ finds 109 critical bugs, 63 of which are even in widely used IoT libraries. IFIZZ also features high code coverage and efficiency, and covers 67.3% more error paths than normal execution. Meanwhile, the depth of error handling covered by IFIZZ is 7.3 times deeper than that covered by the state-of-the-art method. Furthermore, IFIZZ has been practically adopted and deployed in a worldwide leading IoT company. We will open-source IFIZZ to facilitate further research in this area.
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.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing cites Scalable Graph-based Bug Search for Firmware Images
- A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmware cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmware cites Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmware cites Scalable Graph-based Bug Search for Firmware Images
- CPscan: Detecting Bugs Caused by Code Pruning in IoT Kernels cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- CPscan: Detecting Bugs Caused by Code Pruning in IoT Kernels cites IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- CPscan: Detecting Bugs Caused by Code Pruning in IoT Kernels cites Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- CPscan: Detecting Bugs Caused by Code Pruning in IoT Kernels cites Scalable Graph-based Bug Search for Firmware Images
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research cites IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research cites CPscan: Detecting Bugs Caused by Code Pruning in IoT Kernels
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research cites Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability Research cites Scalable Graph-based Bug Search for Firmware Images
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection cites Scalable Graph-based Bug Search for Firmware Images
- Scalable Graph-based Bug Search for Firmware Images cites Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Arguzz: Testing zkVMs for Soundness and Completeness Bugs cites No Peer, no Cry: Network Application Fuzzing via Fault Injection
Cited by top-tier papers6
- A large-scale empirical analysis of the vulnerabilities introduced by third-party components in IoT firmwareBinbin Zhao, Shouling Ji, Jiacheng Xu, Yuan Tian et al.ISSTA 2022 · 49 citations
- CPscan: Detecting Bugs Caused by Code Pruning in IoT KernelsLirong Fu, Shouling Ji, Kangjie Lu, Peiyu Liu et al.CCS 2021 · 7 citations
- No Peer, no Cry: Network Application Fuzzing via Fault InjectionNils Bars, Moritz Schloegel, Nico Schiller, Lukas Bernhard et al.CCS 2024 · 5 citations
- Arguzz: Testing zkVMs for Soundness and Completeness BugsChristoph Hochrainer, Valentin Wüstholz, Maria ChristakisUSENIX Security 2026 · 2 citations
- Mens Sana In Corpore Sano: Sound Firmware Corpora for Vulnerability ResearchRené Helmke, Elmar Padilla, Nils AschenbruckNDSS 2025
Builds on16
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin et al.CCS 2017 · 682 citations
- Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng et al.CCS 2016 · 456 citations
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 citations
- T-Fuzz: Fuzzing by Program TransformationHui Peng, Yan Shoshitaishvili, Mathias PayerS&P 2018 · 326 citations
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based FuzzingJiongyi Chen, Wenrui Diao, Qingchuan Zhao, Chaoshun Zuo et al.NDSS 2018 · 311 citations
Related papers
- Fuzzing Error Handling Code using Context-Sensitive Software Fault InjectionZu-Ming Jiang, Jia-Ju Bai, Kangjie Lu, Shi-Min HuUSENIX Security 2020
- Labrador: Response Guided Directed Fuzzing for Black-box IoT DevicesHangtian Liu, Shuitao Gan, Chao Zhang, Zicong Gao et al.S&P 2024 · 25 citations
- AidFuzzer: Adaptive Interrupt-Driven Firmware Fuzzing via Run-Time State RecognitionJianqiang Wang, Qinying Wang, Tobias Scharnowski, Li Shi et al.USENIX Security 2025
- WingMuzz: Blackbox Testing of IoT Protocols via Two-dimensional Fuzzing ScheduleXiaogang Zhu, Enze Dai, Xiaotao Feng, Shaohua Wang et al.ASE 2025
- P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface ModelingBo Feng, Alejandro Mera, Long LuUSENIX Security 2020
