2017 · 288 citations · 35 references
ComputingComputer EngineeringComputer ScienceComputer SecurityOperating SystemsVulnerability AnalysisMicroarchitectural SecuritySide-channel AnalysisSide-channel AttacksVirtual MemoryCache Access PatternsCache AttacksCache Fault AttacksCache Side-channel AttacksMemory Access Pattern LeakageMicroarchitectural Side-channel AnalysisMicroarchitectural Side-channel AttacksSide-channel Countermeasures
Intel SGX’s side‑channel vulnerabilities, especially the newly discovered page‑fault attack, have attracted attention, yet little is known about the effectiveness of defenses or other memory‑management attack surfaces. This study initiates a systematic analysis of SGX side‑channel threats by examining risks associated with its memory management. We identify eight memory‑management attack vectors, correct misconceptions about AEXs and EdDSA key recovery, demonstrate fine‑grained monitoring via cache and cross‑enclave DRAM channels, and expose a gap between current research and SGX’s side‑channel weaknesses, prompting a revised threat model.
Side-channel risks of Intel's SGX have recently attracted great attention. Under the spotlight is the newly discovered page-fault attack, in which an OS-level adversary induces page faults to observe the page-level access patterns of a protected process running in an SGX enclave. With almost all proposed defense focusing on this attack, little is known about whether such efforts indeed raises the bar for the adversary, whether a simple variation of the attack renders all protection ineffective, not to mention an in-depth understanding of other attack surfaces in the SGX system. In the paper, we report the first step toward systematic analyses of side-channel threats that SGX faces, focusing on the risks associated with its memory management. Our research identifies 8 potential attack vectors, ranging from TLB to DRAM modules. More importantly, we highlight the common misunderstandings about SGX memory side channels, demonstrating that high frequent AEXs can be avoided when recovering EdDSA secret key through a new page channel and fine-grained monitoring of enclave programs (at the level of 64B) can be done through combining both cache and cross-enclave DRAM channels. Our findings reveal the gap between the ongoing security research on SGX and its side-channel weaknesses, redefine the side-channel threat model for secure enclaves, and can provoke a discussion on when to use such a system and how to use it securely.
35
Proceedings of the 11th USENIX Security Symposium
Dan Boneh · 2002 · 2.5K citations
IEEE Software · 2011 · 2K citations
A note on the confinement problem
Butler Lampson · Communications of the ACM · 1973 · 1.4K citations · Full text
Last-Level Cache Side-Channel Attacks are Practical
Fangfei Liu, Yuval Yarom, Qian Ge et al. · 2015 · 1K citations · Full text