virtCCA: Virtualized Arm Confidential Compute Architecture with TrustZone

06/19/2023
by   Xiangyi Xu, et al.
0

ARM introduces the Confidential Compute Architecture (CCA) in the forthcoming ARMv9-A architecture recently. CCA enables the support of confidential virtual machines (cVMs) within a separated world (known as the Realm world), protected from the untrusted normal world. While CCA points to a convincing future of confidential computing, it is foreseen that the CCA hardware will not be available soon according to ARM's roadmap. Upon this request, we present virtCCA, an architecture that facilitates virtualized CCA using TrustZone, a mature hardware feature on existing ARM platforms. Specifically, we use the Secure EL2 (S-EL2) extension introduced since ARMv8.4 to support the memory isolation among the cVMs. We introduce direct shadow memory mapping – an efficient memory protection scheme – to overcome the limitations of existing hardware. virtCCA is compatible with the CCA specifications at the API level, and we build the entire CCA software and firmware stack atop virtCCA, including the TrustZone Management Monitor (TMM) for enforcing isolation among cVMs and supporting cVM life cycle management, as well as the enhancement of the normal world KVM for support of cVMs. We implemented virtCCA on both QEMU and ARM Fixed Virtual Platform (FVP). The evaluation on micro-benchmarks and macro-benchmarks shows that the overhead of running cVMs is acceptable, compared with the counterpart of running normal world VMs. On a set of real-world workloads the overhead is less than 8 for I/O intensive workloads.

READ FULL TEXT
research
12/08/2022

HyperEnclave: An Open and Cross-platform Trusted Execution Environment

A number of trusted execution environments (TEEs) have been proposed by ...
research
03/06/2020

Stretching the capacity of Hardware Transactional Memory in IBM POWER architectures

The hardware transactional memory (HTM) implementations in commercially ...
research
09/14/2020

The Cost of Software-Based Memory Management Without Virtual Memory

Virtual memory has been a standard hardware feature for more than three ...
research
12/04/2018

A small and adaptive coprocessor for information flow tracking in ARM SoCs

DIFT (Dynamic Information Flow Tracking) has been a hot topic for more t...
research
09/20/2023

Capacity: Cryptographically-Enforced In-Process Capabilities for Modern ARM Architectures (Extended Version)

In-process compartmentalization and access control have been actively ex...
research
10/28/2014

Sprobes: Enforcing Kernel Code Integrity on the TrustZone Architecture

Many smartphones now deploy conventional operating systems, so the rootk...
research
06/30/2010

Dynamic and Transparent Analysis of Commodity Production Systems

We propose a framework that provides a programming interface to perform ...

Please sign up or login with your details

Forgot password? Click here to reset