Elasticlave: An Efficient Memory Model for Enclaves
Jason Zhijingcheng Yu, Shweta Shinde, Trevor E. Carlson, Prateek Saxena
摘要
Trusted-execution environments (TEE), like Intel SGX, isolate user-space applications into secure enclaves without trusting the OS. Thus, TEEs reduce the trusted computing base, but add one to two orders of magnitude slow-down. The performance cost stems from a strict memory model, which we call the spatial isolation model, where enclaves cannot share memory regions with each other. In this work, we present Elasticlave---a new TEE memory model that allows enclaves to selectively and temporarily share memory with other enclaves and the OS. Elasticlave eliminates the need for expensive data copy operations, while offering the same level of application-desired security as possible with the spatial model. We prototype Elasticlave design on an RTL-designed cycle-level RISC-V core and observe 1 to 2 orders of magnitude performance improvements over the spatial model implemented with the same processor configuration. Elasticlave has a small TCB. We find that its performance characteristics and hardware area footprint scale well with the number of shared memory regions it is configured to support.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing 引用了 Keystone: an open framework for architecting trusted execution environments
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing 引用了 Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX
- SANCTUARY: ARMing TrustZone with User-space Enclaves 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management 引用了 Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management 引用了 SHELTER: Extending Arm CCA with Isolation in User Space
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management 引用了 Keystone: an open framework for architecting trusted execution environments
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs 引用了 Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs 引用了 Keystone: an open framework for architecting trusted execution environments
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- SHELTER: Extending Arm CCA with Isolation in User Space 引用了 SANCTUARY: ARMing TrustZone with User-space Enclaves
- SHELTER: Extending Arm CCA with Isolation in User Space 引用了 Keystone: an open framework for architecting trusted execution environments
- SHELTER: Extending Arm CCA with Isolation in User Space 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- SHELTER: Extending Arm CCA with Isolation in User Space 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Keystone: an open framework for architecting trusted execution environments 引用了 SANCTUARY: ARMing TrustZone with User-space Enclaves
- Keystone: an open framework for architecting trusted execution environments 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture 引用了 SANCTUARY: ARMing TrustZone with User-space Enclaves
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture 引用了 SHELTER: Extending Arm CCA with Isolation in User Space
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture 引用了 Keystone: an open framework for architecting trusted execution environments
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture 引用了 CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 SANCTUARY: ARMing TrustZone with User-space Enclaves
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
引用它的顶会 Paper11
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing ArchitectureSupraja Sridhara, Andrin Bertschi, Benedict Schlüter, Mark Kuhne 等USENIX Security 2024 · 36 次引用
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory SharingDayeol Lee, Kevin Cheang, Alexander Thomas, Catherine Lu 等CCS 2022 · 11 次引用
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave ManagementYunkai Bai, Peinan Li, Yubiao Huang, Michael C. Huang 等MICRO 2024 · 5 次引用
- Dorami: Privilege Separating Security Monitor on RISC-V TEEsMark Kuhne, Stavros Volos, Shweta ShindeUSENIX Security 2025
- SHELTER: Extending Arm CCA with Isolation in User SpaceYiming Zhang, Yuxin Hu, Zhenyu Ning, Fengwei Zhang 等USENIX Security 2023
它引用的 Paper7
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
- Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic 等EuroSys 2020 · 381 次引用
- SANCTUARY: ARMing TrustZone with User-space EnclavesFerdinand Brasser, David Gens, Patrick Jauernig, Ahmad-Reza Sadeghi 等NDSS 2019 · 191 次引用
- CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig 等USENIX Security 2021 · 150 次引用
- Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGXYouren Shen, Hongliang Tian, Yu Chen, Kang Chen 等ASPLOS 2020 · 144 次引用
相关 Paper
- SGX-FPGA: Trusted Execution Environment for CPU-FPGA Heterogeneous ArchitectureKe Xia, Yukui Luo, Xiaolin Xu, Sheng WeiDAC 2021 · 39 次引用
- vSGX: Virtualizing SGX Enclaves on AMD SEVShixuan Zhao, Mengyuan Li, Yinqian Zhang, Zhiqiang LinS&P 2022 · 32 次引用
- VirTEE: a full backward-compatible TEE with native live migration and secure I/OJianqiang Wang, Pouya Mahmoody, Ferdinand Brasser, Patrick Jauernig 等DAC 2022 · 11 次引用
- Nested Enclave: Supporting Fine-grained Hierarchical Isolation with SGXJoongun Park, Naegyeong Kang, Taehoon Kim, Youngjin Kwon 等ISCA 2020 · 33 次引用
- COIN Attacks: On Insecurity of Enclave Untrusted Interfaces in SGXMustakimur Rahman Khandaker, Yueqiang Cheng, Zhi Wang, Tao WeiASPLOS 2020 · 46 次引用
