TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory Encryption

Efficient cloud computing relies on in-process isolation to optimize performance by running workloads within a single process.Without heavy-weight process isolation, memory safety errors pose a significant security threat by allowing an adversary to extract or corrupt the private data of other colocated tenants.Existing in-process isolation mechanisms are not suitable for modern cloud requirements, e.g., MPK's 16 protection domains are insufficient to isolate thousands of cloud workers per process.Consequently, cloud service providers have a strong need for lightweight in-process isolation on commodity x86 machines.This paper presents TME-Box, a novel isolation technique that enables fine-grained and scalable sandboxing on commodity x86 CPUs.By repurposing Intel TME-MK, which is intended for the encryption of virtual machines, TME-Box offers lightweight and efficient in-process isolation.TME-Box enforces that sandboxes use their designated encryption keys for memory interactions through compiler instrumentation.This cryptographic isolation enables fine-grained access control, from single cache lines to full pages, and supports flexible data relocation.In addition, the design of TME-Box allows the efficient isolation of up to 32K concurrent sandboxes.We present a performance-optimized TME-Box prototype, utilizing x86 segment-based addressing, that showcases geomean performance overheads of 5.2 % for data isolation and 9.7 % for code and data isolation, evaluated with the SPEC CPU2017 benchmark suite.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.14722/ndss.2025.240277
Citations
5
Primary Topic
Advanced Data Storage Technologies
Type
article
Field-Weighted Citation Impact
7.44
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory Encryption

Stefan Mangard, Martin Unterguggenberger, Martin Schwarzl, Lukas Lamster et al.
5 citations
Advanced Data Storage Technologies
7.44
article

TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory Encryption

Stefan Mangard, Martin Unterguggenberger, Martin Schwarzl, Lukas Lamster, David Schrammel
article en
5 citations

Abstract

Efficient cloud computing relies on in-process isolation to optimize performance by running workloads within a single process.Without heavy-weight process isolation, memory safety errors pose a significant security threat by allowing an adversary to extract or corrupt the private data of other colocated tenants.Existing in-process isolation mechanisms are not suitable for modern cloud requirements, e.g., MPK's 16 protection domains are insufficient to isolate thousands of cloud workers per process.Consequently, cloud service providers have a strong need for lightweight in-process isolation on commodity x86 machines.This paper presents TME-Box, a novel isolation technique that enables fine-grained and scalable sandboxing on commodity x86 CPUs.By repurposing Intel TME-MK, which is intended for the encryption of virtual machines, TME-Box offers lightweight and efficient in-process isolation.TME-Box enforces that sandboxes use their designated encryption keys for memory interactions through compiler instrumentation.This cryptographic isolation enables fine-grained access control, from single cache lines to full pages, and supports flexible data relocation.In addition, the design of TME-Box allows the efficient isolation of up to 32K concurrent sandboxes.We present a performance-optimized TME-Box prototype, utilizing x86 segment-based addressing, that showcases geomean performance overheads of 5.2 % for data isolation and 9.7 % for code and data isolation, evaluated with the SPEC CPU2017 benchmark suite.

Affordable and clean energy
Openalex Percentile: Top 3%
Advanced Data Storage Technologies
7.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory Encryption — Stefan Mangard, Martin Unterguggenberger, et al. · (2025) | TGRS Research Map | TGRS