Lune

CCS2022顶会

MetaEmu: An Architecture Agnostic Rehosting Framework for Automotive Firmware

Zitai Chen, Sam L. Thomas, Flavio D. Garcia

摘要

In this paper we present MetaEmu, an architecture-agnostic emulator synthesizer geared towards rehosting and security analysis of automotive firmware. MetaEmu improves over existing rehosting environments in two ways: Firstly, it solves the hitherto openproblem of a lack of generic Virtual Execution Environments (VXEs) for rehosting by synthesizing processor simulators from Ghidra's language definitions. In doing so, MetaEmu can simulate any processor supported by a vast and growing library of open-source definitions. In MetaEmu, we use a specification-based approach to cover peripherals, execution models, and analyses, which allows our framework to be easily extended. Secondly, MetaEmu can rehost and analyze multiple targets, each of different architecture, simultaneously, and share analysis facts between each target's analysis environment, a technique we call inter-device analysis. We show that the flexibility afforded by our approach does not lead to a performance trade-off-MetaEmu lifts rehosted firmware to an optimized intermediate representation, and provides performance comparable to existing emulation tools, such as Unicorn. Our evaluation spans five different architectures, bare-metal and RTOS-based firmware, and three kinds of automotive Electronic Control Unit (ECU) from four distinct vendors-none of which can be rehosted or emulated by current tools, due to lack of processor support. Further, we show how MetaEmu enables a diverse set of analyses by implementing a fuzzer, a symbolic executor for solving peripheral access checks, a CAN ID reverse engineering tool, and an inter-device coverage tracker.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis 引用了 Inception: System-Wide Security Testing of Real-World Embedded Systems Software
  • DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis
  • Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 Inception: System-Wide Security Testing of Real-World Embedded Systems Software
  • Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 Icicle: A Re-designed Emulator for Grey-Box Firmware Fuzzing
  • Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 LEMIX: Enabling Testing of Embedded Applications as Linux Applications
  • Khost: KVM-based Near Native MCU Firmware Rehosting 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • GDMA: Fully Automated DMA Rehosting via Iterative Type Overlays 引用了 DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis
  • GDMA: Fully Automated DMA Rehosting via Iterative Type Overlays 引用了 SoK: Prudent Evaluation Practices for Fuzzing
  • GDMA: Fully Automated DMA Rehosting via Iterative Type Overlays 引用了 Icicle: A Re-designed Emulator for Grey-Box Firmware Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware Analysis
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Inception: System-Wide Security Testing of Real-World Embedded Systems Software 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Icicle: A Re-designed Emulator for Grey-Box Firmware Fuzzing 引用了 Inception: System-Wide Security Testing of Real-World Embedded Systems Software
  • LEMIX: Enabling Testing of Embedded Applications as Linux Applications 引用了 Inception: System-Wide Security Testing of Real-World Embedded Systems Software
  • LEMIX: Enabling Testing of Embedded Applications as Linux Applications 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
  2. Icicle: A Re-designed Emulator for Grey-Box Firmware FuzzingMichael Chesser, Surya Nepal, Damith C. RanasingheISSTA 2023 · 10 次引用
  3. Khost: KVM-based Near Native MCU Firmware RehostingChunlin Wang, Yicheng Yang, Yuan Zhang, Haoyu Xiao 等USENIX Security 2026
  4. GDMA: Fully Automated DMA Rehosting via Iterative Type OverlaysTobias Scharnowski, Simeon Hoffmann, Moritz Bley, Simon Wörner 等USENIX Security 2025
  5. LEMIX: Enabling Testing of Embedded Applications as Linux ApplicationsSai Ritvik Tanksalkar, Siddharth Muralee, Srihari Danduri, Paschal C. Amusuo 等USENIX Security 2025

它引用的 Paper13

  1. What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded DevicesMarius Muench, Jan Stijohann, Frank Kargl, Aurélien Francillon 等NDSS 2018 · 202 次引用
  2. egg: Fast and extensible equality saturationMax Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt 等POPL 2021 · 170 次引用
  3. Lock It and Still Lose It - on the (In)Security of Automotive Remote Keyless Entry SystemsFlavio D. Garcia, David F. Oswald, Timo Kasper, Pierre PavlidèsUSENIX Security 2016 · 151 次引用
  4. Inception: System-Wide Security Testing of Real-World Embedded Systems SoftwareNassim Corteggiani, Giovanni Camurati, Aurélien FrancillonUSENIX Security 2018 · 117 次引用
  5. DICE: Automatic Emulation of DMA Input Channels for Dynamic Firmware AnalysisAlejandro Mera, Bo Feng, Long Lu, Engin KirdaS&P 2021 · 81 次引用

相关 Paper

  1. Jetset: Targeted Firmware Rehosting for Embedded SystemsEvan Johnson, Maxwell Bland, Yifei Zhu, Joshua Mason 等USENIX Security 2021 · 76 次引用
  2. Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson 等USENIX Security 2022
  3. BoardRunner: Automatic Firmware Rehosting Using High-Fidelity Compositional Device ModelsMuhammad Hammad Bashir, Michael Rooney, Colin Smith, Dongyan Xu 等CCS 2026
  4. FlexEmu: Towards Flexible MCU Peripheral EmulationChongqing Lei, Zhen Ling, Xiangyu Xu, Shaofeng Li 等CCS 2025 · 1 次引用
  5. Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space EmulationHui Jun Tay, Kyle Zeng, Jayakrishna Menon Vadayath, Arvind S. Raj 等USENIX Security 2023
黄昏的海面,两侧是细线勾勒的悬崖