← Latest papers
💻 computer science

OpenCCA: An Open Framework to Enable Arm CCA Research

OpenCCA is an open research framework that enables the emulation of Arm Confidential Compute Architecture (CCA) operations on commodity Armv8.2 hardware by systematically adapting the software stack, thereby overcoming hardware limitations to facilitate standardized performance evaluation and reduce barriers for CCA research.

Original authors: Andrin Bertschi, Shweta Shinde

Published 2026-08-12
📖 4 min read☕ Coffee break read

Original authors: Andrin Bertschi, Shweta Shinde

Original paper dedicated to the public domain under CC0 1.0 (http://creativecommons.org/publicdomain/zero/1.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Secret Room Problem

Imagine you are building a house where you want to keep a few rooms completely secret. You want to lock them so tightly that even the person who owns the house (the landlord) or the person managing the security system (the manager) cannot peek inside. This is the dream of "confidential computing." In the digital world, this means running software in a way that keeps your data safe from hackers, but also safe from the very cloud providers hosting it.

For a long time, only two big players in the computer chip world, Intel and AMD, had the special hardware keys to build these secret rooms. They built them into their latest processors, making it easy for researchers to test new security ideas. But then, Arm, the company behind the chips in most of our phones and tablets, announced they were building their own version of these secret rooms, called "Arm CCA" (Confidential Computing Architecture). The problem? Arm hadn't actually built the physical hardware for it yet. It was like announcing a new type of safe but not having a factory to make the locks.

This created a huge headache for scientists. To test their ideas, they had to use computer simulations that were slow and inaccurate for measuring speed, or they had to build messy, one-off prototypes on old phones that didn't really work like the real thing. It was like trying to test a new race car engine by strapping it to a bicycle; you might see if it turns, but you can't tell how fast it really goes. Because everyone was using different, broken setups, no one could agree on which security ideas were actually the fastest or best.

The OpenCCA Solution: A Universal Adapter

Enter OpenCCA, a new tool created by researchers at ETH Zurich to fix this mess. Think of OpenCCA as a clever "universal adapter" or a translator. Since the real hardware for Arm's secret rooms doesn't exist on store-bought computers yet, the researchers built a system that tricks a standard, affordable computer board (specifically a $250 board called the Radxa Rock 5B) into pretending it has these secret rooms.

The team didn't just buy a board; they rewrote the computer's "brain" (its firmware, bootloader, and operating system layers) to mimic the behavior of the missing hardware. They created a software layer that says, "Okay, even though this chip doesn't have the special 'Realm' security feature, let's pretend it does." When a program tries to use the secret room instructions, OpenCCA catches them and runs a simulation that looks and feels just like the real thing, allowing researchers to measure exactly how much time and energy these security tricks take.

The paper shows that this approach works surprisingly well. The researchers proved that OpenCCA can run the same code that was designed for high-end simulations on their $250 board without breaking anything. They tested it by running standard security benchmarks and found that the results were consistent enough to be useful. For example, they measured how long it takes to "boot up" a secret virtual machine (a CVM) and found that with 1GB of memory, it takes about 2,015 instructions and 2,869 cycles. They also measured the cost of switching between the normal world and the secret world, finding it takes about 182 instructions for a simple check.

Crucially, the paper argues that while this isn't a perfect, hardware-enforced security system (it doesn't stop a super-hacker from breaking in if they have physical access), it is far superior to the old methods of using slow simulations or inconsistent prototypes. The researchers demonstrated this by taking two complex security designs from previous papers and re-implementing them on OpenCCA in less than five hours each. This suggests that OpenCCA is a powerful, accessible tool that allows scientists to stop reinventing the wheel and start comparing their ideas fairly, using a standard, affordable platform that anyone can buy.

In short, OpenCCA doesn't solve the problem of missing hardware, but it solves the problem of how to research while waiting for that hardware to arrive. It turns a fragmented, confusing landscape of broken prototypes into a single, shared playground where researchers can finally compare apples to apples, ensuring that the next generation of secure computing is built on solid, measurable ground.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →