Efficiently Hardening SGX Enclaves against Memory Access Pattern Attacks via Dynamic Program Partitioning
Yuzhe Tang, Kai Li, Yibo Wang, Jiaqi Chen, Cheng Xu

TL;DR
This paper presents a dynamic program partitioning approach to enhance the scalability and efficiency of SGX enclave hardening against memory access pattern side-channel attacks, significantly reducing overhead and improving security.
Contribution
It introduces a novel dynamic partitioning scheme that enlarges TSX transactions in SGX enclaves, improving security and performance over existing static methods.
Findings
Transaction size can be increased dynamically without aborts.
Performance improved by up to two orders of magnitude.
Effective mitigation of memory access pattern side channels.
Abstract
Intel SGX is known to be vulnerable to a class of practical attacks exploiting memory access pattern side-channels, notably page-fault attacks and cache timing attacks. A promising hardening scheme is to wrap applications in hardware transactions, enabled by Intel TSX, that return control to the software upon unexpected cache misses and interruptions so that the existing side-channel attacks exploiting these micro-architectural events can be detected and mitigated. However, existing hardening schemes scale only to small-data computation, with a typical working set smaller than one or few times (e.g., times) of a CPU data cache. This work tackles the data scalability and performance efficiency of security hardening schemes of Intel SGX enclaves against memory-access pattern side channels. The key insight is that the size of TSX transactions in the target computation is critical,…
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 · Parallel Computing and Optimization Techniques · Advanced Data Storage Technologies
