{
  "id": "2023/1931",
  "url": "https://opencryptology.org/2023/1931",
  "original_url": "https://eprint.iacr.org/2023/1931",
  "title": "Single-Trace Side-Channel Attacks on CRYSTALS-Dilithium: Myth or Reality?",
  "authors": [
    "Ruize Wang",
    "Kalle Ngo",
    "Joel Gärtner",
    "Elena Dubrova"
  ],
  "affiliations": null,
  "abstract": "We present a side-channel attack on CRYSTALS-Dilithium, a post-quantum secure digital signature scheme, with two variants of post-processing. The side-channel attack exploits information leakage in the secret key unpacking procedure of the signing algorithm to recover the coefficients of the polynomials in the secret key vectors ${\\bf s}_1$ and ${\\bf s}_2$ by profiled deep learning-assisted power analysis. In the first variant, one half of the coefficients of ${\\bf s}_1$ and ${\\bf s}_2$ is recovered by power analysis and the rest is derived by solving a system of linear equations based on ${\\bf t} = {\\bf A}{\\bf s}_1 + {\\bf s}_2$, where ${\\bf A}$ and ${\\bf t}$ are parts of the public key. This case assumes knowledge of the least significant bits of the vector ${\\bf t}$,  ${\\bf t}_0$. The second variant waives this requirement. However, to succeed, it needs a larger portion of ${\\bf s}_1$ to be recovered by power analysis. The remainder of ${\\bf s}_1$ is obtained by lattice reduction. Once the full ${\\bf s}_1$ is recovered, all the other information necessary for generating valid signatures can be trivially derived from the public key. We evaluate both variants on an ARM Cortex-M4 implementation of Dilithium-2. The profiling stage (trace capture and neural network training) takes less than 10 hours. In the attack assuming that ${\\bf t}_0$ is known, the probability of successfully recovering the full vector ${\\bf s}_1$ from a single trace captured from a different from profiling device is non-negligible (9%). The success rate approaches 100% if multiple traces are available for the attack. Our results demonstrate the necessity of protecting the secret key of CRYSTALS-Dilithium from single-trace attacks and call for a reassessment of the role of compression of the public key vector ${\\bf t}$ in the security of CRYSTALS-Dilithium implementations.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Single-Trace Side-Channel Attacks on CRYSTALS-Dilithium: Myth or Reality?” by Ruize Wang, Kalle Ngo, Joel Gärtner, Elena Dubrova, Cryptology ePrint Archive, Paper 2023/1931, https://eprint.iacr.org/2023/1931. 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-12-20T13:26:50Z",
    "updated": "2023-12-20T13:26:50Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2023/1931.pdf",
    "sha256": "8af9f7051e0213cadd3bf0b814f6cbacbd5c5c5a5849119a39517f73557bc712",
    "size": 3851456,
    "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/1931/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/1931.pdf",
      "size": 3851456,
      "sha256": "8af9f7051e0213cadd3bf0b814f6cbacbd5c5c5a5849119a39517f73557bc712",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260222131848id_/https://eprint.iacr.org/2023/1931.pdf",
      "captured_at": "2026-02-22T13:18:48Z",
      "size": 3717733
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2023/1931.pdf",
      "captured_at": "2024-01-14T06:13:41Z",
      "size": 3851456
    }
  ],
  "bibtex": "@misc{cryptoeprint:2023/1931,\n      author = {Ruize Wang and Kalle Ngo and Joel Gärtner and Elena Dubrova},\n      title = {Single-Trace Side-Channel Attacks on CRYSTALS-Dilithium: Myth or Reality?},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2023/1931},\n      year = {2023},\n      url = {https://eprint.iacr.org/2023/1931}\n}"
}
