Lune

S&P2022顶会

SpecHammer: Combining Spectre and Rowhammer for New Speculative Attacks

Youssef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin, Kang G. Shin

摘要

The recent Spectre attacks have revealed how the performance gains from branch prediction come at the cost of weakened security. Spectre Variant 1 (v1) shows how an attacker-controlled variable passed to speculatively executed lines of code can leak secret information to an attacker. Numerous defenses have since been proposed to prevent Spectre attacks, each attempting to block all or some of the Spectre variants. In particular, defenses using taint-tracking are claimed to be the only way to protect against all forms of Spectre v1. However, we show that the defenses proposed thus far can be bypassed by combining Spectre with the well-known Rowhammer vulnerability. By using Rowhammer to modify victim values, we relax the requirement that the attacker needs to share a variable with the victim. Thus, defenses that rely on this requirement, such as taint-tracking, are no longer effective. Furthermore, without this crucial requirement, the number of gadgets that can potentially be used to launch a Spectre attack increases dramatically; those present in Linux kernel version 5.6 increases from about 100 to about 20,000 via Rowhammer bit-flips. Attackers can use these gadgets to steal sensitive information such as stack cookies or canaries, or use new triple gadgets to read any address in memory. We demonstrate two versions of the combined attack on example victims in both user and kernel spaces, showing the attack’s ability to leak sensitive data.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism 引用了 When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer
  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 RowPress: Amplifying Read Disturbance in Modern DRAM Chips
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 MOESI-prime: preventing coherence-induced hammering in commodity workloads
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • 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
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper41

  1. RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul 等ISCA 2023 · 71 次引用
  2. When Frodo Flips: End-to-End Key Recovery on FrodoKEM via RowhammerMichael Fahr, Hunter Kippen, Andrew Kwong, Thinh Dang 等CCS 2022 · 34 次引用
  3. MOESI-prime: preventing coherence-induced hammering in commodity workloadsKevin Loughlin, Stefan Saroiu, Alec Wolman, Yatin A. Manerkar 等ISCA 2022 · 34 次引用
  4. ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel 等USENIX Security 2024 · 29 次引用
  5. SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik 等USENIX Security 2024 · 28 次引用

它引用的 Paper18

  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. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz 等USENIX Security 2016 · 500 次引用
  4. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  5. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用

相关 Paper

  1. Half Spectre, Full Exploit: Hardening Rowhammer Attacks with Half-Spectre GadgetsAndrea Di Dio, Mathé Hertogh, Cristiano GiuffridaS&P 2025
  2. Go Go Gadget Hammer: Flipping Nested Pointers for Arbitrary Data LeakageYoussef Tobah, Andrew Kwong, Ingab Kang, Daniel Genkin 等USENIX Security 2024 · 11 次引用
  3. Understanding and Mitigating Covert Channel and Side Channel Vulnerabilities Introduced by RowHammer DefensesF. Nisa Bostanci, Oguzhan Canpolat, Ataberk Olgun, Ismail Emir Yüksel 等MICRO 2025 · 8 次引用
  4. HammerScope: Observing DRAM Power Consumption Using RowhammerYaakov Cohen, Kevin Sam Tharayil, Arie Haenel, Daniel Genkin 等CCS 2022 · 24 次引用
  5. SpecCFI: Mitigating Spectre Attacks using CFI Informed SpeculationEsmaeil Mohammadian Koruyeh, Shirin Haji Amin Shirazi, Khaled N. Khasawneh, Chengyu Song 等S&P 2020 · 74 次引用
黄昏的海面,两侧是细线勾勒的悬崖