跳到正文
实时
Trail of Bits·· 3 天前60

Anthropic 针对 lattice 密码学的量子算法研究结果 FAQ

Answering your questions about Anthropic's lattice cryptography results

要点速览

Anthropic 宣布的针对模块 lattice 的量子算法不破解现有密码学,但引发了对理论安全性的担忧。该算法仅对极大规模输入有效,不立即影响已部署的 ML-KEM、ML-DSA 或 FN-DSA。建议部署这些算法的用户无需立即行动,但应关注标准机构未来可能的变化。

同一件事另外 3 家也报道了

各家口径不同:MIT Technology Review 表示该突破对当前安全系统无实际影响,而 a16z News 和 Trail of Bits 对长期安全影响表示担忧。

  1. MIT Technology Review · AI··首发

    Anthropic 的密码学突破实际上还不错

  2. a16z News··+4 小时 38 分

    Anthropic 的量子算法对基于格的证明系统和 Jolt 的影响

    新增信息:a16z News 提及对 NIST 标准 ML-KEM 和 ML-DSA 的影响。

  3. Trail of Bits··+8 小时 5 分·当前阅读

    Anthropic 针对 lattice 密码学的量子算法研究结果 FAQ

    新增信息:Trail of Bits 建议使用 ML-KEM、ML-DSA 或 FN-DSA 的用户应关注标准机构未来的变化。

  4. 36氪 · AI··+13 小时 38 分

    OpenAI限制破解加密技术研究

按发布时间排列 · 事件后续出现时自动追加 · 由模型根据各家标题与摘要比对

正文

Anthropic’s recently posted quantum algorithms for module lattices do not break lattice-based cryptography. Cryptographers will need to study them further, as they raise important questions about the theoretical security of lattice-based systems, but no practical attack exists. We recommend no immediate action for those deploying ML-KEM, ML-DSA, or FN-DSA. This FAQ explains our reasoning.

Understanding the results

What happened?

Anthropic announced quantum algorithms that it claims can more efficiently solve abstract lattice cryptography problems that cryptographers previously believed were hard. Systems based on these problems are already deployed, so the new algorithms have cryptographers concerned about their quantum security. The results are asymptotic, meaning they improve performance for extremely large input sizes, but they do not immediately impact the security of deployed cryptography.

Why should I care?

  1. If you are a cryptography researcher, this is a new line of attack that will need to be characterized and explored. This result raises many questions about structured lattices and their security against quantum computers.
  2. If you deploy post-quantum cryptography, take this as advance notice that standards bodies may or may not change their recommendations at some point in the future. This is not something you need to address immediately.
  3. If you are neither, you do not need to worry about this right now.

What is the attack?

Lattices are a type of mathematical object, and lattice cryptography studies both structured lattices, which have special algebraic properties that make implementations more efficient, and generic lattices, which do not. The most practical attacks on lattice cryptography essentially ignore that special structure, assuming structured lattices are as hard to break as generic lattices. The new research claims that when the algebraic structure is a power-of-two cyclotomic ring with extremely large degree, then the structured lattice is actually easier to break, and therefore less secure, than a similarly sized generic lattice. Standardized lattice schemes use power-of-two cyclotomic rings with fixed degrees of 256, 512, or 10241, which are much smaller than the extremely large degrees required for this attack, so these asymptotic results do not affect the security of deployed parameters.

Standardization

Which NIST-standardized algorithms are potentially involved?

The standards ML-KEM (FIPS 203), ML-DSA (FIPS 204), and FN-DSA (FIPS 2062) all involve low-rank module lattices over power-of-two cyclotomic rings, and their security analyses could be affected by these results. ML-KEM and ML-DSA are based on the Module LWE problem, and FN-DSA is based on the NTRU problem. These results do not break these standardized algorithms, but their key strengths should be reassessed in light of the new results.

Does the result break the cryptography standards ML-KEM, ML-DSA, or FN-DSA?

Not yet. Although ML-KEM, ML-DSA, and FN-DSA use module lattices of small rank over power-of-two cyclotomic rings, there are additional considerations. Concrete resource estimates and parameters like the modulus value, error magnitude, and lattice rank all have an outsized impact on whether an attack succeeds, and Anthropic’s paper explicitly says that their attacks are not practical for the parameter sets of ML-KEM and ML-DSA. However, since the described attack targets the same class of post-quantum algorithms that have been standardized by NIST, cryptographers are worried that standardized algorithms could be affected if the attack is improved.

Where are ML-KEM, ML-DSA, and FN-DSA used?

Even though ML-KEM was standardized relatively recently, it has already been deployed in many large-scale systems. It is standardized as part of TLS and is supported by most web servers and browsers, including Chrome and Safari. ML-KEM also frequently appears in post-quantum designs, like the messaging protocols used by Signal and iMessage. SSH, including OpenSSH, supports ML-KEM. There is no reason to believe that these new attacks concretely weaken the security of these applications.

ML-DSA and FN-DSA are beginning to be supported by libraries, but we have not seen these signature schemes used in protocols as often as the ML-KEM key encapsulation mechanism. This is because there is more urgency to deploy KEMs to protect against future quantum decryption attacks. However, some real-world systems have started to use ML-DSA for software and certificate signing.

Advice for implementers

My system uses ML-KEM, ML-DSA, or FN-DSA. What should I do?

Right now, do nothing. Continuing to use these algorithms and keys does not put you at additional risk of quantum computers reading or accessing your data. There is a greater risk of losing confidentiality by rushing to rotate keys or cipher suites and making a mistake. In the long term, start preparing to change to a new key size or algorithm if standards bodies deprecate the ones you currently use.

I was planning to deploy ML-KEM, ML-DSA, or FN-DSA. What should I do?

Watch for further guidance from experts and standards bodies. As of this writing, NIST has not yet made any statements on the results, but it is best equipped to determine what this means for the standards and deployments. This will take weeks or months to sort out, not days. ML-KEM, ML-DSA, and FN-DSA still have solid foundations, and it makes sense to move ahead as planned, but be aware that the recommended post-quantum algorithms could change.

It is still important to prepare for a post-quantum migration. You should start by understanding where your infrastructure relies on classical cryptography and which systems need to make the post-quantum transition. The post-quantum transition still needs to happen, and you can prepare for it by building in cryptographic agility, or the ability to update key sizes or algorithms should current standards recommendations change. We may need to reevaluate the security of module lattice-based schemes to understand the impact of these attacks, but the broad direction is unchanged.

Algorithmic questions

How should I interpret this asymptotic result?

It will take lattice cryptographers some time to understand and characterize this new direction of attack. The current attack is impractical, but we do not yet know whether it can improve to the point where quantum computers will be able to compromise deployed systems at their current parameter sizes.

Are cryptographers considering whether this result can be improved upon to obtain a practical attack?

Yes. Typically, when a new line of attack is introduced, the attack improves quickly. As the attack matures, improvements become more incremental. Unlike the existing sieving-based line of attack on deployed parameters, which is well understood and seems unlikely to become practical, this new line of attack is less studied, and it is unclear if it can become practical. Cryptographers need to thoroughly investigate this possibility.

The impact on non-lattice-based cryptography

Are non-lattice schemes like RSA, elliptic curves, AES, SHA-2, or other post-quantum schemes broken?

No. This result does not affect RSA, elliptic curves, symmetric encryption, hashing, Bitcoin, or other post-quantum candidates based on error-correcting codes, multivariate systems, or isogenies in any way. The claimed improvement matters only for lattice-based schemes, and there is zero reason to believe that it affects other types of cryptography.

How do these attacks compare to quantum attacks on RSA or ECC?

These attacks are significantly less powerful than quantum attacks on RSA and elliptic curve cryptography. The best quantum attacks on ECC require roughly 220 operations; this is efficient enough that we should transition away from RSA and ECC. In contrast, an extremely conservative estimate suggests that this attack requires more than 21000 operations. This is so astronomically large that it could never be run. The primary concern is that these quantum lattice attacks could improve significantly, even if they are currently impractical.

Are there post-quantum alternatives to lattice-based schemes?

Yes. Lattice-based schemes have been attractive candidates for post-quantum cryptography standards, but the broader cryptography community has known for years that we should hedge our bets and explore alternatives, and there are several options in different stages of the standardization pipeline. Cryptographers should plan for what happens if this asymptotic attack can scale to the point where ML-DSA, ML-KEM, or FN-DSA are irreparably broken. If that is the case, then the post-quantum transition has to take a few steps back, but we are not back to square one.


  1. ML-KEM and ML-DSA use degree 256 and vary the module rank and dimension for different security parameters. Falcon uses degree 512 or 1024. ↩︎

  2. The initial draft of FIPS 206 has not yet been published, but it is based on the Falcon signature scheme. ↩︎

来源: Trail of Bits · blog.trailofbits.com