DR.SGX: Hardening SGX Enclaves against Cache Attacks with Data Location Randomization
Ferdinand Brasser (1), Srdjan Capkun (2), Alexandra Dmitrienko (3),, Tommaso Frassetto (1), Kari Kostiainen (2), Ahmad-Reza Sadeghi (1) ((1), Technische Universit\"at Darmstadt, Germany, (2) ETH Zurich, Switzerland, (3), University of W\"urzburg)

TL;DR
DR.SGX introduces a compiler-based data location randomization technique to protect Intel SGX enclaves from cache side-channel attacks, balancing security and performance without developer intervention.
Contribution
It presents a novel, compiler-driven data randomization method that reorders enclave data to thwart cache-based side-channel attacks, requiring no developer effort.
Findings
Effective in breaking data access correlation
Achieves low overhead with adjustable security parameters
No developer assistance needed
Abstract
Recent research has demonstrated that Intel's SGX is vulnerable to software-based side-channel attacks. In a common attack, the adversary monitors CPU caches to infer secret-dependent data accesses patterns. Known defenses have major limitations, as they require either error-prone developer assistance, incur extremely high runtime overhead, or prevent only specific attacks. In this paper, we propose data location randomization as a novel defense against side-channel attacks that target data access patterns. Our goal is to break the link between the memory observations by the adversary and the actual data accesses by the victim. We design and implement a compiler-based tool called DR.SGX that instruments the enclave code, permuting data locations at fine granularity. To prevent correlation of repeated memory accesses we periodically re-randomize all enclave data. Our solution requires no…
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.
