SANCTUARY: ARMing TrustZone with User-space Enclaves
Ferdinand Brasser, David Gens, Patrick Jauernig, Ahmad-Reza Sadeghi, Emmanuel Stapf
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 36 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE Systems 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 SKEE: A lightweight Secure Kernel-level Execution Environment for ARM
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 Keystone: an open framework for architecting trusted execution environments
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 vTZ: Virtualizing ARM TrustZone
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZone 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Keystone: an open framework for architecting trusted execution environments 引用了 Spectre Attacks: Exploiting Speculative Execution
- Keystone: an open framework for architecting trusted execution environments 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Spectre Attacks: Exploiting Speculative Execution
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 vTZ: Virtualizing ARM TrustZone
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- vTZ: Virtualizing ARM TrustZone 引用了 SKEE: A lightweight Secure Kernel-level Execution Environment for ARM
- Scalable Memory Protection in the PENGLAI Enclave 引用了 Spectre Attacks: Exploiting Speculative Execution
- Scalable Memory Protection in the PENGLAI Enclave 引用了 Keystone: an open framework for architecting trusted execution environments
- Scalable Memory Protection in the PENGLAI Enclave 引用了 vTZ: Virtualizing ARM TrustZone
- Scalable Memory Protection in the PENGLAI Enclave 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
引用它的顶会 Paper36
- Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic 等EuroSys 2020 · 381 次引用
- SoK: Understanding the Prevailing Security Vulnerabilities in TrustZone-assisted TEE SystemsDavid Cerdeira, Nuno Santos, Pedro Fonseca, Sandro PintoS&P 2020 · 231 次引用
- CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig 等USENIX Security 2021 · 150 次引用
- Scalable Memory Protection in the PENGLAI EnclaveErhu Feng, Xu Lu, Dong Du, Bicheng Yang 等OSDI 2021 · 126 次引用
- RT-TEE: Real-time System Availability for Cyber-physical Systems using ARM TrustZoneJinwen Wang, Ao Li, Haoran Li, Chenyang Lu 等S&P 2022 · 69 次引用
它引用的 Paper6
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
- Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris 等NDSS 2016 · 141 次引用
- vTZ: Virtualizing ARM TrustZoneZhichao Hua, Jinyu Gu, Yubin Xia, Haibo Chen 等USENIX Security 2017 · 136 次引用
- SKEE: A lightweight Secure Kernel-level Execution Environment for ARMAhmed M. Azab, Kirk Swidowski, Rohan Bhutkar, Jia Ma 等NDSS 2016 · 105 次引用
相关 Paper
- SHELTER: Extending Arm CCA with Isolation in User SpaceYiming Zhang, Yuxin Hu, Zhenyu Ning, Fengwei Zhang 等USENIX Security 2023
- Cache-in-the-Middle (CITM) Attacks: Manipulating Sensitive Data in Isolated Execution EnvironmentsJie Wang, Kun Sun, Lingguang Lei, Shengye Wan 等CCS 2020 · 6 次引用
- Hardware-Backed Heist: Extracting ECDSA Keys from Qualcomm's TrustZoneKeegan RyanCCS 2019 · 90 次引用
- FPGA-TrustZone: Security Extension of TrustZone to FPGA for SoC-FPGA Heterogeneous ArchitectureShupeng Wang, Xindong Fan, Xiao Xu, Shuchen Wang 等DAC 2025 · 1 次引用
- SecTEE: A Software-based Approach to Secure Enclave Architecture Using TEEShijun Zhao, Qianying Zhang, Yu Qin, Wei Feng 等CCS 2019 · 95 次引用
