Lune

USENIX Security2018顶会

The Guard's Dilemma: Efficient Code-Reuse Attacks Against Intel SGX

Andrea Biondo, Mauro Conti, Lucas Davi, Tommaso Frassetto, Ahmad-Reza Sadeghi

摘要

Intel Software Guard Extensions (SGX) isolate securitycritical code inside a protected memory area called enclave. Previous research on SGX has demonstrated that memory corruption vulnerabilities within enclave code can be exploited to extract secret keys and bypass remote attestation. However, these attacks require kernel privileges, and rely on frequently probing enclave code which results in many enclave crashes. Further, they assume a constant, not randomized memory layout. In this paper, we present novel exploitation techniques against SGX that do not require any enclave crashes and work in the presence of existing SGX randomization approaches such as SGX-Shield. A key contribution of our attacks is that they work under weak adversarial assumptions, e.g., not requiring kernel privileges. In fact, they can be applied to any enclave that is developed with the standard Intel SGX SDK on either Linux or Windows.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes 引用了 Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes 引用了 SGX-Shield: Enabling Address Space Layout Randomization for SGX Programs
  • A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes 引用了 Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
  • Towards Memory Safe Enclave Programming with Rust-SGX 引用了 Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • Towards Memory Safe Enclave Programming with Rust-SGX 引用了 SGX-Shield: Enabling Address Space Layout Randomization for SGX Programs
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding Runtimes
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 SGX-Shield: Enabling Address Space Layout Randomization for SGX Programs
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
  • Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • 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
  • Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization 引用了 Hacking in Darkness: Return-oriented Programming against Secure Enclaves
  • Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization 引用了 SGX-Shield: Enabling Address Space Layout Randomization for SGX Programs
  • Exploiting Unprotected I/O Operations in AMD's Secure Encrypted Virtualization 引用了 Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
  • FastKitten: Practical Smart Contracts on Bitcoin 引用了 SGX-Shield: Enabling Address Space Layout Randomization for SGX Programs
  • FastKitten: Practical Smart Contracts on Bitcoin 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck 等S&P 2020 · 369 次引用
  2. A Tale of Two Worlds: Assessing the Vulnerability of Enclave Shielding RuntimesJo Van Bulck, David F. Oswald, Eduard Marin, Abdulla Aldoseri 等CCS 2019 · 159 次引用
  3. FastKitten: Practical Smart Contracts on BitcoinPoulami Das, Lisa Eckey, Tommaso Frassetto, David Gens 等USENIX Security 2019 · 118 次引用
  4. Exploiting Unprotected I/O Operations in AMD's Secure Encrypted VirtualizationMengyuan Li, Yinqian Zhang, Zhiqiang Lin, Yan SolihinUSENIX Security 2019 · 104 次引用
  5. Towards Memory Safe Enclave Programming with Rust-SGXHuibo Wang, Pei Wang, Yu Ding, Mingshen Sun 等CCS 2019 · 86 次引用

它引用的 Paper5

  1. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
  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. Strong and Efficient Cache Side-Channel Protection using Hardware Transactional MemoryDaniel Gruss, Julian Lettner, Felix Schuster, Olga Ohrimenko 等USENIX Security 2017 · 254 次引用
  4. SGX-Shield: Enabling Address Space Layout Randomization for SGX ProgramsJaebaek Seo, Byoungyoung Lee, Seong-Min Kim, Ming-Wei Shih 等NDSS 2017 · 227 次引用
  5. Hacking in Darkness: Return-oriented Programming against Secure EnclavesJae-Hyuk Lee, Jin Soo Jang, Yeongjin Jang, Nohyun Kwak 等USENIX Security 2017 · 191 次引用

相关 Paper

  1. TeeRex: Discovery and Exploitation of Memory Corruption Vulnerabilities in SGX EnclavesTobias Cloosters, Michael Rodler, Lucas DaviUSENIX Security 2020
  2. Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
  3. SGXFuzz: Efficiently Synthesizing Nested Structures for SGX Enclave FuzzingTobias Cloosters, Johannes Willbold, Thorsten Holz, Lucas DaviUSENIX Security 2022
  4. EnclaveFuzz: Finding Vulnerabilities in SGX ApplicationsLiheng Chen, Zheming Li, Zheyu Ma, Yuan Li 等NDSS 2024
  5. WireTap: Breaking Server SGX via DRAM Bus InterpositionAlexander Seto, Oytun Kuday Duran, Samy Amer, Jalen Chuang 等CCS 2025
黄昏的海面,两侧是细线勾勒的悬崖