Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
Libo Chen, Yanhao Wang, Quanpu Cai, Yunfan Zhan, Hong Hu, Jiaqi Linghu, Qinsheng Hou, Chao Zhang, Haixin Duan, Zhi Xue
摘要
IoT devices have brought invaluable convenience to our daily life. However, their pervasiveness also amplifies the impact of security vulnerabilities. Many popular vulnerabilities of embedded systems reside in their vulnerable web services. Unfortunately, existing vulnerability detection methods cannot effectively nor efficiently analyze such web services: they either introduce heavy execution overheads or have many false positives and false negatives.
In this paper, we propose a novel static taint checking solution, SaTC, to effectively detect security vulnerabilities in web services provided by embedded devices. Our key insight is that, string literals on web interfaces are commonly shared between front-end files and back-end binaries to encode user input. We thus extract such common keywords from the frontend, and use them to locate reference points in the back-end, which indicate the input entry. Then, we apply targeted dataflow analysis to accurately detect dangerous uses of the untrusted user input. We implemented a prototype of SaTC and evaluated it on 39 embedded system firmwares from six popular vendors. SaTC discovered 33 unknown bugs, of which 30 are confirmed by CVE/CNVD/PSV. Compared to the state-ofthe-art tool KARONTE, SaTC found significantly more bugs on the test set. It shows that, SaTC is effective in discovering bugs in embedded systems.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 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 引用了 Sensitive Information Tracking in Commodity IoT
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Operation Mango: Scalable Discovery of Taint-Style Vulnerabilities in Binary Firmware Services 引用了 Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation
- 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 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- 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
- Your Firmware Has Arrived: A Study of Firmware Update Vulnerabilities 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias Analysis 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias Analysis 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias Analysis 引用了 Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation
- Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias Analysis 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation 引用了 FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process Emulation
- FITS: Inferring Intermediate Taint Sources for Effective Vulnerability Analysis of IoT Device Firmware 引用了 Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
- FITS: Inferring Intermediate Taint Sources for Effective Vulnerability Analysis of IoT Device Firmware 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- FITS: Inferring Intermediate Taint Sources for Effective Vulnerability Analysis of IoT Device Firmware 引用了 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 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
引用它的顶会 Paper26
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulationYaowen Zheng, Yuekang Li, Cen Zhang, Hongsong Zhu 等ISSTA 2022 · 34 次引用
- Your Firmware Has Arrived: A Study of Firmware Update VulnerabilitiesYuhao Wu, Jinwen Wang, Yujie Wang, Shixuan Zhai 等USENIX Security 2024 · 33 次引用
- Detecting Vulnerabilities in Linux-Based Embedded Firmware with SSE-Based On-Demand Alias AnalysisKai Cheng, Yaowen Zheng, Tao Liu, Le Guan 等ISSTA 2023 · 28 次引用
- FITS: Inferring Intermediate Taint Sources for Effective Vulnerability Analysis of IoT Device FirmwarePuzhuo Liu, Yaowen Zheng, Chengnian Sun, Chuan Qin 等ASPLOS 2023 · 21 次引用
- 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 次引用
它引用的 Paper9
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based FuzzingJiongyi Chen, Wenrui Diao, Qingchuan Zhao, Chaoshun Zuo 等NDSS 2018 · 311 次引用
- FIRM-AFL: High-Throughput Greybox Fuzzing of IoT Firmware via Augmented Process EmulationYaowen Zheng, Ali Davanian, Heng Yin, Chengyu Song 等USENIX Security 2019 · 279 次引用
- Sensitive Information Tracking in Commodity IoTZ. Berkay Celik, Leonardo Babun, Amit Kumar Sikder, Hidayet Aksu 等USENIX Security 2018 · 236 次引用
- Karonte: Detecting Insecure Multi-binary Interactions in Embedded FirmwareNilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky 等S&P 2020 · 128 次引用
相关 Paper
- Leveraging Semantic Relations in Code and Data to Enhance Taint Analysis of Embedded SystemsJiaxu Zhao, Yuekang Li, Yanyan Zou, Zhaohui Liang 等USENIX Security 2024 · 16 次引用
- Faster and Better: Detecting Vulnerabilities in Linux-based IoT Firmware with Optimized Reaching Definition AnalysisZicong Gao, Chao Zhang, Hangtian Liu, Wenhou Sun 等NDSS 2024
- FirmCross: Detecting Taint-style Vulnerabilities in Modern C-Lua Hybrid Web Services of Linux-based FirmwareRunhao Liu, Jiarun Dai, Haoyu Xiao, Yuan Zhang 等NDSS 2026 · 1 次引用
- Game of Hide-and-Seek: Exposing Hidden Interfaces in Embedded Web Applications of IoT DevicesWei Xie, Jiongyi Chen, Zhenhua Wang, Chao Feng 等WWW 2022 · 26 次引用
- EAGLEYE: Exposing Hidden Web Interfaces in IoT Devices via Routing AnalysisHangtian Liu, Lei Zheng, Shuitao Gan, Chao Zhang 等NDSS 2025
