Lattice-based cryptography, specifically the Learning With Errors (LWE) problem, is the cornerstone of the next generation of secure communications. But how do we measure exactly how "hard" these problems are when an attacker has extra information?
In this paper, researchers from the University of Maryland and Intel Labs propose a fundamental shift in how we estimate the security of LWE-based systems. By moving from a probabilistic "distributional" view to a rigorous "geometric" perspective, they’ve created a more accurate and robust toolkit for predicting how side-channel leaks and decryption failures erode cryptographic strength.
TL;DR
The authors replace the standard Gaussian-based "distributional" approach for integrating side-channel hints into LWE security estimates with a geometric approach using ellipsoids. This new framework provides rigorous "worst-case" guarantees, handles non-Gaussian data (like decryption failures) more naturally, and significantly improves the accuracy of hardness estimations.
What Problem Does This Paper Address?
When we estimate the security of LWE, we usually assume the attacker only sees the public key and ciphertexts. However, in the real world, attackers get "hints"—extra info from power consumption (side-channels) or observing when a decryption fails.
The previous state-of-the-art (the "DBDD Toolkit" from Crypto ’20) treated these hints as updates to a multivariate Gaussian distribution. While powerful, this has two major flaws:
- The Gaussian Assumption: Real-world side-channel data isn't always Gaussian. If the assumption fails, the security estimate might be wrong.
- Lack of Rigor: The distributional approach doesn't guarantee the secret is actually within the predicted search space; it only says it is likely to be there.
Methods
The authors re-imagine the Distorted Bounded Distance Decoding (DBDD) problem—an intermediate step between LWE and lattice reduction—through the lens of convex geometry.
- The Ellipsoid Perspective: Instead of a probability distribution, the secret is viewed as a lattice point trapped inside a specific $d$-dimensional ellipsoid.
- Hints as Geometric Constraints:
- Perfect Hints: Intersecting the ellipsoid with a hyperplane.
- Inequality Hints: Intersecting with a halfspace (e.g., "the secret's inner product with vector $v$ is at least $\gamma$").
- Combined Hints: Fusing two different ellipsoids (e.g., one from side-channel data and one from decryption failures).
- Löwner-John Ellipsoids: Since the intersection of an ellipsoid and a halfspace isn't an ellipsoid, the authors use the Löwner-John method to find the minimal volume ellipsoid that circumscribes (contains) the intersection.
- Regeneration Algorithm: To prevent the geometric update from "stalling" (where new hints no longer shrink the ellipsoid), the authors developed a technique to re-embed the current center as a new hint into a fresh instance.
Datasets
The authors validated their approach using several benchmarks:
- Toy FrodoKEM Parameters: Small-scale LWE instances ($n=m=70$ or $80$) used to verify the accuracy of their $\beta$ (BKZ block size) predictions.
- Frodo-640 (NIST Level 1): A full-scale post-quantum candidate. They simulated fault-injection attacks (based on the Fahr et al. 2022 research) to generate decryption failures.
- SCA Data: Real-world side-channel "score tables" from previous research (Bos et al. 2018) on FrodoKEM power analysis.
Key Insights and Ideas
- Decryption Failures are Inequalities: The most natural way to model a decryption failure is as an inequality hint. The geometric approach handles this natively, whereas the old distributional approach had to "force" this data into a Gaussian model.
- Worst-Case Guarantees: Because the new ellipsoid always circumscribes the intersection, the authors provide a rigorous promise: if the secret was in the original ellipsoid, it is guaranteed to be in the updated one.
- Geometric Failure Boosting: They discovered that the geometric parameter $\alpha$ (the distance from the ellipsoid center to the hint's hyperplane) is a perfect proxy for the probability of a decryption failure. This allows for a "geometric analogue" to failure boosting, helping attackers pick the most informative queries.
- Fusing Heterogeneous Data: The "Combined Hints" method allows for "fusing" information from completely different sources (like a power analysis attack and a decryption failure attack) into a single, tighter ellipsoid.
Key Results
- Higher Accuracy: For "perfect hints," the geometric model provided more accurate estimates of the required BKZ block size ($\beta$) than the previous distributional model, especially when hints were "far" from the center.
- Efficiency Gains: In the fault-injection scenario on Frodo-640, the geometric approach achieved the same security reduction using only ~959–1224 hints, compared to the 4000 hints required by the previous state-of-the-art.
- Search Speedup: Using their $\alpha$-based sorting for failure boosting, they found all 34 decryption failures in a database of 100k ciphertexts in just 39,785 queries, compared to 94,894 for a linear scan.
- Better Fusion: Combining side-channel and decryption failure data lowered the estimated security level by an additional 2-3 bikz (a unit of lattice hardness) compared to baseline methods.
Limitations and Future Work
- Scaling for Hardness Estimates: Because the geometric approach is "distribution-agnostic," it doesn't inherently know the expected length of the secret. For precise hardness predictions (not the attack itself), the authors sometimes had to scale the ellipsoid based on the known secret length.
- Maximal Inscribed Ellipsoids: This paper focused on minimal circumscribed ellipsoids (lower bounds on security). The authors suggest that maximal inscribed ellipsoids could provide useful upper bounds.
- Control Theory Links: The authors noted a strong connection between their work and "state estimation" in control theory (like Kalman filters for non-Gaussian noise) and suggest this as a rich area for future cross-disciplinary research.
Summary updated