CHERI UNCHAINED: Generic Instruction and Register Control for CHERI Capabilities

Moritz Waser*, Lukas Lamster, David Schrammel, Martin Unterguggenberger, Stefan Mangard

*Korrespondierende/r Autor/-in für diese Arbeit

Publikation: Beitrag in Buch/Bericht/KonferenzbandBeitrag in einem KonferenzbandBegutachtung

Abstract

The CHERI capability architecture is designed to implement the principle of least privilege at the hardware level, enabling fine-grain compartmentalization of resources in memory.
Besides memory, capability-enhanced processors like the ARM Morello SoC rely on traditional ring-based isolation for instruction and register control.
However, previous works have demonstrated that exploiting access to system registers or privileged instructions can allow attackers to break or bypass the memory isolation.
Furthermore, ring-based isolation is too coarse-grain for software isolation that aims to enforce least privilege.
This paper presents CHERI Unchained, a novel CHERI ISA extension that allows explicit management of (non-memory) hardware resources through software-controlled capabilities.
Specifically, we introduce the new concept of control capabilities, which enforce the principle of least privilege by restricting access to instructions and registers while following CHERI’s overarching design goals of provenance, integrity, and monotonicity.
Our design enables fine-grain resource management for both, pure-capability and legacy software.
Furthermore, CHERI Unchained has the potential to replace traditional ring-based protection entirely, thus reducing complexity while providing a higher degree of privilege control flexibility.
To demonstrate the feasibility of our design, we present a functional prototype based on the CHERI-QEMU simulator and evaluate the performance on the ARM Morello platform.
Extending generic software running on Morello with fine-grain hardware resource management incurs a worst-case performance overhead of 2.76%.
Additionally, we extensively analyze the security of all privilege-related mechanisms in our design, highlighting the flexibility of our generic approach.
Originalspracheenglisch
TitelProceedings of the 20th International Conference on Availability, Reliability and Security, ARES 2025
PublikationsstatusAngenommen/In Druck - 2025
Veranstaltung20th International Conference on Availability, Reliability and Security, ARES 2025 - Ghent, Belgien
Dauer: 11 Aug. 202514 Aug. 2025

Konferenz

Konferenz20th International Conference on Availability, Reliability and Security, ARES 2025
KurztitelARES 2025
Land/GebietBelgien
OrtGhent
Zeitraum11/08/2514/08/25

Fingerprint

Untersuchen Sie die Forschungsthemen von „CHERI UNCHAINED: Generic Instruction and Register Control for CHERI Capabilities“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren