{
  "id": "2023/050",
  "url": "https://opencryptology.org/2023/050",
  "original_url": "https://eprint.iacr.org/2023/050",
  "title": "Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach",
  "authors": [
    "Alexandre Berzati",
    "Andersson Calle Viera",
    "Maya Chartouny",
    "Steven Madec",
    "Damien Vergnaud",
    "David Vigilant"
  ],
  "affiliations": null,
  "abstract": "This paper presents a new profiling side-channel attack on CRYSTALS-Dilithium, the new NIST primary standard for quantum-safe digital signatures. An open source implementation of CRYSTALS-Dilithium is already available, with constant-time property as a consideration for side-channel resilience. However, this implementation does not protect against attacks that exploit intermediate data leakage. We show how to exploit a new leakage on a vector generated during the signing process, for which the costly protection by masking is still a matter of debate. With a corpus of 700000 messages, we design a template attack that enables us to efficiently predict whether a given coefficient in one coordinate of this vector is zero or not. By gathering signatures and being able to make the correct predictions for each index, and then using linear algebra methods, this paper demonstrates that one can recover part of the secret key that is sufficient to produce universal forgeries. \nWhile our paper deeply discusses the theoretical attack path, it also demonstrates the validity of the assumption regarding the required leakage model from practical experiments with the reference implementation on an ARM Cortex-M4. We need approximately a day to collect enough representatives and one more day to perform the traces acquisition on our target.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach” by Alexandre Berzati, Andersson Calle Viera, Maya Chartouny, Steven Madec, Damien Vergnaud, David Vigilant, Cryptology ePrint Archive, Paper 2023/050, https://eprint.iacr.org/2023/050. 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-01-16T10:19:10Z",
    "updated": "2023-07-17T09:03:45Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/050.pdf",
    "sha256": "ae413cf5a3f41b793251b30780ce4d9ee03232ca94935a80848629266d9dbf76",
    "size": 3961494,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:41Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2023/050/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/50.pdf",
      "size": 3961494,
      "sha256": "ae413cf5a3f41b793251b30780ce4d9ee03232ca94935a80848629266d9dbf76",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2023/050/versions/20230119T232221Z.pdf",
      "captured_at": "2023-01-19T23:22:21Z",
      "label": "copy captured 2023-01-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20230119232221id_/https://eprint.iacr.org/2023/050.pdf",
      "size": 5538092,
      "sha256": "6f3b020942ba2ef6e49868b0e16f444828c9a3f3b17c25dd7666fe688a03f976",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260420123254id_/https://eprint.iacr.org/2023/050.pdf",
      "captured_at": "2026-04-20T12:32:54Z",
      "size": 3854449
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/50.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 3961494
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/050,\n      author = {Alexandre Berzati and Andersson Calle Viera and Maya Chartouny and Steven Madec and Damien Vergnaud and David Vigilant},\n      title = {Exploiting Intermediate Value Leakage in Dilithium: A Template-Based Approach},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/050},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/050}\n}"
}
