vix.ing · top · new · best · stats · spec

Icicle: A Re-Designed Emulator for Grey-Box Firmware Fuzzing

2023/01/31 by Michael Chesser, Chesser, Michael, ‪Surya Nepal‬ +4 · 2 voices · 1 citation
Computer Science · Engineering · #Cryptography and Security (cs.CR) #FOS: Computer and information sciences #Radiation Effects in Electronics #Software Testing and Debugging Techniques #VLSI and Analog Circuit Testing #cs.CR

paper · pdf · doi:10.48550/arxiv.2301.13346

openalex publication_date 2023/01/31 · arxiv published 2023/01/31 · arxiv updated 2023/06/21 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

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, are 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 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 LAVA-M benchmark bugs, requiring a known and specific operational capability of instrumentation techniques, across a diverse set of instruction set architectures (x86-64, 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 MSP430 firmware binaries and discovered 7 new bugs.

Cited by

Discussions

Related