TME-Box: Scalable In-Process Isolation through Intel TME-MK Memory Encryption
Martin Unterguggenberger, Lukas Lamster, David Schrammel, Martin Schwarzl, Stefan Mangard

TL;DR
TME-Box introduces a scalable, lightweight in-process isolation technique for cloud workloads on commodity x86 CPUs, leveraging Intel TME-MK encryption to enhance security without significant performance penalties.
Contribution
It repurposes Intel TME-MK for in-process sandboxing, enabling fine-grained, scalable memory isolation with minimal overhead on standard x86 hardware.
Findings
Supports up to 32K concurrent sandboxes.
Achieves around 5-10% performance overhead on SPEC CPU2017.
Provides cryptographic memory isolation with flexible data relocation.
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 co-located 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Data Storage Technologies · Advanced Memory and Neural Computing · Cellular Automata and Applications
