USENIX Security2022Top-tier venue
Elasticlave: An Efficient Memory Model for Enclaves
Jason Zhijingcheng Yu, Shweta Shinde, Trevor E. Carlson, Prateek Saxena
Abstract
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.
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.
11 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing cites Keystone: an open framework for architecting trusted execution environments
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing cites Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGX
- SANCTUARY: ARMing TrustZone with User-space Enclaves cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management cites Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management cites SHELTER: Extending Arm CCA with Isolation in User Space
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management cites Keystone: an open framework for architecting trusted execution environments
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management cites CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave Management cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs cites Cerberus: A Formal Approach to Secure and Efficient Enclave Memory Sharing
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs cites Keystone: an open framework for architecting trusted execution environments
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs cites CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- Dorami: Privilege Separating Security Monitor on RISC-V TEEs cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- SHELTER: Extending Arm CCA with Isolation in User Space cites SANCTUARY: ARMing TrustZone with User-space Enclaves
- SHELTER: Extending Arm CCA with Isolation in User Space cites Keystone: an open framework for architecting trusted execution environments
- SHELTER: Extending Arm CCA with Isolation in User Space cites CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- SHELTER: Extending Arm CCA with Isolation in User Space cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- Keystone: an open framework for architecting trusted execution environments cites SANCTUARY: ARMing TrustZone with User-space Enclaves
- Keystone: an open framework for architecting trusted execution environments cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture cites SANCTUARY: ARMing TrustZone with User-space Enclaves
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture cites SHELTER: Extending Arm CCA with Isolation in User Space
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture cites Keystone: an open framework for architecting trusted execution environments
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture cites CURE: A Security Architecture with CUstomizable and Resilient Enclaves
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing Architecture cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites SANCTUARY: ARMing TrustZone with User-space Enclaves
- CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
Cited by top-tier papers11
- ACAI: Protecting Accelerator Execution with Arm Confidential Computing ArchitectureSupraja Sridhara, Andrin Bertschi, Benedict Schlüter, Mark Kuhne et al.USENIX Security 2024 · 36 citations
- Cerberus: A Formal Approach to Secure and Efficient Enclave Memory SharingDayeol Lee, Kevin Cheang, Alexander Thomas, Catherine Lu et al.CCS 2022 · 11 citations
- HyperTEE: A Decoupled TEE Architecture with Secure Enclave ManagementYunkai Bai, Peinan Li, Yubiao Huang, Michael C. Huang et al.MICRO 2024 · 5 citations
- 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 et al.USENIX Security 2023
Builds on7
- Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
- Keystone: an open framework for architecting trusted execution environmentsDayeol Lee, David Kohlbrenner, Shweta Shinde, Krste Asanovic et al.EuroSys 2020 · 381 citations
- SANCTUARY: ARMing TrustZone with User-space EnclavesFerdinand Brasser, David Gens, Patrick Jauernig, Ahmad-Reza Sadeghi et al.NDSS 2019 · 191 citations
- CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig et al.USENIX Security 2021 · 150 citations
- Occlum: Secure and Efficient Multitasking Inside a Single Enclave of Intel SGXYouren Shen, Hongliang Tian, Yu Chen, Kang Chen et al.ASPLOS 2020 · 144 citations
Related papers
- SGX-FPGA: Trusted Execution Environment for CPU-FPGA Heterogeneous ArchitectureKe Xia, Yukui Luo, Xiaolin Xu, Sheng WeiDAC 2021 · 39 citations
- vSGX: Virtualizing SGX Enclaves on AMD SEVShixuan Zhao, Mengyuan Li, Yinqian Zhang, Zhiqiang LinS&P 2022 · 32 citations
- VirTEE: a full backward-compatible TEE with native live migration and secure I/OJianqiang Wang, Pouya Mahmoody, Ferdinand Brasser, Patrick Jauernig et al.DAC 2022 · 11 citations
- Nested Enclave: Supporting Fine-grained Hierarchical Isolation with SGXJoongun Park, Naegyeong Kang, Taehoon Kim, Youngjin Kwon et al.ISCA 2020 · 33 citations
- COIN Attacks: On Insecurity of Enclave Untrusted Interfaces in SGXMustakimur Rahman Khandaker, Yueqiang Cheng, Zhi Wang, Tao WeiASPLOS 2020 · 46 citations
