Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX

By Wenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang, Xiaofeng Wang, Vincent Bindschaedler, Haixu Tang, Carl A. Gunter. 2017

411 citations recorded by the source corpus.

Side-channel risks of Intel 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 raise 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.

Subfields: Artificial Intelligence, Hardware and Architecture, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Yang Zhang
  2. Michael Backes
  3. Reza Shokri
  4. Mario Fritz
  5. Ahmed Salem
  6. Vitaly Shmatikov
  7. Congzheng Song
  8. Hamed Haddadi

In Hardware and Architecture

  1. Sanchuan Chen
  2. Michael Backes
  3. Herbert Bos
  4. Murali Annavaram
  5. Emmett Witchel
  6. Josep Torrellas
  7. Vitaly Shmatikov
  8. Mario Fritz

In Signal Processing

  1. Daniel Gruss
  2. Yuval Yarom
  3. Moritz Lipp
  4. Michael Schwarz
  5. Jo Van Bulck
  6. Herbert Bos
  7. Cristiano Giuffrida
  8. Kaveh Razavi

Citations in the corpus