LayerTEE: Decoupled Memory Protection for Scalable Multilayer Communication on RISC-V
The Trusted Execution Environment (TEE) has been widely implemented by modern hardware vendors to protect security and privacy-sensitive applications and data, such as Intel SGX/TDX, ARM TrustZone, AMD SEV, and RISC-V Penglai. However, existing TEE systems face challenges in balancing memory isolation among security, performance, and scalability requirements. Segment-based memory isolation mechanisms, like RISC-V PMP, struggle to scale effectively to the large number of segments needed for confidential cloud and data center environments. On the other hand, table-based isolation methods, such as page tables, combine address translation with memory protection, leading to inefficient cross-enclave communication and potential security vulnerabilities like Rowhammer attacks. This paper introduces a novel TEE system, which decouples memory protection (to segments) from address translation (to page tables). This design improves communication performance by dynamically adjusting memory protection capabilities, without sacrificing application compatibility. LayerTEE enhances enclave security and scalability by designing a multi-layer segment-based isolation mechanism. We have built a prototype of based on FPGA, incorporating hardware extensions and software support. The evaluation demonstrates that significantly surpasses existing TEE solutions, achieving three orders of magnitude lower communication latency and 10x greater scalability while maintaining robust security guarantees.
Authors
- Hang Lü (ORCID: https://orcid.org/0000-0001-6233-3538)
- Xiaowei Li (ORCID: https://orcid.org/0000-0002-0874-814X)
- Yubin Xia (ORCID: https://orcid.org/0000-0001-6558-5298)
- Xiquan Zhao (ORCID: https://orcid.org/0000-0001-9966-9641)
- Yugang Yang (ORCID: https://orcid.org/0000-0002-3138-2182)
- Shangjie Pan (ORCID: https://orcid.org/0000-0002-7782-9541)
- Dong Du (ORCID: https://orcid.org/0000-0002-7945-8430)
- Xinlv Peng
Institutions
- Shanghai Jiao Tong University (CN)
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-06-13
- DOI
- https://doi.org/10.1109/tcad.2025.3575014
- Primary Topic
- Security and Verification in Computing
- Type
- article
- Field-Weighted Citation Impact
- 0.00