Icicle: A Re-designed Emulator for Grey-Box Firmware Fuzzing
摘要
Emulation-based fuzzers enable testing binaries without source code and facilitate testing embedded applications where automated execution on the target hardware architecture is difficult and slow. The instrumentation techniques added to extract feedback and guide input mutations towards generating effective test cases is at the core of modern fuzzers. But, modern emulation-based fuzzers have evolved by re-purposing general-purpose emulators; consequently, developing and integrating fuzzing techniques, such as instrumentation methods, is difficult and often added in an ad-hoc manner, specific to an instruction set architecture (ISA). This limits state-of-the-art fuzzing techniques to a few ISAs such as x86/x86-64 or ARM/AArch64; a significant problem for firmware fuzzing of diverse ISAs. This study presents our efforts to re-think emulation for fuzzing. We design and implement a fuzzing-specific, multi-architecture emulation framework-Icicle. We demonstrate the capability to add instrumentation once, in an architecture agnostic manner, with low execution overhead. We employ Icicle as the emulator for a state-of-the-art ARM firmware fuzzer-Fuzzware-and replicate results. Significantly, we demonstrate the availability of new instrumentation in Icicle enabled the discovery of new bugs. We demonstrate the fidelity of Icicle and efficacy of architecture agnostic instrumentation by discovering bugs in benchmarks that require a known and specific operational capability of instrumentation techniques, across a diverse set of instruction set architectures (x86, ARM/AArch64, RISC-V, MIPS). Further, to demonstrate the effectiveness of Icicle to discover bugs in a currently unsupported architecture in emulation-based fuzzers, we perform a fuzzing campaign with real-world firmware binaries for Texas Instruments' MSP430 ISA and discovered 7 new bugs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware 引用了 Angora: Efficient Fuzzing by Principled Search
- FirmReBugger: A Benchmark Framework for Monolithic Firmware Fuzzers 引用了 MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware
- FirmReBugger: A Benchmark Framework for Monolithic Firmware Fuzzers 引用了 REDQUEEN: Fuzzing with Input-to-State Correspondence
- FirmReBugger: A Benchmark Framework for Monolithic Firmware Fuzzers 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- FirmReBugger: A Benchmark Framework for Monolithic Firmware Fuzzers 引用了 Evaluating Fuzz Testing
- Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware
- Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
- Stop Starving or Stuffing Me: Boosting Firmware Fuzzing Efficiency with On-Demand Input Delivery 引用了 MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic Firmware
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- REDQUEEN: Fuzzing with Input-to-State Correspondence 引用了 Angora: Efficient Fuzzing by Principled Search
- Angora: Efficient Fuzzing by Principled Search 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- Evaluating Fuzz Testing 引用了 LAVA: Large-Scale Automated Vulnerability Addition
- Evaluating Fuzz Testing 引用了 Angora: Efficient Fuzzing by Principled Search
引用它的顶会 Paper10
- MultiFuzz: A Multi-Stream Fuzzer For Testing Monolithic FirmwareMichael Chesser, Surya Nepal, Damith C. RanasingheUSENIX Security 2024 · 13 次引用
- Stop Starving or Stuffing Me: Boosting Firmware Fuzzing Efficiency with On-Demand Input DeliveryShandian Shen, Wei Zhou, Keming Zhao, Peng Liu 等S&P 2026 · 1 次引用
- Firmrca: Towards Post-Fuzzing Analysis on ARM Embedded Firmware with Efficient Event-Based Fault LocalizationBoyu Chang, Binbin Zhao, Qiao Zhang, Peiyu Liu 等S&P 2025
- FirmReBugger: A Benchmark Framework for Monolithic Firmware FuzzersMathew Duong, Michael Chesser, Guy Farrelly, Surya Nepal 等USENIX Security 2026
- Khost: KVM-based Near Native MCU Firmware RehostingChunlin Wang, Yicheng Yang, Yuan Zhang, Haoyu Xiao 等USENIX Security 2026
它引用的 Paper26
- Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei 等CCS 2018 · 753 次引用
- Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
- Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
- REDQUEEN: Fuzzing with Input-to-State CorrespondenceCornelius Aschermann, Sergej Schumilo, Tim Blazytko, Robert Gawlik 等NDSS 2019 · 413 次引用
- LAVA: Large-Scale Automated Vulnerability AdditionBrendan Dolan-Gavitt, Patrick Hulin, Engin Kirda, Tim Leek 等S&P 2016 · 354 次引用
相关 Paper
- Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson 等USENIX Security 2022
- Forming Faster Firmware FuzzersLukas Seidel, Dominik Christian Maier, Marius MuenchUSENIX Security 2023
- P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface ModelingBo Feng, Alejandro Mera, Long LuUSENIX Security 2020
- SHiFT: Semi-hosted Fuzz Testing for Embedded ApplicationsAlejandro Mera, Changming Liu, Ruimin Sun, Engin Kirda 等USENIX Security 2024 · 15 次引用
- : Non-intrusive Feedback-driven Fuzzing for Microcontroller FirmwareWenqiang Li, Jiameng Shi, Fengjun Li, Jingqiang Lin 等ICSE 2022 · 27 次引用
