Karonte: Detecting Insecure Multi-binary Interactions in Embedded Firmware
Nilo Redini, Aravind Machiry, Ruoyu Wang, Chad Spensky, Andrea Continella, Yan Shoshitaishvili, Christopher Kruegel, Giovanni Vigna
摘要
Low-power, single-purpose embedded devices (e.g., routers and IoT devices) have become ubiquitous. While they automate and simplify many aspects of users’ lives, recent large-scale attacks have shown that their sheer number poses a severe threat to the Internet infrastructure. Unfortunately, the software on these systems is hardware-dependent, and typically executes in unique, minimal environments with non-standard configurations, making security analysis particularly challenging. Many of the existing devices implement their functionality through the use of multiple binaries. This multi-binary service implementation renders current static and dynamic analysis techniques either ineffective or inefficient, as they are unable to identify and adequately model the communication between the various executables. In this paper, we present Karonte, a static analysis approach capable of analyzing embedded-device firmware by modeling and tracking multi-binary interactions. Our approach propagates taint information between binaries to detect insecure interactions and identify vulnerabilities. We first evaluated Karonte on 53 firmware samples from various vendors, showing that our prototype tool can successfully track and constrain multi-binary interactions. This led to the discovery of 46 zero-day bugs. Then, we performed a large-scale experiment on 899 different samples, showing that Karonte scales well with firmware samples of different size and complexity.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 38 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- VUzzer: Application-aware Evolutionary Fuzzing 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT Devices 引用了 VUzzer: Application-aware Evolutionary Fuzzing
- Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT Devices 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT Devices 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT Devices 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
- FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation 引用了 Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded Systems
- Efficient greybox fuzzing of applications in Linux-based IoT devices via enhanced user-mode emulation 引用了 Towards Automated Dynamic Analysis for Linux-based 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
- Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet Inference 引用了 IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based Fuzzing
- SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis 引用了 Driller: Augmenting Fuzzing Through Selective Symbolic Execution
引用它的顶会 Paper38
- Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet InferenceXiaotao Feng, Ruoxi Sun, Xiaogang Zhu, Minhui Xue 等CCS 2021 · 146 次引用
- Diane: Identifying Fuzzing Triggers in Apps to Generate Under-constrained Inputs for IoT DevicesNilo Redini, Andrea Continella, Dipanjan Das, Giulio De Pasquale 等S&P 2021 · 72 次引用
- Sharing More and Checking Less: Leveraging Common Input Keywords to Detect Bugs in Embedded SystemsLibo Chen, Yanhao Wang, Quanpu Cai, Yunfan Zhan 等USENIX Security 2021 · 71 次引用
- FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal FirmwareHaohuang Wen, Zhiqiang Lin, Yinqian ZhangCCS 2020 · 47 次引用
- 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 次引用
它引用的 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 次引用
- Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher 等NDSS 2016 · 1,021 次引用
- VUzzer: Application-aware Evolutionary FuzzingSanjay Rawat, Vivek Jain, Ashish Kumar, Lucian Cojocar 等NDSS 2017 · 700 次引用
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
- IoTFuzzer: Discovering Memory Corruptions in IoT Through App-based FuzzingJiongyi Chen, Wenrui Diao, Qingchuan Zhao, Chaoshun Zuo 等NDSS 2018 · 311 次引用
相关 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
- Bridge: High-Order Taint Vulnerabilities Detection in Linux-Based IoT FirmwareJiaqian Peng, Puzhuo Liu, Yicheng Zeng, Kai Cheng 等S&P 2026 · 1 次引用
- 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 次引用
- P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface ModelingBo Feng, Alejandro Mera, Long LuUSENIX Security 2020
