{
  "id": "2026/2137",
  "url": "https://opencryptology.org/2026/2137",
  "original_url": "https://eprint.iacr.org/2026/2137",
  "title": "Too Small to Hide: Single-Trace Key Recovery from ML-KEM Key Generation",
  "authors": [
    "Vahid Jahandideh"
  ],
  "affiliations": null,
  "abstract": "Key generation in ML-KEM (CRYSTALS-Kyber) samples a short secret from a centered binomial distribution (CBD) and immediately transforms it with the number-theoretic transform (NTT). Each execution draws fresh randomness, so an attacker obtains a single trace and cannot average. We show that one power trace of the optimized pqm4 implementation on an Arm Cortex-M4 suffices, and that the two operations leak complementary information. The CBD sampler stores each coefficient as a signed $16$-bit two's-complement word, which reveals its sign almost without error but too little about its magnitude to yield long error-free hint sets. The missing magnitude leaks in the subsequent NTT, where coefficients are multiplied by public twiddle factors. Used as hints in a primal lattice attack, the combined leakage reduces the estimated BKZ block size for ML-KEM-768 from $624$ to $129$, corresponding to $2^{182.2}$ and $2^{37.7}$ in the core-SVP model. A control experiment shows that the same NTT code leaks the Hamming weight of a near-uniform operand as strongly as that of the secret, yet reveals almost nothing about its value. What makes a coefficient vulnerable is how few values it can take, not how small it is. That points to a countermeasure inside the CBD sampler. Each sample $v$ is stored as a random representative $\\widetilde v = v + rq$ of its residue class, with $r$ nonzero, so the NTT and all later code run unchanged. This $q$-randomization drives the sign leakage to the noise floor, reduces the NTT magnitude leakage by $4.5\\times$, and raises the block size from $129$ back to $611$, about four bits of estimated security lost instead of more than $140$. The sampler grows by $937$ bytes of firmware.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Too Small to Hide: Single-Trace Key Recovery from ML-KEM Key Generation” by Vahid Jahandideh, Cryptology ePrint Archive, Paper 2026/2137, https://eprint.iacr.org/2026/2137. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-09-21T09:57:35Z",
    "updated": "2026-09-21T09:57:35Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2137.pdf",
    "sha256": "7505c1b01717ae7c2ecaf929fc20d6b537a961da9ed19878abd939c8f091a065",
    "size": 822061,
    "source": "wayback",
    "source_date": "2026-10-02T08:25:50Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/2137/versions/20261002T082550Z.pdf",
      "captured_at": "2026-10-02T08:25:50Z",
      "label": "copy captured 2026-10-02",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20261002082550id_/https://eprint.iacr.org/2026/2137.pdf",
      "size": 822061,
      "sha256": "7505c1b01717ae7c2ecaf929fc20d6b537a961da9ed19878abd939c8f091a065",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20261002082550id_/https://eprint.iacr.org/2026/2137.pdf",
      "captured_at": "2026-10-02T08:25:50Z",
      "size": 802362
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/2137,\n      author = {Vahid Jahandideh},\n      title = {Too Small to Hide: Single-Trace Key Recovery from ML-KEM Key Generation},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2137},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2137}\n}"
}
