人工智能是否重新发现了美国国家安全局自2015年起就已知道的一种密码攻击?
Did AI rediscover a cryptographic attack NSA had known since 2015?

原始链接: https://an.dywa.ng/ecc.html

作者认为,NSA 所报告的、影响 ECC 的“近期发现”很可能是对至少自 2015 年以来内部已知弱点的重新发现,而非突然出现的突破。所引用的证据包括 NSA 的 CNSA 1.0 指南:该指南弃用了 P-256,要求椭圆曲线系统使用 P-384,但将 RSA 和有限域 DH 保持在 3072 位/128 位安全强度。文章指出,NSA 还建议供应商不要投资 ECC,而是等待后量子密码;作者将其解读为专门针对 ECC 的隐性警告。由于 Curve25519/P-256 等 256 位曲线广泛部署于浏览器和消息应用中,这一所谓弱点可能使对已截获通信进行定向解密成为可能。作者否定了涉及格基 PQC 已被秘密攻破的其他解释,认为 LLM 使数学秘密不太可能长期保密。因此,NSA 和 GCHQ 对 ECC/PQC 混合方案的抵制,被解读为并非出于对格基 PQC 的信心,而是表明它们认为 ECC,尤其是 256 位 ECC,实际上已被攻破。

HN 讨论围绕一项推测性说法展开:一个 AI 系统重新发现了 256 位椭圆曲线密码学中的密码分析弱点,而 NSA 可能至少自 2015 年起就知道这一点。评论者将其与 DES 和 SHA-1 相比,在这些案例中,NSA 的调整似乎提前预见到了后来的公开攻击;他们还指出,NSA 的指导方针已转向 P-384/AES-256 和后量子算法。专家们对所谓攻击的含义存在争议:一些人认为这是一种影响 P-256/Curve25519 的通用立方根 ECDLP 攻击,另一些人则指出,已知版本需要无法实现的预计算或存储,而且“128 位 ECC”并不等同于 128 位对称安全性。该讨论还辩论了对 Bitcoin、TLS、混合 PQC、NSA 后门、股市/FUD 理论的影响,以及 AI 是否能够重新发现隐藏的数学。总体来看,这场讨论高度推测性:许多人看到了令人担忧的间接证据,并敦促迁移到更强/后量子密码;另一些人则称之为缺乏支持的恐慌,并强调尚未公开任何具体证明。
相关文章

原文

The NSA announced “recent discoveries that impact the security of some cryptographic systems currently in use”, namely elliptic curve cryptography (ECC). This discovery is separate from the galactic quantum attack on module lattice post-quantum cryptography (PQC) on Monday, and it does not affect RSA.

I suspect the Recent Discovery is not new, but a rediscovery. There has been speculation that NSA had known of a weakness in ECC since 2015 at the latest, which allowed for expensive but feasible attacks on 256-bit curves. This weakness can no longer be kept secret due to LLMs having demonstrated the ability to reproduce it, which makes the risk of continued public use of 256-bit curves outweigh its surveillance benefits to the agencies.

Unfortunately, 256-bit curves, Curve25519 in particular, are/were the default in Chrome, Firefox, WireGuard, Signal, WhatsApp and everywhere for a long time. The implication of this theory is that Five Eyes could have the capability to perform targeted decryption on captured internet traffic.

Dropping P-256 in 2015

It’s most interesting to look at what haven’t been affected by the Recent Discovery. The NSA advisory says:

Enabling PQC settings where available; otherwise configure to the strongest approved classical options. See the Appendix for CNSA 1.0-approved algorithms.

CNSA 1.0 was NSA’s list of algorithms approved for use on information up to TOP SECRET. Released in 2015, it’s ancient. Somehow the cryptographic bombshell didn’t hurt these algorithms, they are still fine in the interim, even if Chinese models find the same Recent Discovery in a few months.

Here are the asymmetric algorithms in CNSA 1.0:

Algorithm Minimum security level
Elliptic Curve DSA 192 bits (P-384)
Elliptic Curve DH 192 bits (P-384)
Modular exponentiation DH 128 bits (3072-bit modulus)
RSA 128 bits (3072-bit modulus)

Elliptic curves got singled out as needing 192 bits of security while modular exponentiation DH (which also relies on the hardness of discrete logarithm) and RSA got a pass with 128 bits. The previous version of the approved list, Suite B, had P-256 which “mysteriously vanished” and RSA was added back by surprise. In 2017 NIST announced intentions to standardise the 128-bit security level Curve25519 for US government use in alignment with commercial/open-source adoption. This did not materialise.

If the NSA were informed of a surprise practical elliptic curve attack a few weeks ago, how could they be so sure this attack won’t be optimised (as new attacks tend to) to break 384-bit or bigger curves imminently? Why would Chrome drop P-256 certificates only, instead of making CAs move to RSA if PQC is not possible, when it costs the same to switch from P-256 to P-384 vs RSA-3072? My bet is that the Recent Discovery is not a surprise to the NSA. It’s something they’ve known about for years, and they’re confident it will not scale to 384-bit curves.

Statement to vendors

Also in 2015, the NSA told its vendors who were still using RSA to not bother with moving to ECC and instead wait for PQC.

For those partners and vendors that have not yet made the transition to Suite B elliptic curve algorithms, we recommend not making a significant expenditure to do so at this point but instead to prepare for the upcoming quantum resistant algorithm transition.

[…]

Unfortunately, the growth of elliptic curve use has bumped up against the fact of continued progress in the research on quantum computing, which has made it clear that elliptic curve cryptography is not the long term solution many once hoped it would be.

And they brought RSA (already considered legacy) back to make it kosher for vendors to not move to ECC:

Since that time NSA has come to appreciate that some of these legacy systems will be around for much longer than we had planned.

This does not compute. While breaking ECC is estimated to require fewer qubits than RSA, neither was remotely obtainable in 2015. If quantum computers were a real threat, why allow DH? Why add RSA back? Again, the only explanation is that there’s something about elliptic curves in particular NSA was worried about, and wanted to nudge vendors away from it.

Opposition to ECC & PQC hybrids

During the IETF’s standardisation of application-level PQC protocols, there had been some drama around (already widely accepted) hybrid schemes which use both ECC and module lattice PQC. On the surface, this is a no-brainer: if the brand-new PQC algorithm fails (which happened to SIKE), we still have ECC to fall back on.

The NSA and GCHQ strongly resisted hybrid schemes, saying they will only buy software and hardware that supports solo-PQC, and possibly manipulated the standardisation process to push through a solo-PQC standard. Their arguments against hybrids were they’re complicated to implement and less efficient, which do not make sense given how simple and efficient ECC is compared to PQC, any cost is marginal but the upsides are massive. This has led to speculation that the real reason against hybrids was that they secretly know or anticipate module lattice PQC to be weak.

But now we know Anthropic’s galactic quantum attack on modular lattice PQC 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.

This leaves the possibility that Anthropic/OpenAI had found a better attack on PQC than what they’ve published, but the NSA issued a gag order. This would be extremely foolish because there are no maths secrets anymore. It’ll only be a matter of months to a year before a Chinese model finds the same result and use it against the civilian sector of Five Eyes. LLMs have changed the calculus of secrecy so drastically, that I think we have to take NSA’s word on cryptanalysis results including the lack thereof.

There is another explanation for NSA’s opposition to hybrids: that they knew ECC is weak and there’s no point bothering with it anymore. I suppose they could’ve opposed only X25519 hybrid but allowed P-384, but maybe they were worried about leaking too much information.


联系我们 contact @ memedata.com