Lune

NDSS2020顶会

µRAI: Securing Embedded Systems with Return Address Integrity

Naif Saleh Almakhdhub, Abraham A. Clements, Saurabh Bagchi, Mathias Payer

摘要

Embedded systems are deployed in security critical environments and have become a prominent target for remote attacks. Microcontroller-based systems (MCUS) are particularly vulnerable due to a combination of limited resources and low level programming which leads to bugs. Since MCUS are often a part of larger systems, vulnerabilities may jeopardize not just the security of the device itself but that of other systems as well. For example, exploiting a WiFi System on Chip (SoC) allows an attacker to hijack the smart phone’s application processor. Control-flow hijacking targeting the backward edge (e.g., Return-Oriented Programming–ROP) remains a threat for MCUS. Current defenses are either susceptible to ROP-style attacks or require special hardware such as a Trusted Execution Environment (TEE) that is not commonly available on MCUS. We present μRAI , a compiler-based mitigation to prevent control-flow hijacking attacks targeting backward edges by enforcing the Return Address Integrity (RAI) property on MCUS. μRAI does not require any additional hardware such as TEE, making it applicable to the wide majority of MCUS. To achieve this, μRAI introduces a technique that moves return addresses from writable memory, to readable and executable memory. It repurposes a single general purpose register that is never spilled, and uses it to resolve the correct return location. We evaluate against the different control-flow hijacking attacks scenarios targeting return addresses (e.g., arbitrary write), and demonstrate how μRAI prevents them all. Moreover, our evaluation shows that μRAI enforces its protection with negligible overhead.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 Silhouette: Efficient Protected Shadow Stacks for Embedded Systems
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded Systems
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • SoK: Integrity, Attestation, and Auditing of Program Execution 引用了 On Bridging the Gap between Control Flow Integrity and Attestation Schemes
  • Silhouette: Efficient Protected Shadow Stacks for Embedded Systems 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Enforcing Unique Code Target Property for Control-Flow Integrity 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
  • Enforcing Unique Code Target Property for Control-Flow Integrity 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded Systems 引用了 Silhouette: Efficient Protected Shadow Stacks for Embedded Systems
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 Silhouette: Efficient Protected Shadow Stacks for Embedded Systems
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZoneJinwen Wang, Ao Li, Haoran Li, Chenyang Lu 等S&P 2022 · 69 次引用
  2. SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded SystemsXi Tan, Ziming ZhaoCCS 2023 · 13 次引用
  3. On Bridging the Gap between Control Flow Integrity and Attestation SchemesMahmoud Ammar, Ahmed Abdelraoof, Silviu VlasceanuUSENIX Security 2024 · 9 次引用
  4. SoK: Integrity, Attestation, and Auditing of Program ExecutionMahmoud Ammar, Adam Caulfield, Ivan De Oliveira NunesS&P 2025
  5. Silhouette: Efficient Protected Shadow Stacks for Embedded SystemsJie Zhou, Yufei Du, Zhuojia Shen, Lele Ma 等USENIX Security 2020

它引用的 Paper13

  1. Understanding the Mirai BotnetManos Antonakakis, Tim April, Michael D. Bailey, Matt Bernhard 等USENIX Security 2017 · 2,003 次引用
  2. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
  3. C-FLAT: Control-Flow Attestation for Embedded Systems SoftwareTigist Abera, N. Asokan, Lucas Davi, Jan-Erik Ekberg 等CCS 2016 · 311 次引用
  4. A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary LevelVictor van der Veen, Enes Göktas, Moritz Contag, Andre Pawlowski 等S&P 2016 · 227 次引用
  5. Enforcing Unique Code Target Property for Control-Flow IntegrityHong Hu, Chenxiong Qian, Carter Yagemann, Simon Pak Ho Chung 等CCS 2018 · 142 次引用

相关 Paper

  1. OAT: Attesting Operation Integrity of Embedded DevicesZhichuang Sun, Bo Feng, Long Lu, Somesh JhaS&P 2020 · 89 次引用
  2. Protecting Bare-Metal Embedded Systems with Privilege OverlaysAbraham A. Clements, Naif Saleh Almakhdhub, Khaled Saab, Prashast Srivastava 等S&P 2017 · 122 次引用
  3. SpecCFI: Mitigating Spectre Attacks using CFI Informed SpeculationEsmaeil Mohammadian Koruyeh, Shirin Haji Amin Shirazi, Khaled N. Khasawneh, Chengyu Song 等S&P 2020 · 74 次引用
  4. ACFA: Secure Runtime Auditing & Guaranteed Device Healing via Active Control Flow AttestationAdam Caulfield, Norrathep Rattanavipanon, Ivan De Oliveira NunesUSENIX Security 2023
  5. XCFI: Comprehensive Control-Flow Integrity for Arm TrustZone-MYunju Gu, Jaeyeol Park, Donghyun KwonUSENIX Security 2026
黄昏的海面,两侧是细线勾勒的悬崖