{
  "id": "2025/1629",
  "url": "https://opencryptology.org/2025/1629",
  "original_url": "https://eprint.iacr.org/2025/1629",
  "title": "Solving Concealed ILWE and its Application for Breaking Masked Dilithium",
  "authors": [
    "Simon Damm",
    "Asja Fischer",
    "Alexander May",
    "Soundes Marzougui",
    "Leander Schwarz",
    "Henning Seidler",
    "Jean-Pierre Seifert",
    "Jonas Thietke",
    "Vincent Quentin Ulitzsch"
  ],
  "affiliations": null,
  "abstract": "Lattice-based signatures like Dilithium (ML-DSA) prove knowledge of a secret key $s \\in \\mathbb{Z}_n$ by using Integer LWE (ILWE) samples $z = \\langle \\vec c, \\vec s \\rangle +y $, for some known hash value $c \\in \\mathbb{Z}_n$ of the message and unknown error $y$. Rejection sampling guarantees zero-knowledge, which makes the ILWE problem, that asks to recover s from many z’s, unsolvable. \n\nSide-channel attacks partially recover y, thereby obtaining more informative samples resulting in a—potentially tractable—ILWE problem. The standard method to solve the resulting problem is Ordinary Least Squares (OLS), which requires independence of $y$ from $\\langle c, s \\rangle$ —an assumption that is violated by zero-knowledge samples. \n\nWe present efficient algorithms for a variant of the ILWE problem that was not addressed in prior work, which we coin Concealed ILWE (CILWE). In this variant, only a fraction of the ILWE samples is zero-knowledge. We call this fraction the concealment rate. This ILWE variant naturally occurs in side-channel attacks on lattice-based signatures. A case in point are profiling side-channel attacks on Dilithium implementations that classify whether $y = 0$. This gives rise to either zero-error ILWE samples $z = \\langle c, s \\rangle$ with $y = 0$ (in case of correct classification), or ordinary zero-knowledge ILWE samples (in case of misclassification). \n\nAs we show, OLS is not practical for CILWE instances, as it requires a prohibitively large amount of samples for even small (under 10%) concealment rates. A known integer linear programming-based approach can solve some CILWE instances, but suffers from two short-comings. First, it lacks provable efficiency guarantees, as ILP is NP-hard in the worst case. Second, it does not utilize small, independent error $y$ samples, that could occur in addition to zero-knowledge samples. \n\nWe introduce two statistical regression methods to cryptanalysis, Huber and Cauchy regression. They are both efficient and can handle instances with all three types of samples. At the same time, they are capable of handling high concealment rates, up to 90% in practical experiments.  While Huber regression comes with theoretically appealing correctness guarantees, Cauchy regression performs best in practice. \n\nWe use this efficacy to execute a novel profiling attack against a masked Dilithium implementation. The resulting ILWE instances suffer from both concealment and small, independent errors. As such, neither OLS nor ILP can recover the secret key. Cauchy regression, however, allows us to recover the secret key in under two minutes for all NIST security levels.",
  "category": "Implementation",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Solving Concealed ILWE and its Application for Breaking Masked Dilithium” by Simon Damm, Asja Fischer, Alexander May, Soundes Marzougui, Leander Schwarz, Henning Seidler, Jean-Pierre Seifert, Jonas Thietke, Vincent Quentin Ulitzsch, Cryptology ePrint Archive, Paper 2025/1629, https://eprint.iacr.org/2025/1629. 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-09-10T01:11:39Z",
    "updated": "2025-09-15T09:27:47Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2025/1629.pdf",
    "sha256": "46d82dcb9f2ca6a193c8ea7f31fecc1797e8fc19a9e8bf114069e84c267675f9",
    "size": 805990,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "eprint_size": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2025/1629/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/1629.pdf",
      "size": 805990,
      "sha256": "46d82dcb9f2ca6a193c8ea7f31fecc1797e8fc19a9e8bf114069e84c267675f9",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260909095100id_/https://eprint.iacr.org/2025/1629.pdf",
      "captured_at": "2026-09-09T09:51:00Z",
      "size": 716831
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2025/1629.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 805990
    }
  ],
  "bibtex": "@misc{cryptoeprint:2025/1629,\n      author = {Simon Damm and Asja Fischer and Alexander May and Soundes Marzougui and Leander Schwarz and Henning Seidler and Jean-Pierre Seifert and Jonas Thietke and Vincent Quentin Ulitzsch},\n      title = {Solving Concealed ILWE and its Application for Breaking Masked Dilithium},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2025/1629},\n      year = {2025},\n      url = {https://eprint.iacr.org/2025/1629}\n}"
}
