Paper 2024/443 Original: eprint.iacr.org/2024/443 ↗

The cool and the cruel: separating hard parts of LWE secrets

Niklas Nolte
Mohamed Malhou
Emily Wenger
Samuel Stevens
Cathy Yuanchen Li
Francois Charton
Kristin Lauter
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.

Metadata
Available format(s)
PDF
Category
Attacks and cryptanalysis
Publication info
Preprint.
History
2025-01-07: last updated
2024-03-14: published
Short URL
https://ia.cr/2024/443
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2024/443,
      author = {Niklas Nolte and Mohamed Malhou and Emily Wenger and Samuel Stevens and Cathy Yuanchen Li and Francois Charton and Kristin Lauter},
      title = {The cool and the cruel: separating hard parts of LWE secrets},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/443},
      year = {2024},
      url = {https://eprint.iacr.org/2024/443}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.