Lune

S&P2017Top-tier venue

Protecting Bare-Metal Embedded Systems with Privilege Overlays

Abraham A. Clements, Naif Saleh Almakhdhub, Khaled Saab, Prashast Srivastava, Jinkyu Koo, Saurabh Bagchi, Mathias Payer

Abstract

Embedded systems are ubiquitous in every aspect of modern life. As the Internet of Thing expands, our dependence on these systems increases. Many of these interconnected systems are and will be low cost bare-metal systems, executing without an operating system. Bare-metal systems rarely employ any security protection mechanisms and their development assumptions (unrestricted access to all memory and instructions), and constraints (runtime, energy, and memory) makes applying protections challenging. To address these challenges we present EPOXY, an LLVMbased embedded compiler. We apply a novel technique, called privilege overlaying, wherein operations requiring privileged execution are identified and only these operations execute in privileged mode. This provides the foundation on which codeintegrity, adapted control-flow hijacking defenses, and protections for sensitive IO are applied. We also design fine-grained randomization schemes, that work within the constraints of baremetal systems to provide further protection against control-flow and data corruption attacks. These defenses prevent code injection attacks and ROP attacks from scaling across large sets of devices. We evaluate the performance of our combined defense mechanisms for a suite of 75 benchmarks and 3 real-world IoT applications. Our results for the application case studies show that EPOXY has, on average, a 1.8% increase in execution time and a 0.5% increase in energy usage.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

34 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites OAT: Attesting Operation Integrity of Embedded Devices
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites ACES: Automatic Compartments for Embedded Systems
  • Securing Real-Time Microcontroller Systems through Customized Memory View Switching cites C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • OAT: Attesting Operation Integrity of Embedded Devices cites C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • OAT: Attesting Operation Integrity of Embedded Devices cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • OAT: Attesting Operation Integrity of Embedded Devices cites Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • ACES: Automatic Compartments for Embedded Systems cites Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • Detecting Attacks Against Robotic Vehicles: A Control Invariant Approach cites Securing Real-Time Microcontroller Systems through Customized Memory View Switching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers34

  1. Detecting Attacks Against Robotic Vehicles: A Control Invariant ApproachHongjun Choi, Wen-Chuan Lee, Yousra Aafer, Fan Fei et al.CCS 2018 · 201 citations
  2. Securing Real-Time Microcontroller Systems through Customized Memory View SwitchingChung Hwan Kim, Taegyu Kim, Hongjun Choi, Zhongshu Gu et al.NDSS 2018 · 127 citations
  3. OAT: Attesting Operation Integrity of Embedded DevicesZhichuang Sun, Bo Feng, Long Lu, Somesh JhaS&P 2020 · 89 citations
  4. ACES: Automatic Compartments for Embedded SystemsAbraham A. Clements, Naif Saleh Almakhdhub, Saurabh Bagchi, Mathias PayerUSENIX Security 2018 · 89 citations
  5. RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZoneJinwen Wang, Ao Li, Haoran Li, Chenyang Lu et al.S&P 2022 · 69 citations

Builds on3

  1. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua et al.S&P 2016 · 420 citations
  2. C-FLAT: Control-Flow Attestation for Embedded Systems SoftwareTigist Abera, N. Asokan, Lucas Davi, Jan-Erik Ekberg et al.CCS 2016 · 311 citations
  3. Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi et al.NDSS 2016 · 90 citations

Related papers

  1. µRAI: Securing Embedded Systems with Return Address IntegrityNaif Saleh Almakhdhub, Abraham A. Clements, Saurabh Bagchi, Mathias PayerNDSS 2020
  2. OPEC: operation-based security isolation for bare-metal embedded systemsXia Zhou, Jiaqi Li, Wenlong Zhang, Yajin Zhou et al.EuroSys 2022 · 18 citations
  3. Silhouette: Efficient Protected Shadow Stacks for Embedded SystemsJie Zhou, Yufei Du, Zhuojia Shen, Lele Ma et al.USENIX Security 2020
  4. Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris et al.NDSS 2016 · 141 citations
  5. Intellectual Property Exposure: Subverting and Securing Intellectual Property Encapsulation in Texas Instruments MicrocontrollersMarton Bognar, Cas Magnus, Frank Piessens, Jo Van BulckUSENIX Security 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines