Cryptographic Least Privilege Enforcement for Scalable Memory Isolation
C/C++ computing systems constitute a significant share of our critical software infrastructure and face substantial security risks from memory exploitation. A single memory safety error can potentially lead to the compromise of the entire software system. To efficiently secure C/C++ computing systems without extensive software adaption, the processor must be able to restrict memory access to individual memory locations, thereby enforcing the principle of least privilege. The integration of lightweight and transparent isolation mechanisms that offer flexible and scalable memory protection is crucial to minimize the attack surface of software attacks. In this paper, we present cryptographic least privilege enforcement (CLPE), a novel mechanism for scalable memory isolation. Our lightweight ISA extension enforces cryptographic integrity checks for isolation granularities ranging from individual objects to arbitrarily sized protection domains. We achieve this through message authentication codes (MACs), linking pointers with specific access privileges that restrict access to memory resources. Our approach maintains compatibility with legacy software and only minimally increases the processor's microarchitectural complexity. We provide a formal model of our design, ensuring important properties of our ISA specification, and a hardware model, allowing functional and timing-accurate simulation. The simulated performance overhead of our hardware model shows an average overhead of 2.5-7.4 % for the SPEC CPU2017 benchmark suite.
Authors
- Vedad Hadžić (ORCID: https://orcid.org/0000-0001-7974-3381)
- Stefan Mangard (ORCID: https://orcid.org/0000-0001-9650-8041)
- Martin Unterguggenberger (ORCID: https://orcid.org/0000-0002-2713-192X)
- Lukas Lamster (ORCID: https://orcid.org/0000-0003-4046-8727)
- David Schrammel (ORCID: https://orcid.org/0009-0004-5913-6452)
- Lukas Maar (ORCID: https://orcid.org/0009-0008-1771-0064)
Institutions
- Graz University of Technology (AT)
Publication Details
- Published
- 2025-05-05
- DOI
- https://doi.org/10.1109/host64725.2025.11050045
- Citations
- 1
- Primary Topic
- Security and Verification in Computing
- Type
- article
- Field-Weighted Citation Impact
- 2.48
Funders
- Österreichische Forschungsförderungsgesellschaft