{
  "id": "2023/1731",
  "url": "https://opencryptology.org/2023/1731",
  "original_url": "https://eprint.iacr.org/2023/1731",
  "title": "A practical key-recovery attack on LWE-based key- encapsulation mechanism schemes using Rowhammer",
  "authors": [
    "Puja Mondal",
    "Suparna Kundu",
    "Sarani Bhattacharya",
    "Angshuman Karmakar",
    "Ingrid Verbauwhede"
  ],
  "affiliations": null,
  "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.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“A practical key-recovery attack on LWE-based key- encapsulation mechanism schemes using Rowhammer” by Puja Mondal, Suparna Kundu, Sarani Bhattacharya, Angshuman Karmakar, Ingrid Verbauwhede, Cryptology ePrint Archive, Paper 2023/1731, https://eprint.iacr.org/2023/1731. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2023-11-08T10:34:34Z",
    "updated": "2023-11-08T10:34:34Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1731.pdf",
    "sha256": "374461c7c4fd76556661251c714f18bf5e0ad5c9b9491ffeb106e91ff15ea8fc",
    "size": 870206,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/1731/versions/20240114T061341Z.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1731.pdf",
      "size": 870206,
      "sha256": "374461c7c4fd76556661251c714f18bf5e0ad5c9b9491ffeb106e91ff15ea8fc",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260129213048id_/https://eprint.iacr.org/2023/1731.pdf",
      "captured_at": "2026-01-29T21:30:48Z",
      "size": 865111
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1731.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 870206
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1731,\n      author = {Puja Mondal and Suparna Kundu and Sarani Bhattacharya and Angshuman Karmakar and Ingrid Verbauwhede},\n      title = {A practical key-recovery attack on LWE-based key- encapsulation mechanism schemes using Rowhammer},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1731},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1731}\n}"
}
