ConTExT: Leakage-Free Transient Execution
Michael Schwarz, Robert Schilling, Florian Kargl, Moritz Lipp, Claudio, Canella, Daniel Gruss

TL;DR
ConTExT is a hardware-software co-designed technique that prevents secret data leakage during transient execution, effectively mitigating Spectre attacks with minimal performance impact on real workloads.
Contribution
ConTExT introduces a novel approach that transforms Spectre into a solvable software problem, providing comprehensive protection against transient execution leaks with minimal modifications.
Findings
ConTExT fully protects secrets in memory and registers.
It mitigates microarchitectural data sampling attacks.
Performance overhead is below 1% for typical workloads.
Abstract
Out-of-order execution and speculative execution are among the biggest contributors to performance and efficiency of modern processors. However, they are inconsiderate, leaking secret data during the transient execution of instructions. Many solutions have been proposed against transient execution attacks. However, they do not eliminate the leakage entirely or introduce unacceptable performance penalties. In this paper, we propose ConTExT, a Considerate Transient Execution Technique. The basic idea of ConTExT is that secrets can enter registers, but not transiently leave them. ConTExT transforms Spectre from a problem that cannot be solved purely in software [53], to a problem that is not easy to solve, but solvable in software. For this, ConTExT requires minimal modifications of applications, compilers, operating systems, and the hardware. ConTExT offers full protection for secrets…
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
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Parallel Computing and Optimization Techniques
