Lune

USENIX Security2019顶会

SPOILER: Speculative Load Hazards Boost Rowhammer and Cache Attacks

Saad Islam, Ahmad Moghimi, Ida Bruhns, Moritz Krebbel, Berk Gülmezoglu, Thomas Eisenbarth, Berk Sunar

摘要

Modern microarchitectures incorporate optimization techniques such as speculative loads and store forwarding to improve the memory bottleneck. The processor executes the load speculatively before the stores, and forwards the data of a preceding store to the load if there is a potential dependency. This enhances performance since the load does not have to wait for preceding stores to complete. However, the dependency prediction relies on partial address information, which may lead to false dependencies and stall hazards. In this work, we are the first to show that the dependency resolution logic that serves the speculative load can be exploited to gain information about the physical page mappings. Microarchitectural side-channel attacks such as Rowhammer and cache attacks like Prime+Probe rely on the reverse engineering of the virtual-to-physical address mapping. We propose the SPOILER attack which exploits this leakage to speed up this reverse engineering by a factor of 256. Then, we show how this can improve the Prime+Probe attack by a 4096 factor speed up of the eviction set search, even from sandboxed environments like JavaScript. Finally, we improve the Rowhammer attack by showing how SPOILER helps to conduct DRAM row conflicts deterministically with up to 100% chance, and by demonstrating a double-sided Rowhammer attack with normal user's privilege. The later is due to the possibility of detecting contiguous memory pages using the SPOILER leakage.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Spectre Attacks: Exploiting Speculative Execution
  • 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 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
  • HardFails: Insights into Software-Exploitable Hardware Bugs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • HardFails: Insights into Software-Exploitable Hardware Bugs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 LVI: Hijacking Transient Execution through Microarchitectural Load Value Injection
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 Spectre Attacks: Exploiting Speculative Execution
  • 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
  • CacheOut: Leaking Data on Intel CPUs via Cache Evictions 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution 引用了 Spectre Attacks: Exploiting Speculative Execution
  • TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Meltdown: Reading Kernel Memory from User Space
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order Execution
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ARMageddon: Cache Attacks on Mobile Devices
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper30

  1. Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss 等CCS 2019 · 289 次引用
  2. LVI: Hijacking Transient Execution through Microarchitectural Load Value InjectionJo Van Bulck, Daniel Moghimi, Michael Schwarz, Moritz Lipp 等S&P 2020 · 275 次引用
  3. TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
  4. CacheOut: Leaking Data on Intel CPUs via Cache EvictionsStephan van Schaik, Marina Minkin, Andrew Kwong, Daniel Genkin 等S&P 2021 · 158 次引用
  5. HardFails: Insights into Software-Exploitable Hardware BugsGhada Dessouky, David Gens, Patrick Haney, Garrett Persyn 等USENIX Security 2019 · 149 次引用

它引用的 Paper16

  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. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  5. ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice 等USENIX Security 2016 · 451 次引用

相关 Paper

  1. Efficient and Generic Microarchitectural Hash-Function RecoveryLukas Gerlach, Simon Schwarz, Nicolas Faroß, Michael SchwarzS&P 2024 · 14 次引用
  2. Half Spectre, Full Exploit: Hardening Rowhammer Attacks with Half-Spectre GadgetsAndrea Di Dio, Mathé Hertogh, Cristiano GiuffridaS&P 2025
  3. SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik 等USENIX Security 2024 · 28 次引用
  4. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  5. Theory and Practice of Finding Eviction SetsPepe Vila, Boris Köpf, José F. MoralesS&P 2019 · 145 次引用
黄昏的海面,两侧是细线勾勒的悬崖