Lune

S&P2020顶会

LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection

Jo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp, Marina Minkin, Daniel Genkin, Yuval Yarom, Berk Sunar, Daniel Gruss, Frank Piessens

摘要

The recent Spectre attack first showed how to inject incorrect branch targets into a victim domain by poisoning microarchitectural branch prediction history. In this paper, we generalize injection-based methodologies to the memory hierarchy by directly injecting incorrect, attacker-controlled values into a victim’s transient execution. We propose Load Value Injection (LVI) as an innovative technique to reversely exploit Meltdown-type microarchitectural data leakage. LVI abuses that faulting or assisted loads, executed by a legitimate victim program, may transiently use dummy values or poisoned data from various microarchitectural buffers, before eventually being re-issued by the processor. We show how LVI gadgets allow to expose victim secrets and hijack transient control flow. We practically demonstrate LVI in several proof-of-concept attacks against Intel SGX enclaves, and we discuss implications for traditional user process and kernel isolation. State-of-the-art Meltdown and Spectre defenses, including widespread silicon-level and microcode mitigations, are orthogonal to our novel LVI techniques. LVI drastically widens the spectrum of incorrect transient paths. Fully mitigating our attacks requires serializing the processor pipeline with lfence instructions after possibly every memory load. Additionally and even worse, due to implicit loads, certain instructions have to be blacklisted, including the ubiquitous x86 ret instruction. Intel plans compiler and assembler-based full mitigations that will allow at least SGX enclave programs to remain secure on LVI-vulnerable systems. Depending on the application and optimization strategy, we observe extensive overheads of factor 2 to 19 for prototype implementations of the full mitigation.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • 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
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 Meltdown: Reading Kernel Memory from User Space
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 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
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 Spectre Attacks: Exploiting Speculative Execution
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 Meltdown: Reading Kernel Memory from User Space
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order 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 引用了 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 引用了 CacheOut: Leaking Data on Intel CPUs via Cache Evictions
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Meltdown: Reading Kernel Memory from User Space
  • CrossTalk: Speculative Data Leaks Across Cores Are Real 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Spectre Attacks: Exploiting Speculative Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Spectre Attacks: Exploiting Speculative Execution
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 CacheOut: Leaking Data on Intel CPUs via Cache Evictions
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Meltdown: Reading Kernel Memory from User Space
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • DOLMA: Securing Speculation with the Principle of Transient Non-Observability 引用了 CrossTalk: Speculative Data Leaks Across Cores Are Real
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper115

  1. PLATYPUS: Software-based Power Side-Channel Attacks on x86Moritz Lipp, Andreas Kogler, David F. Oswald, Michael Schwarz 等S&P 2021 · 242 次引用
  2. CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos 等S&P 2021 · 162 次引用
  3. CacheOut: Leaking Data on Intel CPUs via Cache EvictionsStephan van Schaik, Marina Minkin, Andrew Kwong, Daniel Genkin 等S&P 2021 · 158 次引用
  4. CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig 等USENIX Security 2021 · 150 次引用
  5. DOLMA: Securing Speculation with the Principle of Transient Non-ObservabilityKevin Loughlin, Ian Neal, Jiacheng Ma, Elisa Tsai 等USENIX Security 2021 · 94 次引用

它引用的 Paper19

  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. Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim 等USENIX Security 2017 · 536 次引用
  5. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用

相关 Paper

  1. Repurposing Segmentation as a Practical LVI-NULL Mitigation in SGXLukas Giner, Andreas Kogler, Claudio Canella, Michael Schwarz 等USENIX Security 2022
  2. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
  3. Branch History Injection: On the Effectiveness of Hardware Mitigations Against Cross-Privilege Spectre-v2 AttacksEnrico Barberis, Pietro Frigo, Marius Muench, Herbert Bos 等USENIX Security 2022
  4. Nemesis: Studying Microarchitectural Timing Leaks in Rudimentary CPU Interrupt LogicJo Van Bulck, Frank Piessens, Raoul StrackxCCS 2018 · 141 次引用
  5. RETBLEED: Arbitrary Speculative Code Execution with Return InstructionsJohannes Wikner, Kaveh RazaviUSENIX Security 2022
黄昏的海面,两侧是细线勾勒的悬崖