MEMES: Memory Encryption-based Memory Safety on Commodity Hardware

David Schrammel, Salmin Sultana, Karanvir Grewal, Michael LeMay, David Durham, Martin Unterguggenberger, Pascal Nasahl, Stefan Mangard

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

Abstract

Memory encryption is an effective security building block broadly available on commodity systems from Intel® and AMD. Schemes, such as Intel® TME-MK and AMD SEV, help provide data confidentiality and integrity, enabling cryptographic isolation of workloads on shared platforms. However, due to their coarse encryption granularity (i.e., pages or entire virtual machines), these hardware-enabled primitives cannot unleash their full potential to provide protection for other security applications, such as memory safety. To this end, we present a novel approach to achieving sub-page-granular memory encryption without hardware modifications on off-the-shelf systems featuring Intel®’s TME-MK. We showcase how to utilize our fine-grained memory encryption approach for memory safety by introducing MEMES. MEMES is capable of mitigating both spatial and temporal heap memory vulnerabilities by encrypting individual memory objects with different encryption keys. Compared to other hardware-based memory safety schemes, our approach works on existing commodity hardware, which allows easier adoption. Our extensive analysis attests to the strong security benefits which are provided at a geometric mean runtime overhead of just 16–27%.
Originalspracheenglisch
TitelSECRYPT 2023 - Proceedings of the 20th International Conference on Security and Cryptography
Redakteure/-innenSabrina De Capitani di Vimercati, Pierangela Samarati
Herausgeber (Verlag)SciTePress
Seiten25-36
Seitenumfang12
Band1
ISBN (Print)978-989-758-666-8
DOIs
PublikationsstatusVeröffentlicht - 2023
Veranstaltung20th International Conference on Security and Cryptography: SECRYPT 2023 - Rome, Italien
Dauer: 10 Juli 202312 Juli 2023

Konferenz

Konferenz20th International Conference on Security and Cryptography: SECRYPT 2023
KurztitelSECRYPT
Land/GebietItalien
OrtRome
Zeitraum10/07/2312/07/23

ASJC Scopus subject areas

  • Software
  • Information systems
  • Computernetzwerke und -kommunikation

Fingerprint

Untersuchen Sie die Forschungsthemen von „MEMES: Memory Encryption-based Memory Safety on Commodity Hardware“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren