logoalt Hacker News

Did AI rediscover a cryptographic attack NSA had known since 2015?

567 points • by cbeuw • today at 4:00 PM • 370 comments • view on HN

Comments

mlmonkey • today at 9:02 PM

I took a course in Cryptography in grad school. Our professor was an old coot with decades of experience in the field. He had several interesting stories to tell involving the NSA and Cryptography. (Now, this is from memory, as the course was decades ago and grad school is a blur now, and memories from the course have been garbge collected decades ago).

This is from the time when DES was Da Bomb. It was supposed to be unbreakable. It had 16 rounds of these "shuffle" and "exchange" boxes (I may be screwing up the terms here, so pardon the ignorance). It had been around for a couple of decades and resisted everything thrown at it. Until someone came up with an attack for ciphers built with those specific boxes. And everybody started panicing .... except that this attack worked only on ciphers up to 15 such boxes in sequence, and not 16 (as was the case with DES). His claim was that the NSA knew about the attack, and that's why DES had 16 such rounds of boxes.

His gut feeling was that the NSA is about ~20 years ahead of the rest of the world in Cryptography.

➕ show 2 replies
adrian_b • today at 4:41 PM

In TFA there is a link to a comment from Alfred Menezes, a well-known expert in elliptic curve cryptography, who makes a plausible supposition that would explain this.

Perhaps NSA has found an algorithm that can break elliptic curves with an effort proportional to (2^N)^(1/3).

Then the 256-bit curves could be broken by rich countries, like USA or China, but 384-bit curves would still be safe.

As mentioned by Menezes, DJ Bernstein and Lange had already published such a (2^N)^(1/3) algorithm, but that remained impractical because it needed a huge amount of precomputation.

So it would not be exceedingly surprising if NSA and Anthropic had found an improvement of that algorithm that makes it practical.

➕ show 6 replies
dathinab • today at 7:39 PM

I'm not sure I'm buying into it.

Like their requirements for "secret" information was "the current industry recommendations (AES-128, P256, etc.)" and their standard for "top secret" is in most places "one step" up of what the wider industry things is good enough.

That seems like a very natural approach.

Similar for quantum stuff it's since years a situation of "we might have a major breakthrough any moment" but then get "small incremental improvements only". So weather it's NIST or other places it's since years a situation of "you need to be ready to transite to PQ", "transit to it once it's standardized" (which in some cases would be have been starting with 2024~2025) etc.

And them them looking at how much the industry (read government contractors) struggle with such transitions and deciding to save them one transition seems not unlikely either. Similar if you for that reason add RSA back in adding the levels the contractors have implemented would make sense especially if the standard is mostly based taking "industry standard security" and increase it by one level.

Either way, the author might also have been fully right.

It's just there similar similar likely ways this could have played out without them having that "secret weakness" in store...

➕ show 1 reply
Kotlopou • today at 6:11 PM

TFA: "I believe as of November 2026 an LLM is capable of producing all maths results humans have ever discovered"

How true is this? It might depend on whether LLMs still need (or at least are helped by) methods in the public literature, or whether the main gains are from Lean self-play. I could see the claim being true for fields where everything is out in the open, and I could see it still not being true for fields where frontier results might be hidden away in secrecy en masse (i.e. cryptography, and that's about it).

My factual basis for this is limited, it's things like the Riemann hypothesis proof containing rederivations/formalisations of a huge amount of stuff in the literature -- but from that, you don't know whether the match is the LLM finding human results helpful, or just convergent evolution (found independently). I would love to hear from any actual mathematicians on this, and on other case studies!

➕ show 4 replies
sigmar • today at 5:00 PM

This post seems like speculation from a non-cryptographer based on almost nothing. The only linked source (for the claim that "NSA had known of a weakness in ECC since 2015 at the latest") is a linkedin post that says:

>I wouldn't be surprised if the attack that AI found was already known to the NSA in 2015. This is just speculation, of course, but it matches very well what Neal Koblitz and I wrote in our 2015 paper "A Riddle Wrapped in an Enigma"

➕ show 5 replies
nr378 • today at 4:50 PM

Under the NSA's 2005 Suite B, they ran two tiers: SECRET (AES-128, P-256, SHA-256) and TOP SECRET (AES-256, P-384, SHA-384). When the NSA replaced Suite B with CNSA 1.0 in 2015–2016, it eliminated the lower tier and standardized everything on the TOP SECRET floor (AES-256, P-384, SHA-384), dropping AES-128, SHA-256, and P-256 together.

That's not necessarily reason to believe the NSA knew of this exact compromise to P-256.

➕ show 1 reply
kccqzy • today at 4:39 PM

Compelling theory. But then this raises the question of why did the NSA push for solo PQC rather than meet the community who want hybrids in the middle by combining RSA with PQC?

If NSA knew ECC was worthless but RSA was still good, and the community was strongly against solo-PQC, it could offer PQC+RSA. Right now its offer of solo-PQC received no uptake from the community and years later it had to backtrack and accept hybrids anyways.

➕ show 6 replies
Phelinofist • today at 5:59 PM

I always operated under the assumption that NSA proposed NIST curves are backdoored in some way or the other.

➕ show 1 reply
layer8 • today at 4:42 PM

A more plausible interpretation of the announcement is that no imminently practical attack has been discovered yet, just general advancements, and that’s why CNSA 1.0 remains acceptable for the time being, while moving to CNSA 2.0 is strongly encouraged due to the amount of time such migrations tend to take, in particular when requiring new hardware.

➕ show 1 reply
tptacek • today at 4:32 PM

There is no such thing as a legally binding "gag order" on non-nuclear secrets; NSA has no mechanism to "gag" a frontier lab about cryptography releases, though there's obviously lots of social and commercial pressure they can exert.

➕ show 17 replies
giancarlostoro • today at 5:49 PM

I assume maybe not ALL the exploits AI has been discovering, but a good number of them have possibly been known by the NSA and possibly other hackers as well.

➕ show 1 reply
zug_zug • today at 5:09 PM

How many times do I have to say it? We should have at a bare minimum two entirely different nested layers of encryption by default in all https traffic.

We should have been doing this for at least 10 years.

➕ show 2 replies
waynecochran • today at 7:30 PM

I think the is a non-zero chance that the NSA has had an algorithm for polynomial time integer factorization for some time. They may have had it since sometime after the Clipper Chip in the 1990's. If that is true, RSA has been open to them since then.

I am waiting for AI to divulge a polynomial time integer factorization algorithm -- or a proof that it is super-polynomial.

➕ show 1 reply
somewatson • today at 4:23 PM

My mental model of an LLM is search.

Rediscovery fits quite well in that mental model.

➕ show 4 replies
modeless • today at 5:32 PM

This would imply that NSA and possibly others had the ability to steal bitcoins this whole time. We have no evidence that a capability like that has ever been used. Satoshi's billions sure would be a tempting target...

➕ show 7 replies
Aboutplants • today at 6:31 PM

There is the possibility that NSA data has been compromised and we are just now seeing the fruits of that ending up in the training data. These companies are nearly fully integrated into the government systems and there is a chance some have had access (unintentional perhaps) and swallowed up data that could potentially be valuable in circumstances like this

➕ show 2 replies
endsandmeans • today at 7:40 PM

Quantum computers dont seem to acutaly exist except in theory

lesdawsonui • today at 5:31 PM

I don’t believe the full unredacted Snowden papers were ever released. What if they contained some breadcrumbs about a potential flaw in EC. What if they were available on some dark corner of the web and they’d been scooped up into Anthropic’s latest model. Although they do date from 2013 which is 2 years before the change of standards by the NSA.

➕ show 1 reply
JustRouzbeh • today at 4:54 PM

Whether NSA knew or not, it's getting really hard to keep something like this secret when AI can find it from public papers.

teravor • today at 6:07 PM

with how AI is chewing out mathematics perhaps we should actually move from RSA to Rabin and tolerate much larger key and key exchange sizes while at it (unrelated; Rabin and RSA have the same key sizes).

people assume that the security of RSA reduces to factoring but this isn't actually true, cracking RSA does not imply cracking factoring. it only implies the cracking of finding e-th roots modulo N (without necessarily splitting N into its prime factors).

cracking Rabin provably also cracks factoring.

then we can have hybrids with Rabin and MLKEM1024.

one downside of Rabin is that it makes multi-prime configurations more expensive for the decryptor as the difficulty scales non-linearly with the number of primes. so if you want to use this exotic approach for cheaply pushing up qubit requirements it will not be practical past a point.

➕ show 1 reply
jonathanstrange • today at 5:39 PM

This 256 bit elliptic curve deprecation highlights an aspect I personally dislike about modern cryptography: It tends to have very low security margins despite the fact that historically many cryptosystems were broken because the users underestimated their adversaries' technical and mathematical abilities.

IAmGraydon • today at 5:28 PM

Feel bad for the mathematical genius who discovered this 11 years ago, couldn't say a word, and now AI is going to get credit for their work.

alana314 • today at 6:25 PM

Are we living through the plot of Sneakers?

sambull • today at 5:04 PM

Could the same info have been leaked via AI assisted hacks of the NSA?

endsandmeans • today at 7:39 PM

Has anyone here ever seen a quatum computer in person?

➕ show 1 reply
hn_submit • today at 5:25 PM

I believe this is a correct assumption.

ysleepy • today at 4:29 PM

I had the same thought in the context of the anti-hybrid push by nist/nsa combined with the current doubt abiut 256bit curves.

They're always shfity. Either pushing backdoored crypto or protecting some kind of advantage. Instead of actually working with the open community.

➕ show 3 replies
endsandmeans • today at 8:53 PM

Does this mean quantum mechanics isn't a theory any more? Still hav not seen a quatum computer ever, anywhere, and apparently neither has anyone else!

humblefly • today at 4:52 PM

I think this a bit incoherent. There are two possibilities. If the NSA had a practical attack and wanted to keep it to themselves for strategic purposes, then it makes no sense that they very publicly pushed the industry to move to something else.

Conversely, if they had a practical attack and wanted to tell the world to protect US infra, then... why didn't they?

The most likely explanation is probably that they had theoretical misgivings about it and felt that the resulting CPU savings were not worth treading so close to the danger zone. No one listened, and maybe there are some new unpublished AI findings, or maybe they're just trying to ride the wave of AI anxiety to get what they started in 2015 to the finish line.

➕ show 1 reply
treebeard901 • today at 5:47 PM

There is a well known history of NSA and other government interference in the development of encryption. Originally it had roots in military applications and national security and was classified as a munition.

The goal has always seemed to be a form of encryption for the public that due to the above history and interference would have been built with certain backdoors to be able to break the encryption. Unique properties of a cipher, other weaknesses in the encryption chain. After all, that end result is the only reason for the original interference from the NSA. To have a backdoor, because otherwise why bother. Sure, there were instances where they may have offered security advice but the overall goal remains the same.

If you want to test this theory, apply the most modern encryption technologies to a messaging app and try to distribute it yourself. See how long it takes until you get a knock at the door...

This is all to say that the real issue may not be that pre-quantum encryption is mathematically flawed, but that AI is uniquely able to find and reveal the backdoors that were intentionally included in the design.

➕ show 1 reply
doe88 • today at 5:14 PM

At least, we won't accuse of some deliberate collusion between DJB (if Curve25519 is concerned) and the NSA, and just consider it as a simple flawed mechanism made in good faith, which at worst was possibly not revealed as such by third partie(s) prior to now. I'd say if something had to be broken – ceteris paribus – i prefer it to have happened this way.

red_admiral • today at 4:40 PM

The ed25519 situation is interesting. The bad case would be that the NSA has a break, and DJB being so anti-government was really really convenient for them.

12023971 • today at 4:52 PM

If bitcoin goes to zero, that will be the first positive result of AI (or AI rumors in this case).

➕ show 1 reply
daoboy • today at 4:53 PM

Whether or not it's that old of an attack, the NSA didn't make any public announcements about this without milking everything possible from the exploit first.

s0ar3k • today at 4:44 PM

Maybe it leaked out from the NSA and the agent got a hold of it?

torginus • today at 4:51 PM

I suspected that Anthropic's quantum nothingburger might have been a case that they did find something of consequence, and were asked to not release it, so they decided to take the reputation hit by releasing an unimportant finding.

daveguy • today at 5:16 PM

If it is a "rediscovery", I'd be willing to bet it's just a leak to the frontier AI models. Once the plagiarism machine gets access to something in the training data it's fair game for attribution laundering.

magus-stoopr • today at 6:40 PM

> But now we know Anthropic’s galactic quantum attack on modular lattice PQC4 is the best a frontier LLM can do, and I believe as of November 2026 an LLM is capable of producing all maths results humans have ever discovered, so it’s unlikely that NSA knew something Anthropic couldn’t find.

um, no. not at all

frontier AI companies are being very clear, they are not releasing their most capable models to the public, so I have every indication to assume they would not release results from models they are keeping secret

just because they publish something does not mean it's the best they can do.

pavel_lishin • today at 6:47 PM

I was just saying in Slack that it would be incredibly funny if the NSA has known about this for 20 years, and is only releasing it now because it's only a matter of time before some AI company finds it.

tamimio • today at 5:02 PM

That’s the discussion I had few days ago, these “exploits” aren’t really how the public thinks, where they were unknown for years or plain stupid hiding in plain sight (the muhdra cert), these are the backdoors that were part of the design, a feature per se. And for this reason NSA went publicly in a way to keep its credibility as the “protector” of the public before being exposed that they were planting all these backdoors, while simultaneously demanding AI labs to coordinate with them in that domain, aka full visibility so they know how to navigate.

You should expect the same at the hardware level too.

AndrewKemendo • today at 6:07 PM

I wouldn’t make that assumption. People need to revise their priors about NSA still being the leader in cryptography and security technology.

They are no longer the leader, the leads in cryptography, surveillance and security practices are now in the private sector and most of what NSA uses is out of date.

rsoto2 • today at 5:58 PM

Did AI get insider information from the NSA to boost their stock??

NSA hides exploits for years to be able to use them themselves. They also hire multitude of government contractors to work on encryption problems.

TobiasJacob • today at 5:21 PM

I bet it's just another one of these market manipulations. Like with the tariffs and Nvidia stock.

Everybody panics, insiders buy, news come out, insider sells.

chinathrow • today at 5:53 PM

I said it before and will say it again: there is a reason Bluffdale exists.

Store and decrypt later.

➕ show 1 reply
elbistec24 • today at 6:32 PM

I am so incredible sick of all this speculation and FUD.

hn_throwaway_99 • today at 5:50 PM

I'm really tired of all this speculation, I think companies should push back on doing the upgrades unless they get a bit more information about what was discovered.

The thing that doesn't make sense to me here is the author is just speculating that what was "rediscovered" was an issue with P-256 curves. But asking he entire industry (and industry leaders followed up quickly with open letter saying "this is the real deal" basically) to switch to PQC ASAP is a huge, gargantuan undertaking, vs. just saying "fully deprecate P-256 curves now". Also, other industry leaders have implied the discovery at least affects RSA, too, which would make me very skeptical that this is just an ECC-only issue.

But again, we're all just bullshitting until we get more info. I wish at the very least that the NSA or industry leaders would let people know when they would get more info. This vagueposting isn't helping their cause.

sylware • today at 4:50 PM

So? Aliens or 512-bit curves?

Jez... this is so much stock market manipulation. How do you want to trust that?? COME ON!

Well, let's not bother, until it is.

ajross • today at 5:02 PM

Not really the point of the article, but since the subject has come up here repeatedly and I find myself on the iconoclast side of the spectrum:

It is absolutely, gobsmackingly hilarious that at the end of the day 256 bit ECC has fallen before 1024 bit RSA. Not only were the ECC boosters/pedants wrong in a theoretical "you should really update your ancient key before it's broken" sense, but the sense of "One of these algorithms is actually gonna get hacked, yo!"

➕ show 2 replies
ricksunny • today at 5:32 PM

my prompt: 'one thing i notice in technically informed commentary circles, and i see it as an especially masculine-coded thing - is the mcguffinization of topics into channels mapping to 'intellectual bottlenecks' of capability. ( " mcguffinization " for me = construing complex nuanced adversarial conflict along fixed 'if only we or they have the most powerful X lines we/they will have the ultimate power') As the strongest examples i cite are discussions of 1. cryptography and 2. frontier AI.

Note I don't assert mcguffinization as being fundamentally incorrect, only a blinkered or fixed view into a nuanced debate that fails to admit of alternative framings requiring serenity to appreciate the nuance, mixed contexts, and alternative contexts.

frontier AI is easier to expound about. GPU's, and who gets to RSI first. In the crypto example, it's all about which algorithm has been broken, or may have been broken, or may be breakable, by state-sponsored signals intelligence agencies like the NSA.

I say male-coded because, and I don't know how I know this given the relative anonymity of the internet, but I strongly perceive it's vastly primarily males commenting about 'who wins' or the technicalities of each mcguffin candidate. (I think in recent years the internet has anointed these types as techbros, but I think that insufficiently captures the cohort that comments extensively on these topics).

I feel it's worthwhile to analyze debates in this frame because the reductio ad infinitum of the debates often results in "keep technology X from the other guy" or "destroy, perhaps even kinetically, preemptively, the other guy's capacity to develop the frontier of technology X or our side is for ever damned "

Response (Opus 5.5): 'Your observation has a direct predecessor: Carol Cohn's 1987 essay "Sex and Death in the Rational World of Defense Intellectuals." She spent time embedded with nuclear strategists and argued that their "technostrategic" language put the weapons at the center of analysis. Their gendered and sexualized metaphors were part of that. Political, human and contextual considerations became hard to say inside the discourse at all, and once she learned the language herself, she found it changed what she could think. Your "McGuffinization" is close to her argument carried from warheads to algorithms and GPUs.

Cryptography is the stronger of your two cases, because there the frame has been shown wrong. Adi Shamir, the S in RSA, has a well-known rule that cryptography is usually bypassed, not penetrated. The Snowden documents fit that rule. Most of what they described was:

collection through service providers, hacking into devices (endpoint exploitation), metadata analysis, and legal compulsion.

The case closest to "NSA broke the algorithm" was Dual_EC_DRBG, a random-number generator with a suspected NSA backdoor. Even that was an attack on the standards process and on vendor relationships, not on the mathematics. So the McGuffin discussion fixes on the layer that is easiest to see and argue about, which is also the layer that is least often decisive. [response continues, removed for brevity] '

Cohn's 1987 essay: https://www.escholarship.org/content/qt83k4763m/qt83k4763m_n...

A 2025 followup to it https://igcc.ucsd.edu/publication/the-rational-world-of-defe...

➕ show 1 reply
pstrlabs • today at 7:44 PM

[dead]

🔗 View 2 more comments