{
  "id": "2024/512",
  "url": "https://opencryptology.org/2024/512",
  "original_url": "https://eprint.iacr.org/2024/512",
  "title": "Single Trace is All It Takes: Efficient Side-channel Attack on Dilithium",
  "authors": [
    "Zehua Qiao",
    "Yuejun Liu",
    "Yongbin Zhou",
    "Yuhan Zhao",
    "Shuyi Chen"
  ],
  "affiliations": null,
  "abstract": "As the National Institute of Standards and Technology (NIST) concludes its post-quantum cryptography (PQC) competition, the winning algorithm, Dilithium, enters the deployment phase in 2024. This phase underscores the importance of conducting thorough practical security evaluations. Our study offers an in-depth side-channel analysis of Dilithium, showcasing the ability to recover the complete private key, ${s}_1$, within ten minutes using just two signatures and achieving a 60% success rate with a single signature. We focus on analyzing the polynomial addition in Dilithium, $z=y+{cs}_1$, by breaking down the attack into two main phases: the recovery of $y$ and ${cs}_1$ through side-channel attacks, followed by the resolution of a system of error-prone equations related to ${cs}_1$. Employing Linear Regression-based profiled attacks enables the successful recovery of the full $y$ value with a 40% success rate without the necessity for initial filtering. The extraction of ${cs}_1$ is further improved using a CNN model, which boasts an average success rate of 75%. A significant innovation of our research is the development of a constrained optimization-based residual analysis technique. This method efficiently recovers ${s}_1$ from a large set of error-containing equations concerning ${cs}_1$, proving effective even when only 10% of the equations are accurate. We conduct a practical attack on the Dilithium2 implementation on an STM32F4 platform, demonstrating that typically two signatures are sufficient for complete private key recovery, with a single signature sufficing in optimal conditions. Using a general-purpose PC, the full private key can be reconstructed in ten minutes.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Single Trace is All It Takes: Efficient Side-channel Attack on Dilithium” by Zehua Qiao, Yuejun Liu, Yongbin Zhou, Yuhan Zhao, Shuyi Chen, Cryptology ePrint Archive, Paper 2024/512, https://eprint.iacr.org/2024/512. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-04-01T02:36:49Z",
    "updated": "2024-04-09T01:34:52Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/512.pdf",
    "sha256": "246df5e40071e97b351ec257049a73914ca176ea7ee3eea747795ad86bcf9174",
    "size": 889305,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/512/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/512.pdf",
      "size": 889305,
      "sha256": "246df5e40071e97b351ec257049a73914ca176ea7ee3eea747795ad86bcf9174",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/512/versions/20240401T084648Z.pdf",
      "captured_at": "2024-04-01T08:46:48Z",
      "label": "copy captured 2024-04-01",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240401084648id_/https://eprint.iacr.org/2024/512.pdf",
      "size": 838045,
      "sha256": "ad24353d36df36a631d545e7b10f0602a3fa4f5dc044a79a33c29b6d2ec96c0b",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/512.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 889305
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260421015907id_/https://eprint.iacr.org/2024/512.pdf",
      "captured_at": "2026-04-21T01:59:07Z",
      "size": 870081
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/512,\n      author = {Zehua Qiao and Yuejun Liu and Yongbin Zhou and Yuhan Zhao and Shuyi Chen},\n      title = {Single Trace is All It Takes: Efficient Side-channel Attack on Dilithium},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/512},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/512}\n}"
}
