SALSA: Attacking Lattice Cryptography with Transformers
Trains transformers on modular arithmetic and combines them with statistical cryptanalysis to attack LWE-based schemes, recovering secrets for small-to-mid sparse-binary instances.
Schemes: LWE, SALSA
Findings (quotes checked against the source text)
-
A machine learning attack can fully recover secrets for small-to-mid size LWE instances with sparse binary secrets.
SALSA can fully recover secrets for small-to-mid size LWE instances with sparse binary secrets, and may scale to attack real-world LWE-based cryptosystems.
-
Transformers are trained to perform modular arithmetic and combined with half-trained models and statistical cryptanalysis to build the attack.
In this work, we train transformers to perform modular arithmetic and combine half-trained models with statistical cryptanalysis techniques to propose SALSA: a machine learning attack on LWE-based cryptographic schemes.
-
LWE-based lattice schemes are strong standardization contenders, so the attack bears directly on them.
lattice-based cryptosystems, based on a hard problem known as Learning With Errors (LWE), have emerged as strong contenders for standardization.
For builders
Treat sparse or low-entropy secret distributions in LWE-based parameter choices as a risk surface, and keep secrets uniformly distributed with adequate dimension.
Limits
Attack is stated only for small-to-mid instances with sparse binary secrets; the abstract says scaling to real-world schemes is only possible, not demonstrated. Full text was not read.
Topics: cryptanalysis sig-lattice kem threat-model