SPEAR-V: Secure and Practical Enclave Architecture for RISC-V
Open Access
- 10 July 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 457-468
Abstract
Trusted Execution Environments (TEEs) and enclaves have become increasingly popular and are used from embedded devices to cloud servers. Today, many enclave architectures exist for different ISAs. However, some suffer from performance issues and controlled-channel attacks, while others only support constrained use cases for embedded devices or impose unrealistic constraints on the software. Modern cloud applications require a more flexible architecture that is both secure against such attacks and not constrained by, e.g., a limited number of physical memory ranges. In this paper, we present SPEAR-V, a RISC-V-based enclave that provides a fast and flexible architecture for trusted computing that is compatible with current and future use cases while also aiming at mitigating controlled-channel attacks. With a single hardware primitive, our novel architecture enables two-way sandboxing. Enclaves are protected from hosts and vice versa. Furthermore, we show how shared memory and arbitrary nesting can be achieved without additional performance overheads. Our evaluation shows that, with minimal hardware changes, a flexible, performant, and secure enclave architecture can be constructed, imposing zero overhead on unprotected applications and an average overhead of 1% for protected applications.Keywords
This publication has 34 references indexed in Scilit:
- AsyncShock: Exploiting Synchronisation Bugs in Intel SGX Enclaves2016
- HDFI: Hardware-Assisted Data-Flow Isolation2016
- CATalyst: Defeating last-level cache side channel attacks in cloud computing2016
- TyTAN2015
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- The geometry of innocent flesh on the bone2007
- Raksha2007
- MinosACM Transactions on Architecture and Code Optimization, 2006
- Secure program execution via dynamic information flow tracking2004
- Mondrian memory protection2002