Ezekiel Ologunde's transformer and graph neural network distinguishers, trained for 4,600 GPU-hours, failed to outperform classical statistical bounds against Module-LWE instances in NIST's FIPS-203 ML-KEM and FIPS-204 ML-DSA at standardized parameters. Machine learning shows no advantage over classical cryptanalysis for these standards.
AI vs Cryptography
Whether AI is weakening the cryptography we rely on: attacks and cryptanalysis found or sped up by AI, AI mathematics with a bearing on lattices, elliptic curves, hashes and number theory, parameters revised and schemes dropped because of it, and what cryptographers and protocol designers say about the threat. Topics and rules ↓
Feed
Checked 1d ago · next batch …Andre Esser introduces representation tree analysis that reduces ML-DSA key recovery complexity from 2^0.378n to 2^0.2954n by replacing hand-derived combinatorial analysis with entropy formulas. The method accelerates lattice-based cryptanalysis across subset sum and LWE problems.
Accord combines LLM assistance with formal verification in Rocq to establish memory safety for 259 functions including cryptographic modules and functional correctness for ML-DSA. Human review remains required to connect formal proofs to requirements.
Alireza Gholizadeh Shahrbejari and Reza Ebrahimi Atani survey neural differential distinguishers for symmetric-key cryptanalysis, examining how input representations affect deep-learning attacks on round-reduced ciphers like SPECK. The work catalogs representation choices that influence classifier performance and data costs.
Anthropic reports that Claude reconstructed how five NIST elliptic curve seeds were generated in under 30 minutes using LLL lattice reduction to recover lrand48 generator states and trace initialization values to Unix timestamps between May 1997 and April 1998, verified independently by Filippo Valsorda. The result demonstrates AI's ability to apply lattice reduction to reverse-engineer cryptographic parameters.
MiniMax's MIM model produced the first practical attacks on NIST standardization candidates Waterfall-256 (collisions in 0.045 seconds), Blender-256 (full-round collisions in 0.36–2.3 seconds), and post-quantum schemes LOCKER (key recovery in 2 seconds) and ROLLO-I-128 (6 seconds), plus a dozen unreported implementation flaws in official reference code. The model's ability to convert theoretical analysis into working attacks across unrelated schemes demonstrates a shift in how cryptanalysis is verified.
Two papers describe multi-target second-preimage attacks on SHA-256 parameter sets in HSS/LMS and XMSS hash-based signatures, defeating multi-target countermeasures and losing up to 100 bits of security. Falko Strenzke told the NIST post-quantum cryptography list the claims are serious enough that IETF CFRG should judge them before peer review, given they affect deployed parameter sets in RFC 8554, RFC 9858, and RFC 8391.
Sectigo's Root Causes 691 podcast argues defenders must move beyond one-off AI vulnerability hunting toward systematic, continuous verification across hardness assumptions, security proofs, parameters, and implementations of classical and post-quantum standards like ML-DSA.
A design for Ethereum's quantum-safe transition uses hash-based STARK proofs of BIP-39 seeds to let owners enroll post-quantum keys before ECDSA is retired, with proofs of 190 KB that verify in 38 ms. In a simulation with mainnet-derived accounts, 4.45 million accounts with at least 0.1 ETH would migrate in 29.4 days if all enroll before ECDSA is retired, but enrollment waits a median of 19.1 minutes in the mempool—longer than some estimates for a fast quantum computer to extract keys.
A formally verified Lean framework ingests quantum circuit designs and produces machine-checked proofs of correctness and asymptotic gate complexity for factoring, reducing cost from Õ(n³) to O(n²⁺ᵋ). The work demonstrates AI-assisted formal verification of cryptographic algorithms and opens a challenge for AI agents to find more efficient factoring circuits.
Transformer and GNN distinguishers fail to break ML-KEM and ML-DSA
AI vs Cryptography · today, 08:03Ezekiel Ologunde trained transformer and graph neural network distinguishers on Module-LWE instances to test whether machine learning could break NIST's FIPS-203 ML-KEM and FIPS-204 ML-DSA standards. After 4,600 GPU-hours of training and evaluation, neither model outperformed classical statistical bounds at the standardized noise levels, achieving advantage less than 2^-30. At artificially weakened noise levels, the models recovered known structural attacks as expected. On a deliberately constructed edge-of-margin regime with noise 35% below ML-KEM-512, the GNN distinguisher achieved AUROC 0.541 at sample size 2^18, a small statistically significant signal that vanished at standardized parameters. The paper documents methodological requirements for ML-cryptanalysis peer review and replication, strengthening empirical confidence in the standardized parameters.