Lune

EuroSys2022顶会

OPEC: operation-based security isolation for bare-metal embedded systems

Xia Zhou, Jiaqi Li, Wenlong Zhang, Yajin Zhou, Wenbo Shen, Kui Ren

摘要

Bare-metal embedded systems usually lack security isolation. Attackers can subvert the whole system with a single vulnerability. Previous research intends to enforce both privilege isolation (to run application code at the unprivileged level) and resource isolation for global variables and peripherals. However, it suffers from partition-time and execution-time over-privilege issues, due to the limited hardware resources (MPU regions) and the improper way to partition a program.

In this paper, we propose operation-based isolation for bare-metal embedded systems. An operation is a logically independent task composed of an entry function and all functions reachable from it. To solve the partition-time overprivilege issue, we utilize the global variables shadowing technique to reduce the needed MPU regions to confine the access of the global variables. To mitigate the executiontime over-privilege issue, we split programs into code compartments (called operation) that only contain necessary functions to perform specific tasks, thereby removing the resources needed by unnecessary functions. We implement a prototype called OPEC, which contains an LLVM-based compiler and a reference monitor. The compiler partitions a program and analyzes the resource dependency for each operation. With the hardware-supported privilege levels and MPU, the reference monitor is responsible for enforcing the privilege and resource isolation at runtime. Our evaluation shows that OPEC can achieve the security guarantees for the privilege and resource isolation with negligible runtime overhead (average 0.23%), moderate Flash overhead (average 1.79%), and acceptable SRAM overhead (average 5.35%).

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • BULKHEAD: Secure, Scalable, and Efficient Kernel Compartmentalization with PKS 引用了 Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis
  • IDA: Hybrid Attestation with Support for Interrupts and TOCTOU 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • IDA: Hybrid Attestation with Support for Interrupts and TOCTOU 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • Protecting Bare-Metal Embedded Systems with Privilege Overlays 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • Securing Real-Time Microcontroller Systems through Customized Memory View Switching 引用了 C-FLAT: Control-Flow Attestation for Embedded Systems Software
  • Securing Real-Time Microcontroller Systems through Customized Memory View Switching 引用了 Shreds: Fine-Grained Execution Units with Private Memory
  • Securing Real-Time Microcontroller Systems through Customized Memory View Switching 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • TickTock: Verified Isolation in a Production Embedded OS 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • TickTock: Verified Isolation in a Production Embedded OS 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
  • Kintsugi: Secure Hotpatching for Code-Shadowing Real-Time Embedded Systems 引用了 Protecting Bare-Metal Embedded Systems with Privilege Overlays
  • Kintsugi: Secure Hotpatching for Code-Shadowing Real-Time Embedded Systems 引用了 Securing Real-Time Microcontroller Systems through Customized Memory View Switching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. BULKHEAD: Secure, Scalable, and Efficient Kernel Compartmentalization with PKSYinggang Guo, Zicheng Wang, Weiheng Bai, Qingkai Zeng 等NDSS 2025
  2. IDA: Hybrid Attestation with Support for Interrupts and TOCTOUFatemeh Arkannezhad, Justin Feng, Nader SehatbakhshNDSS 2024
  3. TickTock: Verified Isolation in a Production Embedded OSVivien Rindisbacher, Evan Johnson, Nico Lehmann, Tyler Potyondy 等SOSP 2025
  4. Kintsugi: Secure Hotpatching for Code-Shadowing Real-Time Embedded SystemsPhilipp Mackensen, Christian Niesler, Roberto Blanco, Lucas Davi 等USENIX Security 2025

它引用的 Paper15

  1. C-FLAT: Control-Flow Attestation for Embedded Systems SoftwareTigist Abera, N. Asokan, Lucas Davi, Jan-Erik Ekberg 等CCS 2016 · 311 次引用
  2. Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type AnalysisKangjie Lu, Hong HuCCS 2019 · 142 次引用
  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. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 次引用

相关 Paper

  1. ACES: Automatic Compartments for Embedded SystemsAbraham A. Clements, Naif Saleh Almakhdhub, Saurabh Bagchi, Mathias PayerUSENIX Security 2018 · 89 次引用
  2. Low-Cost Privilege Separation with Compile Time Compartmentalization for Embedded SystemsArslan Khan, Dongyan Xu, Dave Jing TianS&P 2023
  3. EC: Embedded Systems Compartmentalization via Intra-Kernel IsolationArslan Khan, Dongyan Xu, Dave Jing TianS&P 2023
  4. ISA-Grid: Architecture of Fine-grained Privilege Control for Instructions and RegistersShulin Fan, Zhichao Hua, Yubin Xia, Haibo Chen 等ISCA 2023 · 9 次引用
  5. EKC: A Portable and Extensible Kernel Compartment for De-Privileging Commodity OSJiaqin Yan, Qiujiang Chen, Shuai Zhou, Yuke Peng 等USENIX Security 2025
黄昏的海面,两侧是细线勾勒的悬崖