Lune

USENIX Security2020顶会

HALucinator: Firmware Re-hosting Through Abstraction Layer Emulation

Abraham A. Clements, Eric Gustafson, Tobias Scharnowski, Paul Grosen, David Fritz, Christopher Kruegel, Giovanni Vigna, Saurabh Bagchi, Mathias Payer

摘要

Given the increasing ubiquity of online embedded devices, analyzing their firmware is important to security, privacy, and safety. The tight coupling between hardware and firmware and the diversity found in embedded systems makes it hard to perform dynamic analysis on firmware. However, firmware developers regularly develop code using abstractions, such as Hardware Abstraction Layers (HALs), to simplify their job. We leverage such abstractions as the basis for the re-hosting and analysis of firmware. By providing high-level replacements for HAL functions (a process termed High-Level Emulation – HLE), we decouple the hardware from the firmware. This approach works by first locating the library functions in a firmware sample, through binary analysis, and then providing generic implementations of these functions in a full-system emulator. We present these ideas in a prototype system, HALucinator, able to re-host firmware, and allow the virtual device to be used normally. First, we introduce extensions to existing library matching techniques that are needed to identify library functions in binary firmware, to reduce collisions, and for inferring additional function names. Next, we demonstrate the re-hosting process, through the use of simplified handlers and peripheral models, which make the process fast, flexible, and portable between firmware samples and chip vendors. Finally, we demonstrate the practicality of HLE for security analysis, by supplementing HALucinator with the American Fuzzy Lop fuzzer, to locate multiple previously-unknown vulnerabilities in firmware middleware libraries.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Nyx-net: network fuzzing with incremental snapshots 引用了 Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine Types
  • What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Automatic Firmware Emulation through Invalidity-guided Knowledge Inference 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Automatic Firmware Emulation through Invalidity-guided Knowledge Inference 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Jetset: Targeted Firmware Rehosting for Embedded Systems 引用了 Towards Automated Dynamic Analysis for Linux-based Embedded Firmware
  • Jetset: Targeted Firmware Rehosting for Embedded Systems 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
  • Debin: Predicting Debug Information in Stripped Binaries 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • 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 引用了 What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper62

  1. Snipuzz: Black-box Fuzzing of IoT Firmware via Message Snippet InferenceXiaotao Feng, Ruoxi Sun, Xiaogang Zhu, Minhui Xue 等CCS 2021 · 146 次引用
  2. Nyx: Greybox Hypervisor Fuzzing using Fast Snapshots and Affine TypesSergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner 等USENIX Security 2021 · 102 次引用
  3. Nyx-net: network fuzzing with incremental snapshotsSergej Schumilo, Cornelius Aschermann, Andrea Jemmett, Ali Abbasi 等EuroSys 2022 · 76 次引用
  4. Automatic Firmware Emulation through Invalidity-guided Knowledge InferenceWei Zhou, Le Guan, Peng Liu, Yuqing ZhangUSENIX Security 2021 · 76 次引用
  5. Jetset: Targeted Firmware Rehosting for Embedded SystemsEvan Johnson, Maxwell Bland, Yifei Zhu, Joshua Mason 等USENIX Security 2021 · 76 次引用

它引用的 Paper4

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
  2. Towards Automated Dynamic Analysis for Linux-based Embedded FirmwareDaming D. Chen, Maverick Woo, David Brumley, Manuel EgeleNDSS 2016 · 428 次引用
  3. What You Corrupt Is Not What You Crash: Challenges in Fuzzing Embedded DevicesMarius Muench, Jan Stijohann, Frank Kargl, Aurélien Francillon 等NDSS 2018 · 202 次引用
  4. Debin: Predicting Debug Information in Stripped BinariesJingxuan He, Pesho Ivanov, Petar Tsankov, Veselin Raychev 等CCS 2018 · 148 次引用

相关 Paper

  1. BoardRunner: Automatic Firmware Rehosting Using High-Fidelity Compositional Device ModelsMuhammad Hammad Bashir, Michael Rooney, Colin Smith, Dongyan Xu 等CCS 2026
  2. Forming Faster Firmware FuzzersLukas Seidel, Dominik Christian Maier, Marius MuenchUSENIX Security 2023
  3. Fuzzware: Using Precise MMIO Modeling for Effective Firmware FuzzingTobias Scharnowski, Nils Bars, Moritz Schloegel, Eric Gustafson 等USENIX Security 2022
  4. SHiFT: Semi-hosted Fuzz Testing for Embedded ApplicationsAlejandro Mera, Changming Liu, Ruimin Sun, Engin Kirda 等USENIX Security 2024 · 15 次引用
  5. LEMIX: Enabling Testing of Embedded Applications as Linux ApplicationsSai Ritvik Tanksalkar, Siddharth Muralee, Srihari Danduri, Paschal C. Amusuo 等USENIX Security 2025
黄昏的海面,两侧是细线勾勒的悬崖