Lune

CCS2018顶会

Nemesis: Studying Microarchitectural Timing Leaks in Rudimentary CPU Interrupt Logic

Jo Van Bulck, Frank Piessens, Raoul Strackx

摘要

Recent research on transient execution vulnerabilities shows that current processors exceed our levels of understanding. The prominent Meltdown and Spectre attacks abruptly revealed fundamental design flaws in CPU pipeline behavior and exception handling logic, urging the research community to systematically study attack surface from microarchitectural interactions. We present Nemesis, a previously overlooked side-channel attack vector that abuses the CPU's interrupt mechanism to leak microarchitectural instruction timings from enclaved execution environments such as Intel SGX, Sancus, and TrustLite. At its core, Nemesis abuses the same subtle microarchitectural behavior that enables Meltdown, i.e., exceptions and interrupts are delayed until instruction retirement. We show that by measuring the latency of a carefully timed interrupt, an attacker controlling the system software is able to infer instruction-granular execution state from hardware-enforced enclaves. In contrast to speculative execution vulnerabilities, our novel attack vector is applicable to the whole computing spectrum, from small embedded sensor nodes to highend commodity x86 hardware. We present practical interrupt timing attacks against the open-source Sancus embedded research processor, and we show that interrupt latency reveals microarchitectural instruction timings from off-the-shelf Intel SGX enclaves. Finally, we discuss challenges for mitigating Nemesis-type attacks at the hardware and software levels.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing 引用了 Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Spectre Attacks: Exploiting Speculative Execution
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Meltdown: Reading Kernel Memory from User Space
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Spectre Attacks: Exploiting Speculative Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • 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 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Meltdown: Reading Kernel Memory from User Space
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper66

  1. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  2. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  3. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck 等S&P 2020 · 369 次引用
  4. LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp 等S&P 2020 · 275 次引用
  5. CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos 等S&P 2021 · 162 次引用

它引用的 Paper10

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. 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 次引用
  4. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 次引用
  5. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用

相关 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-Notify: Thwarting Precise Single-Stepping Attacks through Interrupt Awareness for Intel SGX EnclavesScott Constable, Jo Van Bulck, Xiang Cheng, Yuan Xiao 等USENIX Security 2023
  3. An Exploratory Analysis of Microcode as a Building Block for System DefensesBenjamin Kollenda, Philipp Koppe, Marc Fyrbiak, Christian Kison 等CCS 2018 · 13 次引用
  4. BUSted!!! Microarchitectural Side-Channel Attacks on the MCU Bus InterconnectCristiano Rodrigues, Daniel Oliveira, Sandro PintoS&P 2024 · 15 次引用
  5. MetaLeak: Uncovering Side Channels in Secure Processor Architectures Exploiting MetadataMd Hafizul Islam Chowdhuryy, Hao Zheng, Fan YaoISCA 2024 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖