Lune

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism cites Another Flip in the Wall of Rowhammer Defenses
  • SledgeHammer: Amplifying Rowhammer via Bank-level Parallelism cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites Another Flip in the Wall of Rowhammer Defenses
  • ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites Another Flip in the Wall of Rowhammer Defenses
  • RowPress: Amplifying Read Disturbance in Modern DRAM Chips cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites 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 cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer Mitigation cites Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites 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 cites RowPress: Amplifying Read Disturbance in Modern DRAM Chips
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites 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 cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites Another Flip in the Wall of Rowhammer Defenses
  • CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low Cost cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Drammer: Deterministic Rowhammer Attacks on Mobile Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • Another Flip in the Wall of Rowhammer Defenses cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
  • Another Flip in the Wall of Rowhammer Defenses cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Drammer: Deterministic Rowhammer Attacks on Mobile Platforms
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. RowPress: Amplifying Read Disturbance in Modern DRAM ChipsHaocong Luo, Ataberk Olgun, Abdullah Giray Yaglikçi, Yahya Can Tugrul et al.ISCA 2023 · 71 citations
  2. ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi et al.USENIX Security 2024 · 63 citations
  3. ABACuS: All-Bank Activation Counters for Scalable and Low Overhead RowHammer MitigationAtaberk Olgun, Yahya Can Tugrul, Nisa Bostanci, Ismail Emir Yuksel et al.USENIX Security 2024 · 29 citations
  4. SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik et al.USENIX Security 2024 · 28 citations
  5. CoMeT: Count-Min-Sketch-based Row Tracking to Mitigate RowHammer at Low CostF. Nisa Bostanci, Ismail Emir Yüksel, Ataberk Olgun, Konstantinos Kanellopoulos et al.HPCA 2024 · 27 citations

Builds on17

  1. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
  2. Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
  3. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations
  4. TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
  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 citations

Related papers

  1. PQ-Hammer: End-to-End Key Recovery Attacks on Post-Quantum Cryptography Using RowhammerSamy Amer, Yingchen Wang, Hunter Kippen, Thinh Dang et al.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 citations
  3. QuantumHammer: A Practical Hybrid Attack on the LUOV Signature SchemeKoksal Mus, Saad Islam, Berk SunarCCS 2020 · 22 citations
  4. Crowhammer: Full Key Recovery Attack on Falcon with a Single Rowhammer Bit FlipCalvin Abou Haidar, Quentin Payet, Mehdi TibouchiCRYPTO 2025 · 4 citations
  5. Proof-of-Possession for KEM Certificates using Verifiable GenerationTim Güneysu, Philip W. Hodges, Georg Land, Mike Ounsworth et al.CCS 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines