Lune

NDSS2019Top-tier venue

SANCTUARY: ARMing TrustZone with User-space Enclaves

Ferdinand Brasser, David Gens, Patrick Jauernig, Ahmad-Reza Sadeghi, Emmanuel Stapf

Abstract

ARM TrustZone is one of the most widely deployed security architecture providing Trusted Execution Environments (TEEs). Unfortunately, its usage and potential benefits for application developers and end users are largely limited due to restricted deployment policies imposed by device vendors. Restriction is enforced since every Trusted App (TA) increases the TEE's attack surface: any vulnerable or malicious TA can compromise the system's security. Hence, deploying a TA requires mutual trust between device vendor and application developer, incurring high costs for both. Vendors work around this by offering interfaces to selected TEE functionalities, however, these are not sufficient to securely implement advanced mobile services like banking. Extensive discussion of Intel's SGX technology in academia and industry has unveiled the demand for an unrestricted use of TEEs, yet no comparable security architecture for mobile devices exists to this day. We propose SANCTUARY, the first security architecture which allows unconstrained use of TEEs in the TrustZone ecosystem without relying on virtualization. SANCTUARY enables execution of security-sensitive apps within strongly isolated compartments in TrustZone's normal world comparable to SGX's user-space enclaves. In particular, we leverage TrustZone's versatile Address-Space Controller available in current ARM System-on-Chip reference designs, to enforce two-way hardware-level isolation: (i) security-sensitive apps are shielded against a compromised normal-world OS, while (ii) the system is also protected from potentially malicious apps in isolated compartments. Moreover, moving security-sensitive apps from the TrustZone's secure world to isolated compartments minimizes the TEE's attack surface. Thus, mutual trust relationships between device vendors and developers become obsolete: the full potential of TEEs can be leveraged. We demonstrate practicality and real-world benefits of SANC-TUARY by thoroughly evaluating our prototype on a HiKey 960 development board with microbenchmarks and a use case for one-time password generation in two-factor authentication.

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.

36 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

  • SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE Systems cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites SKEE: A lightweight Secure Kernel-level Execution Environment for ARM
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites Keystone: an open framework for architecting trusted execution environments
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites CURE: A Security Architecture with CUstomizable and Resilient Enclaves
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites vTZ: Virtualizing ARM TrustZone
  • RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Keystone: an open framework for architecting trusted execution environments cites Spectre Attacks: Exploiting Speculative Execution
  • Keystone: an open framework for architecting trusted execution environments cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Spectre Attacks: Exploiting Speculative Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites vTZ: Virtualizing ARM TrustZone
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • vTZ: Virtualizing ARM TrustZone cites SKEE: A lightweight Secure Kernel-level Execution Environment for ARM
  • Scalable Memory Protection in the PENGLAI Enclave cites Spectre Attacks: Exploiting Speculative Execution
  • Scalable Memory Protection in the PENGLAI Enclave cites Keystone: an open framework for architecting trusted execution environments
  • Scalable Memory Protection in the PENGLAI Enclave cites vTZ: Virtualizing ARM TrustZone
  • Scalable Memory Protection in the PENGLAI Enclave cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers36

  1. Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic et al.EuroSys 2020 · 381 citations
  2. SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE SystemsDavid Cerdeira, Nuno Santos, Pedro Fonseca, Sandro PintoS&P 2020 · 231 citations
  3. CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig et al.USENIX Security 2021 · 150 citations
  4. Scalable Memory Protection in the PENGLAI EnclaveErhu Feng, Xu Lu, Dong Du, Bicheng Yang et al.OSDI 2021 · 126 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 on6

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
  3. Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris et al.NDSS 2016 · 141 citations
  4. vTZ: Virtualizing ARM TrustZoneZhichao Hua, Jinyu Gu, Yubin Xia, Haibo Chen et al.USENIX Security 2017 · 136 citations
  5. SKEE: A lightweight Secure Kernel-level Execution Environment for ARMAhmed M. Azab, Kirk Swidowski, Rohan Bhutkar, Jia Ma et al.NDSS 2016 · 105 citations

Related papers

  1. SHELTER: Extending Arm CCA with Isolation in User SpaceYiming Zhang, Yuxin Hu, Zhenyu Ning, Fengwei Zhang et al.USENIX Security 2023
  2. Cache-in-the-Middle (CITM) Attacks: Manipulating Sensitive Data in Isolated Execution EnvironmentsJie Wang, Kun Sun, Lingguang Lei, Shengye Wan et al.CCS 2020 · 6 citations
  3. Hardware-Backed Heist: Extracting ECDSA Keys from Qualcomm's TrustZoneKeegan RyanCCS 2019 · 90 citations
  4. FPGA-TrustZone: Security Extension of TrustZone to FPGA for SoC-FPGA Heterogeneous ArchitectureShupeng Wang, Xindong Fan, Xiao Xu, Shuchen Wang et al.DAC 2025 · 1 citation
  5. SecTEE: A Software-based Approach to Secure Enclave Architecture Using TEEShijun Zhao, Qianying Zhang, Yu Qin, Wei Feng et al.CCS 2019 · 95 citations
Dusk over the sea between two cliffs drawn in fine vertical lines