Lune

USENIX Security2021顶会

Jetset: Targeted Firmware Rehosting for Embedded Systems

Evan Johnson, Maxwell Bland, Yifei Zhu, Joshua Mason, Stephen Checkoway, Stefan Savage, Kirill Levchenko

摘要

The ability to execute code in an emulator is a fundamental part of modern vulnerability testing. Unfortunately, this poses a challenge for many embedded systems, where firmware expects to interact with hardware devices specific to the target. Getting embedded system firmware to run outside its native environment, termed rehosting, requires emulating these hardware devices with enough accuracy to convince the firmware that it is executing on the target hardware. However, full fidelity emulation of target devices (which requires considerable engineering effort) may not be necessary to boot the firmware to a point of interest for an analyst (for example, a point where fuzzer input can be injected). We hypothesized that, for the firmware to boot successfully, it is sufficient to emulate only the behavior expected by the firmware, and that this behavior could be inferred automatically. To test this hypothesis, we developed and implemented Jetset, a system that uses symbolic execution to infer what behavior firmware expects from a target device. Jetset can generate devices models for hardware peripherals in C, allowing an analyst to boot the firmware in an emulator (e.g., QEMU). We successfully applied Jetset to thirteen distinct pieces of firmware together representing three architectures, three application domains (power grid, avionics, and consumer electronics), and five different operating systems. We also demonstrate how Jetset-assisted rehosting facilitates fuzztesting, a common security analysis technique, on an avionics embedded system, in which we found a previously unknown privilege escalation vulnerability.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 29 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Leveraging Semantic Relations in Code and Data to Enhance Taint Analysis of Embedded Systems 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation
  • P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling 引用了 FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution
  • P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation 引用了 P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling
  • What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware Emulation 引用了 HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation
  • Fuzzing Embedded Systems using Debug Interfaces 引用了 P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling
  • Fuzzing Embedded Systems using Debug Interfaces 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Fuzzing Embedded Systems using Debug Interfaces 引用了 HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation
  • \mu AFL: Non-intrusive Feedback-driven Fuzzing for Microcontroller Firmware 引用了 P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface Modeling
  • \mu AFL: Non-intrusive Feedback-driven Fuzzing for Microcontroller Firmware 引用了 FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic Execution
  • \mu AFL: Non-intrusive Feedback-driven Fuzzing for Microcontroller Firmware 引用了 HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation
  • HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware ImagesFabio Gritti, Fabio Pagani, Ilya Grishchenko, Lukas Dresel 等S&P 2022 · 31 次引用
  2. μAFL\mu AFL: Non-intrusive Feedback-driven Fuzzing for Microcontroller FirmwareWenqiang Li, Jiameng Shi, Fengjun Li, Jingqiang Lin 等ICSE 2022 · 27 次引用
  3. Fuzzing Embedded Systems using Debug InterfacesMax Eisele, Daniel Ebert, Christopher Huth, Andreas ZellerISSTA 2023 · 20 次引用
  4. What Your Firmware Tells You Is Not How You Should Emulate It: A Specification-Guided Approach for Firmware EmulationWei Zhou, Lan Zhang, Le Guan, Peng Liu 等CCS 2022 · 18 次引用
  5. 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 次引用

它引用的 Paper5

  1. Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
  2. What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded DevicesMarius Muench, Jan Stijohann, Frank Kargl, Aurélien Francillon 等NDSS 2018 · 202 次引用
  3. FirmUSB: Vetting USB Device Firmware using Domain Informed Symbolic ExecutionGrant Hernandez, Farhaan Fowze, Dave (Jing) Tian, Tuba Yavuz 等CCS 2017 · 98 次引用
  4. P2IM: Scalable and Hardware-independent Firmware Testing via Automatic Peripheral Interface ModelingBo Feng, Alejandro Mera, Long LuUSENIX Security 2020
  5. HALucinator: Firmware Re-hosting Through Abstraction Layer EmulationAbraham A. Clements, Eric Gustafson, Tobias Scharnowski, Paul Grosen 等USENIX Security 2020

相关 Paper

  1. Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson 等USENIX Security 2022
  2. FirmGuide: Boosting the Capability of Rehosting Embedded Linux Kernels through Model-Guided Kernel ExecutionQiang Liu, Cen Zhang, Lin Ma, Muhui Jiang 等ASE 2021 · 10 次引用
  3. Forming Faster Firmware FuzzersLukas Seidel, Dominik Christian Maier, Marius MuenchUSENIX Security 2023
  4. BoardRunner: Automatic Firmware Rehosting Using High-Fidelity Compositional Device ModelsMuhammad Hammad Bashir, Michael Rooney, Colin Smith, Dongyan Xu 等CCS 2026
  5. MetaEmu: An Architecture Agnostic Rehosting Framework for Automotive FirmwareZitai Chen, Sam L. Thomas, Flavio D. GarciaCCS 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖