Lune

USENIX Security2020顶会

Silhouette: Efficient Protected Shadow Stacks for Embedded Systems

Jie Zhou, Yufei Du, Zhuojia Shen, Lele Ma, John Criswell, Robert J. Walls

摘要

Microcontroller-based embedded systems are increasingly used for applications that can have serious and immediate consequences if compromised-including automobile control systems, smart locks, drones, and implantable medical devices. Due to resource and execution-time constraints, C is the primary language used for programming these devices. Unfortunately, C is neither type-safe nor memory-safe, and control-flow hijacking remains a prevalent threat. This paper presents Silhouette: a compiler-based defense that efficiently guarantees the integrity of return addresses, significantly reducing the attack surface for control-flow hijacking. Silhouette combines an incorruptible shadow stack for return addresses with checks on forward control flow and memory protection to ensure that all functions return to the correct dynamic caller. To protect its shadow stack, Silhouette uses store hardening, an efficient intra-address space isolation technique targeting various ARM architectures that leverages special store instructions found on ARM processors. We implemented Silhouette for the ARMv7-M architecture, but our techniques are applicable to other common embedded ARM architectures. Our evaluation shows that Silhouette incurs a geometric mean of 1.3% and 3.4% performance overhead on two benchmark suites. Furthermore, we prototyped Silhouette-Invert, an alternative implementation of Silhouette, which incurs just 0.3% and 1.9% performance overhead, at the cost of a minor hardware change.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • PANIC: PAN-assisted Intra-process Memory Isolation on ARM 引用了 SoK: Shining Light on Shadow Stacks
  • SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded Systems 引用了 SoK: Shining Light on Shadow Stacks
  • SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded Systems 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded Systems 引用了 ACES: Automatic Compartments for Embedded Systems
  • OPEC: operation-based security isolation for bare-metal embedded systems 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • OPEC: operation-based security isolation for bare-metal embedded systems 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • OPEC: operation-based security isolation for bare-metal embedded systems 引用了 ACES: Automatic Compartments for Embedded Systems
  • Opportunistic Data Flow Integrity for Real-time Cyber-physical Systems Using Worst Case Execution Time Reservation 引用了 RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone
  • Opportunistic Data Flow Integrity for Real-time Cyber-physical Systems Using Worst Case Execution Time Reservation 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 ACES: Automatic Compartments for Embedded Systems
  • Protecting Bare-Metal Embedded Systems with Privilege Overlays 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Securing Real-Time Microcontroller Systems through Customized Memory View Switching 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • ACES: Automatic Compartments for Embedded Systems 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • ACES: Automatic Compartments for Embedded Systems 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

  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. OPEC: operation-based security isolation for bare-metal embedded systemsXia Zhou, Jiaqi Li, Wenlong Zhang, Yajin Zhou 等EuroSys 2022 · 18 次引用
  3. SHERLOC: Secure and Holistic Control-Flow Violation Detection on Embedded SystemsXi Tan, Ziming ZhaoCCS 2023 · 13 次引用
  4. PANIC: PAN-assisted Intra-process Memory Isolation on ARMJiali Xu, Mengyao Xie, Chenggang Wu, Yinqian Zhang 等CCS 2023 · 11 次引用
  5. Opportunistic Data Flow Integrity for Real-time Cyber-physical Systems Using Worst Case Execution Time ReservationYujie Wang, Ao Li, Jinwen Wang, Sanjoy K. Baruah 等USENIX Security 2024 · 8 次引用

它引用的 Paper6

  1. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
  2. SoK: Shining Light on Shadow StacksNathan Burow, Xinping Zhang, Mathias PayerS&P 2019 · 170 次引用
  3. Securing Real-Time Microcontroller Systems through Customized Memory View SwitchingChung Hwan Kim, Taegyu Kim, Hongjun Choi, Zhongshu Gu 等NDSS 2018 · 127 次引用
  4. Protecting Bare-Metal Embedded Systems with Privilege OverlaysAbraham A. Clements, Naif Saleh Almakhdhub, Khaled Saab, Prashast Srivastava 等S&P 2017 · 122 次引用
  5. ACES: Automatic Compartments for Embedded SystemsAbraham A. Clements, Naif Saleh Almakhdhub, Saurabh Bagchi, Mathias PayerUSENIX Security 2018 · 89 次引用

相关 Paper

  1. µRAI: Securing Embedded Systems with Return Address IntegrityNaif Saleh Almakhdhub, Abraham A. Clements, Saurabh Bagchi, Mathias PayerNDSS 2020
  2. XCFI: Comprehensive Control-Flow Integrity for Arm TrustZone-MYunju Gu, Jaeyeol Park, Donghyun KwonUSENIX Security 2026
  3. CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory IsolationMengyao Xie, Chenggang Wu, Yinqian Zhang, Jiali Xu 等CCS 2022 · 14 次引用
  4. Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 次引用
  5. SpecCFI: Mitigating Spectre Attacks using CFI Informed SpeculationEsmaeil Mohammadian Koruyeh, Shirin Haji Amin Shirazi, Khaled N. Khasawneh, Chengyu Song 等S&P 2020 · 74 次引用
黄昏的海面,两侧是细线勾勒的悬崖