Lune

CCS2022顶会

When Frodo Flips: End-to-End Key Recovery on FrodoKEM via Rowhammer

Michael Fahr, Hunter Kippen, Andrew Kwong, Thinh Dang, Jacob Lichtinger, Dana Dachman-Soled, Daniel Genkin, Alexander Nelson, Ray A. Perlner, Arkady Yerukhimovich, Daniel Apon

摘要

In this work, we recover the private key material of the FrodoKEM key exchange mechanism as submitted to the NIST Post Quantum Cryptography (PQC) standardization process. The new mechanism that allows for this is a Rowhammer-assisted poisoning of the FrodoKEM Key Generation (KeyGen) process. The Rowhammer side-channel is a hardware-based security exploit that allows flipping bits in DRAM by "hammering" rows of memory adjacent to some target-victim memory location by repeated memory accesses. Using Rowhammer, we induce the FrodoKEM software to output a higher-error Public Key (PK), (A, B = AS + E), where the error E is modified by Rowhammer. Then, we perform a decryption failure attack, using a variety of publicly-accessible supercomputing resources running on the order of only 200,000 core-hours. We delicately attenuate the decryption failure rate to ensure that the adversary's attack succeeds practically, but so honest users cannot easily detect the manipulation. Achieving this public key "poisoning" requires an extreme engineering effort, as FrodoKEM's KeyGen runs on the order of 8 milliseconds. (Prior Rowhammer-assisted attacks against cryptography require as long as 8 hours of persistent access.) In order to handle this real-world timing condition, we require a wide variety of prior and brand new, low-level engineering techniques, including e.g. memory massaging algorithms -i.e. "Feng Shui"and a precisely-targeted performance degradation attack on the extendable output function SHAKE. We explore the applicability of our techniques to other latticebased KEMs in the NIST PQC Round 3 candidate-pool, e.g. Kyber, Saber, etc, as well as the difficulties that arise in the various settings. To conclude, we discuss various simple countermeasures to protect implementations against this, and similar, attacks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism 引用了 Another Flip in the Wall of Rowhammer Defenses
  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms 引用了 Another Flip in the Wall of Rowhammer Defenses
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 Another Flip in the Wall of Rowhammer Defenses
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • 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 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation 引用了 Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 RowPress: Amplifying Read Disturbance in Modern DRAM Chips
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost 引用了 TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses 引用了 Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Another Flip in the Wall of Rowhammer Defenses 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • TRRespass: Exploiting the Many Sides of Target Row Refresh 引用了 Another Flip in the Wall of Rowhammer Defenses
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper20

  1. RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul 等ISCA 2023 · 71 次引用
  2. ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi 等USENIX Security 2024 · 63 次引用
  3. 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 次引用
  4. SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik 等USENIX Security 2024 · 28 次引用
  5. CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos 等HPCA 2024 · 27 次引用

它引用的 Paper17

  1. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss 等CCS 2016 · 381 次引用
  2. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin 等S&P 2018 · 288 次引用
  3. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp 等CCS 2016 · 278 次引用
  4. TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen 等S&P 2020 · 274 次引用
  5. One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 次引用

相关 Paper

  1. PQ-Hammer: End-to-End Key Recovery Attacks on Post-Quantum Cryptography Using RowhammerSamy Amer, Yingchen Wang, Hunter Kippen, Thinh Dang 等S&P 2025
  2. A Key-Recovery Timing Attack on Post-quantum Primitives Using the Fujisaki-Okamoto Transformation and Its Application on FrodoKEMQian Guo, Thomas Johansson, Alexander NilssonCRYPTO 2020 · 84 次引用
  3. QuantumHammer: A Practical Hybrid Attack on the LUOV Signature SchemeKoksal Mus, Saad Islam, Berk SunarCCS 2020 · 22 次引用
  4. Crowhammer: Full Key Recovery Attack on Falcon with a Single Rowhammer Bit FlipCalvin Abou Haidar, Quentin Payet, Mehdi TibouchiCRYPTO 2025 · 4 次引用
  5. Proof-of-Possession for KEM Certificates using Verifiable GenerationTim Güneysu, Philip W. Hodges, Georg Land, Mike Ounsworth 等CCS 2022 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖