{
  "id": "2024/443",
  "url": "https://opencryptology.org/2024/443",
  "original_url": "https://eprint.iacr.org/2024/443",
  "title": "The cool and the cruel: separating hard parts of LWE secrets",
  "authors": [
    "Niklas Nolte",
    "Mohamed Malhou",
    "Emily Wenger",
    "Samuel Stevens",
    "Cathy Yuanchen Li",
    "Francois Charton",
    "Kristin Lauter"
  ],
  "affiliations": null,
  "abstract": "Sparse binary LWE secrets are under consideration for standardization for Homomorphic Encryption and its applications to private computation [20]. Known attacks on sparse binary LWE secrets include the sparse dual attack [5] and the hybrid sparse dual-meet in the middle attack [19], which requires significant memory. In this paper, we provide a new statistical attack with low memory requirement. The attack relies on some initial lattice reduction. The key observation is that, after lattice reduction is applied to the rows of a q-ary-like embedded random matrix A, the entries with high variance are concentrated in the early columns of the extracted matrix. This allows us to separate out the “hard part” of the LWE secret. We can first solve the sub-problem of finding the “cruel” bits of the secret in the early columns, and then find the remaining “cool” bits in linear time. We use statistical techniques to distinguish distributions to identify both cruel and cool bits of the secret. We recover secrets in dimensions n = 256, 512, 768, 1024 and provide concrete attack timings. For the lattice reduction stage, we leverage recent improvements in lattice reduction (flatter [34]) applied in parallel. We also apply our new attack to RLWE with 2-power cyclotomic rings, showing that these RLWE instances are much more vulnerable to this attack than LWE.",
  "category": "Attacks and cryptanalysis",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“The cool and the cruel: separating hard parts of LWE secrets” by Niklas Nolte, Mohamed Malhou, Emily Wenger, Samuel Stevens, Cathy Yuanchen Li, Francois Charton, Kristin Lauter, Cryptology ePrint Archive, Paper 2024/443, https://eprint.iacr.org/2024/443. 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-03-14T23:30:28Z",
    "updated": "2025-01-07T07:38:55Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/443.pdf",
    "sha256": "197620d4a556ea575e8188bf5a37528656d6868d6ff40bb03f261ec21355b467",
    "size": 816731,
    "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/443/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/443.pdf",
      "size": 816731,
      "sha256": "197620d4a556ea575e8188bf5a37528656d6868d6ff40bb03f261ec21355b467",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/443/versions/20240315T230023Z.pdf",
      "captured_at": "2024-03-15T23:00:23Z",
      "label": "copy captured 2024-03-15",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240315230023id_/https://eprint.iacr.org/2024/443.pdf",
      "size": 965757,
      "sha256": "7d4ce4a10c891a2823bcccf3eb4e8e81f9ed73a9a87c61aef3a5433814be45e0",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/443.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 816731
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260102120935id_/https://eprint.iacr.org/2024/443.pdf",
      "captured_at": "2026-01-02T12:09:35Z",
      "size": 755936
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/443,\n      author = {Niklas Nolte and Mohamed Malhou and Emily Wenger and Samuel Stevens and Cathy Yuanchen Li and Francois Charton and Kristin Lauter},\n      title = {The cool and the cruel: separating hard parts of LWE secrets},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/443},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/443}\n}"
}
