Back to Intelligence

AI-Discovered Attack on ML-KEM and ML-DSA Math: What Anthropic's PQC Finding Means for Your Migration Plan

SA
Security Arsenal Team
December 1, 2026
11 min read

Anthropic has disclosed that one of its frontier AI models identified a previously unknown line of attack against the mathematical foundations of ML-KEM and ML-DSA — the NIST-standardized post-quantum algorithms (FIPS 203 and FIPS 204) that most enterprises are actively migrating toward. The cryptographic community's consensus is important and worth stating plainly: the attack is theoretical. It does not break production deployments, there is no proof-of-concept that recovers keys from real implementations, and there is no indication of in-the-wild exploitation.

So why am I telling you to care? Because this is the first credible demonstration that AI-assisted cryptanalysis can surface novel structural weaknesses in lattice-based schemes faster than the human research cycle has historically found them. Every CISO I've advised over the past two years has been building migration plans around the assumption that ML-KEM and ML-DSA are stable targets through 2035. This disclosure doesn't invalidate that assumption — but it does prove the assumption can be challenged by automated analysis, and it will not be the last time.

The defensive lesson is not "panic and rip out PQC." It is the opposite: the organizations that built crypto-agility into their architecture can absorb findings like this. The organizations that hard-coded algorithm choices cannot.

Technical Analysis: What Was Actually Found

Affected Standards and Products

  • ML-KEM (FIPS 203) — the module-lattice-based key encapsulation mechanism derived from CRYSTALS-Kyber, now shipping in OpenSSL 3.5, BoringSSL, AWS KMS, Cloudflare's hybrid TLS, and browser hybrid key exchange (X25519MLKEM768).
  • ML-DSA (FIPS 204) — the module-lattice-based digital signature algorithm derived from CRYSTALS-Dilithium, being adopted for firmware signing, code signing, and certificate hierarchies.

The reported attack targets the underlying mathematical structure — the hardness assumptions of module lattice problems — rather than any specific implementation bug. That distinction matters for defenders:

Attack TypeWhat It Would MeanStatus
Implementation flaw (side channel, parsing bug)Patch specific libraries immediatelyNot applicable here
Cryptanalytic advance (theoretical)Watch complexity estimates; validate hybrid deploymentsThis is the current situation
Practical key recoveryEmergency migration eventNot the case

How a Theoretical Cryptanalytic Attack Plays Out

From a defender's perspective, cryptanalytic findings follow a predictable decay curve: a theoretical result reduces the security margin (e.g., requiring more lattice reduction work than previously estimated), follow-on research refines it, and occasionally — as with MD5, SHA-1, and the RSA-768 factorization record — theory eventually becomes practice over years or decades. The correct analogy here is the early 2000s MD5 collision work: the right response was an orderly, multi-year migration — not an emergency weekend change window.

Critically, the finding also underscores why hybrid key exchange (classical + PQC, e.g., X25519MLKEM768) is the correct deployment posture right now. In a hybrid construction, an attacker must break both primitives. A theoretical advance against the lattice component alone does not compromise sessions that also depended on X25519.

Exploitation Status

  • In-the-wild exploitation: None. There is nothing to exploit — this is a mathematical result, not a vulnerability in shipped code.
  • CVE assignment: None. Theoretical cryptanalysis of an algorithm family does not receive CVE identifiers; implementation bugs do.
  • CISA KEV: Not applicable.
  • Practical risk today: Low. Strategic risk to rigid, single-algorithm architectures: Elevated and growing.

The separate "encryption rumors" context surrounding the disclosure — speculation about AI capabilities against cryptography generally — should be treated as exactly that until peer-reviewed results exist. But the direction of travel is clear: AI-assisted cryptanalysis is now a real variable in your threat model for long-lived encrypted data.

Detection & Response

There are no IoCs for a mathematical result — and I won't insult your SOC by inventing rules that fire on nothing. What is operationally useful right now is detection content that answers the question this disclosure raises: where does cryptography actually live in my environment, and is anyone weakening it? Harvest-now-decrypt-later adversaries and insiders alike leave observable traces when crypto posture is degraded. These hunts are built for that.

SIGMA Detection Rules

YAML
---
title: Schannel Cipher Suite Policy Modification
id: 3f9a2b71-6c48-4d2e-9b17-8e5c0a4f2d33
status: experimental
description: Detects modification of Windows Schannel cipher suite policy registry keys, which can be used to weaken TLS negotiation or disable strong/PQC-capable protocol versions. Relevant to monitoring crypto posture integrity following PQC transition planning.
references:
  - https://attack.mitre.org/techniques/T1562/001/
  - https://www.securityweek.com/amid-encryption-rumors-anthropic-reveals-ai-found-attack-on-pqc/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.defense_evasion
  - attack.t1562.001
logsource:
  category: registry_set
  product: windows
detection:
  selection:
    TargetObject|contains:
      - '\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002'
      - '\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers'
      - '\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms'
falsepositives:
  - Group Policy deployment of hardened TLS baselines - correlate with change management tickets
  - SCCM/Intune cipher suite baseline pushes
level: medium
---
title: Legacy or Weak Key Material Generation via Command Line
id: 8c1d4e52-2a93-4f6b-b7e1-5d9c3a0f8e47
status: experimental
description: Detects generation of weak or deprecated cryptographic key material (DSA, small RSA keys, DES-encrypted keys) via common tooling. Useful for hunting crypto-downgrade behavior and identifying systems generating key material incompatible with PQC migration baselines.
references:
  - https://attack.mitre.org/techniques/T1553/004/
  - https://www.securityweek.com/amid-encryption-rumors-anthropic-reveals-ai-found-attack-on-pqc/
author: Security Arsenal
date: 2026/04/06
tags:
  - attack.credential_access
  - attack.t1553.004
logsource:
  category: process_creation
  product: windows
detection:
  selection_dsa:
    CommandLine|contains:
      - 'ssh-keygen'
      - '-t dsa'
  selection_weak_rsa:
    CommandLine|contains:
      - 'ssh-keygen -t rsa -b 1024'
      - 'genrsa 1024'
      - 'genrsa -des3 1024'
  selection_legacy_enc:
    CommandLine|contains:
      - 'genrsa -des '
      - 'openssl genrsa -des3'
  condition: 1 of selection_*
falsepositives:
  - Legacy system interoperability testing in isolated environments
  - CTF or security training labs
level: low

Microsoft Sentinel / Defender KQL

This hunt leverages TLS cipher metadata logged by NGFWs and proxies into CommonSecurityLog (CEF). Many next-generation firewalls (Palo Alto, Fortinet, Check Point) log negotiated TLS version and cipher/key-exchange details. Use it to build your PQC-readiness picture and to spot downgrade-prone flows — the exact flows a harvest-now-decrypt-later adversary targets first.

KQL — Microsoft Sentinel / Defender
// Hunt: TLS sessions negotiating legacy protocol versions or weak key exchange
// Purpose: Identify encrypted flows that lack modern (TLS 1.3 / hybrid PQC) protection,
// prioritizing internet-facing and data-egress paths vulnerable to harvest-now-decrypt-later collection.
CommonSecurityLog
| where TimeGenerated > ago(7d)
| where isnotempty(ApplicationProtocol) or DeviceCustomString1 contains "TLS"
| extend TLSDetail = coalesce(DeviceCustomString1, DeviceCustomString2, ApplicationProtocol)
| where TLSDetail has_any ("SSLv3", "TLSv1.0", "TLSv1.1", "1.0", "1.1")
   or TLSDetail has_any ("RSA_EXPORT", "DES", "3DES", "RC4", "NULL", "anon")
| summarize SessionCount = count(),
            DistinctDestinations = dcount(DestinationIP),
            Destinations = make_set(DestinationHostName, 20)
  by SourceIP, DeviceAction, TLSDetail, bin(TimeGenerated, 1d)
| order by SessionCount desc
;
// Companion hunt: process execution of crypto tooling on servers (key/cert manipulation)
// Flags interactive use of openssl/keytool on systems where it is not part of automation
DeviceProcessEvents
| where TimeGenerated > ago(7d)
| where FileName in~ ("openssl.exe", "openssl", "keytool.exe", "certreq.exe", "ssh-keygen.exe")
| where ProcessCommandLine has_any ("genrsa", "req -new", "-newkey", "genkeypair", "-t rsa", "-t dsa", "x509 -signkey")
| where InitiatingProcessAccountName !in~ ("system", "network service")
| summarize CommandLines = make_set(ProcessCommandLine, 10), ExecutionCount = count()
  by DeviceName, AccountName, FileName, bin(TimeGenerated, 1h)
| order by ExecutionCount desc

Velociraptor VQL

This artifact inventories TLS/crypto library versions across endpoints — the foundation of a cryptographic bill of materials (CBOM). Knowing which OpenSSL builds are in the fleet tells you exactly which systems already support ML-KEM (OpenSSL 3.5+) and which are migration blockers.

VQL — Velociraptor
-- Hunt: Inventory OpenSSL/libcrypto versions and PQC-capable crypto libraries
-- Purpose: Build CBOM for ML-KEM/ML-DSA migration readiness assessment
SELECT 
    Fqdn,
    FullPath,
    hash(path=FullPath).SHA256 AS SHA256,
    version_info(path=FullPath).FileVersion AS FileVersion,
    version_info(path=FullPath).ProductName AS ProductName,
    timestamp(epoch=stat(filename=FullPath).Mtime.Sec) AS ModifiedTime
FROM glob(globs=[
    "C:/Program Files/OpenSSL*/bin/libcrypto*.dll",
    "C:/Program Files*/**/libcrypto*.dll",
    "C:/Windows/System32/libssl*.dll",
    "/usr/lib/x86_64-linux-gnu/libcrypto.so*",
    "/usr/lib64/libcrypto.so*",
    "/usr/local/lib/libcrypto.so*",
    "/usr/local/ssl/lib/libcrypto.so*"
])
ORDER BY Fqdn, FullPath

Remediation & Inventory Script

Run this on Linux servers to enumerate OpenSSL versions and confirm whether builds support ML-KEM (OpenSSL 3.5.0, released April 2025, is the first stable branch with ML-KEM/ML-DSA provider support). Systems below 3.5 are PQC-migration blockers that belong in your CBOM.

Bash / Shell
#!/bin/bash
# PQC Migration Readiness Inventory - Security Arsenal
# Identifies OpenSSL versions and ML-KEM capability across the local system

REPORT="/tmp/pqc_readiness_$(hostname)_$(date +%Y%m%d).txt"

echo "=== PQC READINESS INVENTORY: $(hostname) - $(date -u) ===" > "$REPORT"

# 1. System OpenSSL version
echo -e "\n[+] System OpenSSL Version:" >> "$REPORT"
openssl version -a 2>/dev/null >> "$REPORT" || echo "OpenSSL not found in PATH" >> "$REPORT"

# 2. Check for ML-KEM / ML-DSA algorithm support (OpenSSL 3.5+)
echo -e "\n[+] PQC Algorithm Support Check:" >> "$REPORT"
for ALG in ML-KEM-512 ML-KEM-768 ML-KEM-1024 ML-DSA-44 ML-DSA-65 ML-DSA-87; do
  if openssl list -kem-algorithms 2>/dev/null | grep -qi "$ALG" || \
     openssl list -signature-algorithms 2>/dev/null | grep -qi "$ALG"; then
    echo "  SUPPORTED: $ALG" >> "$REPORT"
  else
    echo "  NOT FOUND: $ALG" >> "$REPORT"
  fi
done

# 3. Locate all libcrypto copies (container images, bundled apps often hide old versions)
echo -e "\n[+] All libcrypto Instances on Disk:" >> "$REPORT"
find / -name "libcrypto.so*" -type f 2>/dev/null | while read -r LIB; do
  VER=$(strings "$LIB" 2>/dev/null | grep -m1 -E "OpenSSL [0-9]+\.[0-9]+\.[0-9]+")
  echo "  $LIB -> ${VER:-version unknown}" >> "$REPORT"
done

# 4. Flag EOL/legacy versions (< 3.0 is EOL; < 3.5 lacks native PQC)
echo -e "\n[+] MIGRATION BLOCKERS (OpenSSL < 3.5.0 - no native ML-KEM):" >> "$REPORT"
grep -E "OpenSSL (0\.|1\.[01]\.|3\.[0-4]\.)" "$REPORT" >> "$REPORT".blockers 2>/dev/null
cat "$REPORT".blockers 2>/dev/null || echo "  None detected" >> "$REPORT"

echo -e "\n=== END REPORT ===" >> "$REPORT"
echo "Report written to $REPORT"
cat "$REPORT"

Remediation and Strategic Guidance

There is no patch for a theoretical mathematical result — but there is absolutely work to do. Prioritize in this order:

1. Build the Cryptographic Bill of Materials (CBOM) — Now

You cannot respond to a future cryptanalytic break against an algorithm you don't know you're using. Inventory every instance of TLS termination, VPN concentrators, certificate hierarchies, firmware signing, code signing, database encryption, and application-embedded crypto libraries. The script and VQL above are a starting point; CISA's Post-Quantum Cryptography Initiative and the joint fact sheet "Preparing Critical Infrastructure for Post-Quantum Cryptography" provide the formal inventory methodology.

2. Enforce Hybrid Key Exchange Where Available

Deploy hybrid TLS (X25519 + ML-KEM-768) at internet-facing termination points. OpenSSL 3.5+, Cloudflare, Google Chrome, and major CDN/load-balancer platforms support it. Hybrid construction is your insurance policy: a theoretical advance against the lattice component does not expose sessions that also required breaking X25519.

3. Architect for Crypto-Agility

The Anthropic finding is the strongest argument yet for algorithm-agnostic design:

  • Abstract crypto providers — applications should call a crypto service layer, never hard-code algorithm identifiers.
  • Negotiation over configuration — prefer protocol-level algorithm negotiation (TLS 1.3 style) so a future algorithm swap is a config change, not a code rewrite.
  • Certificate hierarchy agility — ensure your PKI can issue under a new signature algorithm (e.g., pivoting from ML-DSA parameter sets or to SLH-DSA/FIPS 205 for long-lived signatures) without rebuilding trust anchors from scratch.

4. Address Harvest-Now-Decrypt-Later Exposure

Data with confidentiality lifetimes exceeding 10 years — health records under HIPAA, financial data, intellectual property, government-adjacent communications — is the real target class here. If nation-state actors are recording your ciphertext today, the relevant question is whether your key exchange is PQC-hybrid now. Prioritize PQC deployment on paths carrying long-lived sensitive data, regardless of this specific finding.

5. Align to Migration Timelines

  • CNSA 2.0 requires NSS vendors to prefer PQC by 2025–2027 and complete transition by 2030–2033 — use these as forcing functions for vendor questionnaires even outside federal scope.
  • NIST's deprecation guidance targets disallowing classical-only RSA/ECC after 2035. Budget accordingly.
  • Require vendors to state their PQC roadmap in procurement language. "Crypto-agile by 2027" should be a contractual line item, not a hope.

6. Watch the Research, Not the Rumors

Track peer-reviewed cryptanalysis via the IACR ePrint archive and NIST PQC announcements rather than vendor speculation. Assign someone on your team — or your MSSP — explicit ownership of cryptanalytic intelligence monitoring. When the next theoretical result lands (and it will), the response runbook should already exist.

The Bottom Line

Anthropic's disclosure is not a fire — it's a smoke detector test that passed. The AI found something real but theoretical; the standards hold; your deployments are not compromised. What the episode proves is that the margin between "theoretical" and "practical" will be probed faster in the AI era than ever before. The organizations that treat crypto-agility as a completed project rather than an aspirational slide will absorb the next finding — whatever it targets — as a routine change request. Everyone else will be running an emergency program.

Start the inventory this quarter. Hybrid key exchange at the edges this year. Agility in the architecture before the next paper drops.

Related Resources

Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub

Is your security operations ready?

Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.