Cracking 1024-Bit DKIM Keys Now Costs $30M, and Falling
Quick Answer
Cracking a 1024-bit DKIM key could cost around $30 million due to advances in AI-assisted factoring. Organizations should audit DKIM selectors, upgrade to 2048-bit RSA keys, retire outdated keys, and maintain regular key rotation to strengthen email security.
Try Our Free DKIM Lookup
Auto-discover DKIM selectors for any domain - scan 185 common selectors across all major providers.
Discover DKIM Selectors →Two AI-assisted factoring records in sixteen days moved 1024-bit RSA from “theoretical” to “a budget line item.” We checked the DNS of the most-impersonated brands in email: Apple, Microsoft, Amazon, and PayPal all still publish 1024-bit DKIM keys.
In September, the classical factoring record fell twice in sixteen days, and both times the heavy lifting was done by AI coding agents. First, Eric Lu at Cognition used the company’s Devin agent to build a GPU version of the general number field sieve and factor RSA-260, an 862-bit number, in 15.6 days at a cost he estimates at about $400,000. Then Stephen Weis at Anthropic used Claude to port the same software to GPUs and factor RSA-896 in 10 days, burning roughly 30 GPU-years of compute that mostly ran on idle cluster capacity.
Neither record breaks a deployed key, but they change what one would cost to break. The standard scaling curve for factoring says 1024 bits costs about 30 times what 896 bits costs, which puts a 1024-bit key at roughly 900 to 1,050 GPU-years, or about $30 million in rented GPU time and five to six months of wall-clock work. That is the size of the DKIM key still published by a large share of domains, including, as we verified today, some of the biggest brand names in email. Rotating to a 2048-bit key takes an afternoon, and a 2048-bit modulus is about a billion times harder to factor than a 1024-bit one.
Two records in sixteen days, both AI-assisted
The previous record, the 829-bit RSA-250, had stood since February 2020. It was set by six academic cryptographers running CADO-NFS on CPUs for roughly 2,700 core-years. The two September records match the old cost curve almost exactly (each 34 extra bits of key size costs about 2.6 times the computation), so the algorithm did not change. What changed is who can run it and what it costs them.

Lu’s write-up already prices the next rung: “Hyperscalers or frontier AI labs could likely factor RSA-1024 numbers at a cost on the order of $30 million per number and, with a bit more optimization, likely substantially less.” He adds that the current implementation is still significantly suboptimal and that moderate further work could halve the cost again. Weis draws the same conclusion for the email world specifically: the RSA-896 run “does demonstrate that RSA-1024 keys are vulnerable to many actors with data center-level fleets of GPUs.”
Both records ran on compute that would otherwise have sat idle, and that matters for how you read the price tag. Lu ran RSA-260 “at no marginal cost” on spare nodes in Cognition’s training cluster; Weis ran RSA-896 as a low-priority job between regular Anthropic workloads. The $30M figure for a 1024-bit key is the rental-market price. For an organization that already owns a large GPU fleet, the marginal cost is much lower.
The calculation: about $30M for 1024 bits, a billion times more for 2048
Factoring cost follows the GNFS complexity curve, which in practice means every additional ~34 bits of key size multiplies the work by about 2.6. Applying that multiplier to the measured 2026 runs gives the ladder below. DmarcDkim.com, which published the full calculation with sources, gets 78× from Lu’s RSA-260 run and 30× from Weis’s RSA-896 run, landing on 900 to 1,050 GPU-years for 1024 bits.

The fleet-size trade is worth knowing. Sieving parallelizes freely, so more GPUs shorten the run while the bill stays roughly the same. The bottleneck is the linear algebra step, which needs one tightly networked cluster running at once. DmarcDkim.com estimates that stage alone at two to six months on clusters the size used for the September records.
The case people worry about most, RSA-2048, is roughly a billion times harder than RSA-1024 by Lu’s accounting, which PostQuantum.com translates to about a trillion GPU-years, or a $32 quadrillion rental bill. No fleet that exists or is planned changes that by any meaningful amount. If your DKIM keys are 2048-bit, nothing here is urgent; this is just a reminder to keep rotating them.
Why DKIM stayed on 1024-bit RSA
RSA-1024 died in most of security a decade ago. NIST SP 800-131A disallowed generating new signatures with sub-2048-bit RSA keys as long ago as 2013 (a 1024-bit key provides about 80 bits of security strength against NIST’s 112-bit minimum). TLS moved on, and DKIM did not, because the protocol is unusually forgiving to an attacker:

At the small end of the scale it has already been done. In January 2025, DmarcChecker factored a live 512-bit DKIM key belonging to redfin.com for under $8 and used it to send forged mail that passed DKIM at Yahoo, Mailfence, and Tuta and passed DMARC outright, since redfin.com enforces p=reject. The same failure mode scales up with key size; only the price changes. Red Sift’s analysis, summarized by NHIMG, frames the risk correctly: DKIM is an authenticity control, so a broken key becomes a forgery problem. The threat is mail that verifies until someone rotates the key.
Who should worry
The r/DMARC thread where this estimate first circulated drew the subreddit’s biggest discussion of the quarter, and the top comments are the right calibration. A $30M attack is not aimed at a typical business domain; as one commenter put it, that is “$29.999M left to make it a financially viable attack” against an ordinary target. The realistic threat model:
● High-value brands everyone impersonates. A perfect forgery from a real Fortune 50 domain defeats the one signal recipients and filters are taught to trust. The FBI’s IC3 logged $2.77 billion in business email compromise losses in 2024, and those attacks mostly rely on lookalike domains that careful recipients can spot, and an authenticated forgery removes even that tell.
● Government, defense, finance, healthcare. State-backed phishing campaigns already chase these targets; a cracked DKIM key upgrades lookalike spoofing into impersonation of the real domain that survives DMARC enforcement and BIMI verification.
● Anyone whose keys predate the last rotation they remember. The attack window is years, because the key is static and public.
On the receiving side, the same community landed on a sensible position: do not start hard-failing inbound 1024-bit signatures on this news alone. RFC 8301 requires verifiers to accept keys from 1024 to 4096 bits and allows key length to inform local policy, so tightening is legitimate, but a blanket reject would break real senders while the ecosystem rotates; monitoring and weighting by key size is the safer play.
We checked the biggest brands in email. They still publish 1024-bit keys
DmarcDkim.com reported in November that apple.com and microsoft.com still publish 1024-bit RSA DKIM keys. We wanted that checked against live DNS, so today (December 3, 2026) we queried Google’s DNS-over-HTTPS endpoint and a 100-selector lookup tool against the brands most commonly impersonated in phishing.
The organizations with the most security engineers on earth are publishing keys at the size NIST disallowed for new signatures thirteen years ago, likely because each key belongs to a mailing pipeline nobody owns end to end. If Apple, Microsoft, Amazon, and PayPal have this in their DNS, the odds that your own estate, or your clients’ estates, contain a forgotten 1024-bit selector are high. Every published key is a target until the selector is retired.
Start with an inventory of your own selectors

First, you can read a key’s size straight from the DNS record without decoding anything: the base64 block in the p= tag is about 216 characters for a 1024-bit RSA key and about 392 for 2048-bit.

Second, treat dead selectors as attack surface. Any record that answers with a key is a candidate target, even if the service that created it was decommissioned years ago. Revoking is one DNS edit: set p= to empty, as amazon.com does for its two retired zendesk selectors. And if you run monitoring on your DMARC aggregate reports, use the rotation as a chance to baseline which selectors your legitimate flows use, so a future unknown signer using your domain stands out.
The standards are already moving: DKIM2 and the post-quantum track
The fix for the next decade is already in draft. DKIM2, the successor specification, shipped draft-09 on November 1 with three signing algorithms: RSA-SHA256, Ed25519-SHA256, and ML-DSA-44, the NIST post-quantum signature standard (FIPS 204). The draft keeps today’s floor (signers MUST use at least 1024 bits, SHOULD use 2048) and requires verifiers to implement all five algorithm-and-hash combinations. An ML-DSA-44 signature is 3,228 base64 characters in the header, and every layer from DNS to the receiving verifier has to handle that. That sequencing argument is Red Sift’s core point: get today’s email authentication solid first, and run post-quantum DKIM as the multi-year program it is.
Meanwhile, the U.S. government moved on this exact theme yesterday. On December 2, the NSA advised national security systems to “immediately accelerate” their transition to post-quantum cryptography, and the White House’s Office of Science and Technology Policy joined the NSA and CISA in a joint statement saying that American AI companies have “disclosed discoveries that impact the security of some cryptography currently in use.” The statement does not name the disclosures, but its timing and subject land directly on top of September’s AI-assisted factoring records. Its assessment stays measured (recent advances “do not present an immediate and widespread threat”), but its instruction is to act now: inventory your cryptographic dependencies and build for crypto-agility.
For an email administrator, that translates into a simple order of operations. The post-quantum migration runs in years and standards cycles. The 1024-bit problem is classical, current, and costs an afternoon to fix: inventory your selectors, move anything under 2048 bits, retire the dead keys, and set a rotation date in the calendar. The factoring curve says the price of attacking your 1024-bit key only goes down from here.
General Manager
General Manager of DuoCircle. Product strategy and commercial lead for DMARC Report's 2,000+ customer base.
LinkedIn Profile →Take control of your DMARC reports
Turn raw XML into actionable dashboards. Start free - no credit card required.

