Paper 2023/1731 Original: eprint.iacr.org/2023/1731 ↗

A practical key-recovery attack on LWE-based key- encapsulation mechanism schemes using Rowhammer

Puja Mondal
Suparna Kundu
Sarani Bhattacharya
Angshuman Karmakar
Ingrid Verbauwhede
Abstract

Physical attacks are serious threats to cryptosystems deployed in the real world. In this work, we propose a microarchitectural end-to-end attack methodology on generic lattice-based post-quantum key encapsulation mechanisms to recover the long-term secret key. Our attack targets a critical component of a Fujisaki-Okamoto transform that is used in the construction of almost all lattice-based key encapsulation mechanisms. We demonstrate our attack model on practical schemes such as Kyber and Saber by using Rowhammer. We show that our attack is highly practical and imposes little preconditions on the attacker to succeed. As an additional contribution, we propose an improved version of the plaintext checking oracle, which is used by almost all physical attack strategies on lattice-based key-encapsulation mechanisms. Our improvement reduces the number of queries to the plaintext checking oracle by as much as 39% for Saber and approximately 23% for Kyber768. This can be of independent interest and can also be used to reduce the complexity of other attacks.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2023-11-08: last updated
2023-11-08: published
Short URL
https://ia.cr/2023/1731
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2023/1731,
      author = {Puja Mondal and Suparna Kundu and Sarani Bhattacharya and Angshuman Karmakar and Ingrid Verbauwhede},
      title = {A practical key-recovery attack on LWE-based key- encapsulation mechanism schemes using Rowhammer},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1731},
      year = {2023},
      url = {https://eprint.iacr.org/2023/1731}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.