{
  "id": "2025/820",
  "url": "https://opencryptology.org/2025/820",
  "original_url": "https://eprint.iacr.org/2025/820",
  "title": "Less Than a Bit to Rule Them All – Key Recovery from Randomness Leakage in ML-DSA",
  "authors": [
    "Simon Damm",
    "Nicolai Kraus",
    "Alexander May",
    "Julian Nowakowski",
    "Jonas Thietke"
  ],
  "affiliations": null,
  "abstract": "The Fiat-Shamir transform is one of the most widely applied methods for secure signature construction. Fiat-Shamir starts with an interactive zero-knowledge identification protocol and transforms this via a hash function into a non-interactive signature. The protocol's zero-knowledge property ensures that a signature does not leak information on its secret key $\\mathbf s$, which is achieved by blinding $\\vec s$ via proper randomness $\\mathbf y$.\nMost prominent Fiat-Shamir examples are EC-DSA signatures and the new post-quantum standard ML-DSA (aka Dilithium).\n\nIn practice, EC-DSA signatures have experienced fatal attacks via leakage of a few bits of the randomness $\\mathbf y$ per signature.\nSimilar attacks now emerge for lattice-based signatures, such as ML-DSA .\n\nWe build on, improve and generalize the pioneering leakage attack on ML-DSA by Liu, Zhou, Sun, Wang, Zhang, and Ming.\nUsing a transformation to Integer LWE (ILWE), their attack can recover a 256-dimensional subkey of ML-DSA-44 from leakage in a single bit of $\\mathbf{y}$ per signature, in any bit position $j \\geq 6$.\nHowever, the number of required signatures grows exponentially as $4^j$. \n\nIn this work, we show that not all leaky signatures carry information about the secret subkey. We introduce the notion of informative signature relations. This notion allows us to define a preprocessing step, called filter-and-shift that leads to ILWE instances that require a smaller sample amount. Unlike the standard ILWE transformation, filter-and-shift exploits the smallness of secret keys, and therefore might be of independent cryptanalytic interest. \n\n In comparison to Liu et al., for $j=6$ we require only a quarter of the signatures and reduce the exponential growth to $2^j$.\nIn addition, we show that the secret subkey can be recovered even with a leak bit corrupted by a large amount of noise, in theory up to the maximum of $50\\%$. Experimentally, we still recover the secret with $43\\%$ noise, where we need $170$ times as many signatures as in the noise-free setting.\n\nThe attack applies more generally to all Fiat-Shamir-type lattice-based signatures.\nFor a signature scheme based on module LWE over an $\\ell$-dimensional module, the attack uses a 1-bit leak per signature to efficiently recover a $\\frac{1}{\\ell}$-fraction of the secret key.\nIn the ring LWE setting, which can be seen as module LWE with $\\ell = 1$, the attack recovers the whole key.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Less Than a Bit to Rule Them All – Key Recovery from Randomness Leakage in ML-DSA” by Simon Damm, Nicolai Kraus, Alexander May, Julian Nowakowski, Jonas Thietke, Cryptology ePrint Archive, Paper 2025/820, https://eprint.iacr.org/2025/820. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2025-05-08T16:23:08Z",
    "updated": "2026-02-18T09:52:07Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/820.pdf",
    "sha256": "a31fce458d936879ccc9745252bc566332c835c64c0cbe7f0e2d7db9ff0eb529",
    "size": 661192,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/820/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/2025/820.pdf",
      "size": 661192,
      "sha256": "a31fce458d936879ccc9745252bc566332c835c64c0cbe7f0e2d7db9ff0eb529",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2025/820/versions/20250509T060404Z.pdf",
      "captured_at": "2025-05-09T06:04:04Z",
      "label": "copy captured 2025-05-09",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20250509060404id_/https://eprint.iacr.org/2025/820.pdf",
      "size": 602628,
      "sha256": "96fb0ceef3704f0d8a72702c0a03e68e66337b77fa0b8fc4c3111c012a1cf8f6",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260821053212id_/https://eprint.iacr.org/2025/820.pdf",
      "captured_at": "2026-08-21T05:32:12Z",
      "size": 657829
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/820.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 661192
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/820,\n      author = {Simon Damm and Nicolai Kraus and Alexander May and Julian Nowakowski and Jonas Thietke},\n      title = {Less Than a Bit to Rule Them All – Key Recovery from Randomness Leakage in ML-DSA},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/820},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/820}\n}"
}
