Computer Science > Cryptography and Security
arXiv:2309.11332 (cs)
[Submitted on 20 Sep 2023 (v1), last revised 21 Sep 2023 (this version, v2)]
Title:Software Compartmentalization Trade-Offs with Hardware Capabilities
View a PDF of the paper titled Software Compartmentalization Trade-Offs with Hardware Capabilities, by John Alistair Kressel and 2 other authors
View PDFAbstract:Compartmentalization is a form of defensive software design in which an application is broken down into isolated but communicating components. Retrofitting compartmentalization into existing applications is often thought to be expensive from the engineering effort and performance overhead points of view. Still, recent years have seen proposals of compartmentalization methods with promises of low engineering efforts and reduced performance impact. ARM Morello combines a modern ARM processor with an implementation of Capability Hardware Enhanced RISC Instructions (CHERI) aiming to provide efficient and secure compartmentalization. Past works exploring CHERI-based compartmentalization were restricted to emulated/FPGA prototypes.
In this paper, we explore possible compartmentalization schemes with CHERI on the Morello chip. We propose two approaches representing different trade-offs in terms of engineering effort, security, scalability, and performance impact. We describe and implement these approaches on a prototype OS running bare metal on the Morello chip, compartmentalize two popular applications, and investigate the performance overheads. Furthermore, we show that compartmentalization can be achieved with an engineering cost that can be quite low if one is willing to trade off on scalability and security, and that performance overheads are similar to other intra-address space isolation mechanisms.
Comments: | 12th Workshop on Programming Languages and Operating Systems (PLOS 2023) |
Subjects: | Cryptography and Security (cs.CR); Operating Systems (cs.OS) |
Cite as: | arXiv:2309.11332 [cs.CR] |
(orarXiv:2309.11332v2 [cs.CR] for this version) | |
https://doi.org/10.48550/arXiv.2309.11332 arXiv-issued DOI via DataCite |
Submission history
From: John Alistair Kressel [view email][v1] Wed, 20 Sep 2023 14:07:20 UTC (1,571 KB)
[v2] Thu, 21 Sep 2023 08:14:29 UTC (1,571 KB)
Full-text links:
Access Paper:
- View PDF
- TeX Source
- Other Formats
View a PDF of the paper titled Software Compartmentalization Trade-Offs with Hardware Capabilities, by John Alistair Kressel and 2 other authors
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer(What is the Explorer?)
Connected Papers(What is Connected Papers?)
Litmaps(What is Litmaps?)
scite Smart Citations(What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv(What is alphaXiv?)
CatalyzeX Code Finder for Papers(What is CatalyzeX?)
DagsHub(What is DagsHub?)
Gotit.pub(What is GotitPub?)
Hugging Face(What is Huggingface?)
Papers with Code(What is Papers with Code?)
ScienceCast(What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower(What are Influence Flowers?)
CORE Recommender(What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community?Learn more about arXivLabs.