Lune

CCS2017顶会

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

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 103 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive World 引用了 ARMageddon: Cache Attacks on Mobile Devices
  • T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Another Flip in the Wall of Rowhammer Defenses 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Another Flip in the Wall of Rowhammer Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB Attacks 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ZeroTrace : Oblivious Memory Primitives from Intel SGX 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • ZeroTrace : Oblivious Memory Primitives from Intel SGX 引用了 T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • ZeroTrace : Oblivious Memory Primitives from Intel SGX 引用了 Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper103

  1. Translation Leak-aside Buffer: Defeating Cache Side-channel Protections with TLB AttacksBen Gras, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaUSENIX Security 2018 · 357 次引用
  2. Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved ExecutionJo Van Bulck, Nico Weichbrodt, Rüdiger Kapitza, Frank Piessens 等USENIX Security 2017 · 316 次引用
  3. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
  4. ZeroTrace : Oblivious Memory Primitives from Intel SGXSajin Sasy, Sergey Gorbunov, Christopher W. FletcherNDSS 2018 · 244 次引用
  5. Attack Directories, Not Caches: Side Channel Attacks in a Non-Inclusive WorldMengjia Yan, Read Sprabery, Bhargava Gopireddy, Christopher W. Fletcher 等S&P 2019 · 201 次引用

它引用的 Paper8

  1. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
  2. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
  3. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  4. ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用
  5. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 次引用

相关 Paper

  1. Frontal Attack: Leaking Control-Flow in SGX via the CPU FrontendIvan Puddu, Moritz Schneider, Miro Haller, Srdjan CapkunUSENIX Security 2021 · 63 次引用
  2. AEX-NStep: Probabilistic Interrupt Counting Attacks on Intel SGXNicolas Dutly, Friederike Groschupp, Ivan Puddu, Kari Kostiainen 等S&P 2026 · 1 次引用
  3. UncoreBleed: AEX-Free, High-Resolution, and Low-Noise Side-Channel Attacks on SGX Enclaved ExecutionDecheng Chen, Zhi Zhang, Zhenkai Zhang, Xin Zhang 等USENIX Security 2026
  4. TLBlur: Compiler-Assisted Automated Hardening against Controlled Channels on Off-the-Shelf Intel SGX PlatformsDaan Vanoverloop, Andrés Sánchez, Flavio Toffalini, Frank Piessens 等USENIX Security 2025
  5. STACCO: Differentially Analyzing Side-Channel Traces for Detecting SSL/TLS Vulnerabilities in Secure EnclavesYuan Xiao, Mengyuan Li, Sanchuan Chen, Yinqian ZhangCCS 2017 · 77 次引用
黄昏的海面,两侧是细线勾勒的悬崖