# 先收集，后解密

先收集，后解密（Harvest now, decrypt later，HNDL）是一种攻击策略：对手在今天记录下加密通信并加以存储，直到密码学相关量子计算机（cryptographically relevant quantum computer，CRQC）能够破解其底层的公钥加密为止。在形式化模型中，第一阶段是收集阶段，从TLS会话、云存档和分布式账本中采集密文；第二阶段是解密阶段，在量子计算取得进展之后，对存储的密文进行回溯性解密——当数据所需的保密寿命超过对手的解密视界时，保密性即告失效。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> 这种攻击也被称为“先存储，后解密”，它颠倒了通常的安全问题：人们不再问今天有没有人能破解它，而是问在数据必须保持秘密的期间内，会不会有人能够破解它。<sup>[2](https://tls.studio/academy/harvest-now-decrypt-later/)</sup> 这种重新框定对迁移规划至关重要，因为迁移并不能回溯性地保护已经被截获的数据。<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup>

| 关键事实 | 详情 |
|---|---|
| 又称 | “先存储，后解密”；一份情况说明书称之为“现在捕获，以后破解”或“先收集，后解密”行动<sup>[4](https://postquantum.com/post-quantum/harvest-now-decrypt-later-hndl/)</sup> |
| 易受攻击的原语 | RSA、有限域Diffie–Hellman和椭圆曲线Diffie–Hellman密钥建立，均可被Shor算法在多项式时间内破解<sup>[5](https://arxiv.org/html/2603.01091)</sup><sup> • </sup><sup>[6](https://github.com/owasp/quantum-security-project/blob/HEAD/quantum-top-10/QS01_Harvest-Now-Decrypt-Later-Exposure.md)</sup> |
| 对称密码 | Grover算法只能将有效密钥长度减半，因此AES-256仍保有相当于AES-128的强度，并非实际的薄弱点<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> |
| Q-Day估计 | 专家调查：2030–2040年，CRQC在15年内破解RSA-2048的概率约为50%<sup>[5](https://arxiv.org/html/2603.01091)</sup>；全球风险研究所2024年报告：中心区间为2033–2037年<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> |
| 假设的保留时长 | 在解密变得可行之前，大约需存储5–15年<sup>[5](https://arxiv.org/html/2603.01091)</sup> |
| 检测 | 被动收集不留痕迹、不触发警报，也不出现在任何安全日志中<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup> |
| 主要防御手段 | 后量子密钥建立（ML-KEM，FIPS 203），可单独部署或与经典算法混合部署<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup> |

## 工作原理

TLS通过公钥密码学协商出的会话密钥来加密流量，如今几乎总是使用椭圆曲线Diffie–Hellman。<sup>[2](https://tls.studio/academy/harvest-now-decrypt-later/)</sup> 攻击者将加密流量连同密钥交换消息一并记录下来；在捕获时无需破解任何东西，对手只需要存储空间和耐心。<sup>[2](https://tls.studio/academy/harvest-now-decrypt-later/)</sup> 一旦CRQC出现，Shor算法便能在多项式时间内求解整数分解和离散对数问题，从而破解RSA、DH和ECC，于是记录下来的握手过程便能导出会话密钥，整段对话就此敞开。<sup>[5](https://arxiv.org/html/2603.01091)</sup> OWASP的量子十大威胁将这一暴露列为QS01：易受攻击的操作是密钥建立，一旦会话密钥被恢复，所收集的流量便可解密。<sup>[6](https://github.com/owasp/quantum-security-project/blob/HEAD/quantum-top-10/QS01_Harvest-Now-Decrypt-Later-Exposure.md)</sup>

对称加密则是另一回事。[Grover算法](https://www.edgepedia.org/zh/grovers-algorithm)对暴力密钥搜索只提供二次加速，实际上将安全裕度减半，因此将密钥长度加倍（AES-128到AES-256）即可保持等效的后量子强度。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> Grover将AES-256降低到AES-128的有效安全性，而后者对CRQC而言直接攻击在计算上仍然不可行，因此HNDL的经济学问题归结为密钥交换问题。<sup>[5](https://arxiv.org/html/2603.01091)</sup><sup> • </sup><sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup>

## 如何实施

该攻击分为三个阶段，其中只有最后一个阶段需要量子硬件。<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> 第一，被动收集：截获密钥建立流量不会产生IDS或SIEM等常规检测工具所标记的任何信号，这一点在NIST NCCoE SP 1800-38迁移指南中得到承认。<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> 第二，保留：一个可操作的行动计划必须持有捕获的数据，直到解密变得可行，这要求总保留时长约为5–15年，并伴随累积的存储支出；建模表明，保留截获的流量在经济上微不足道，使防御性问题从对手能否存档转变为解密将花费多少。<sup>[5](https://arxiv.org/html/2603.01091)</sup> 第三，一旦CRQC可用，便进行解密。

## 起源

该短语自2010年代中期以来在业界和政策讨论中流传，常被归功于业界从业者，但它在学术文献中基本仍是非正式的，至今仍没有可嵌入安全证明、威胁模型或通信系统设计的严格HNDL定义。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> 政府使用有据可查：一份联合情况说明书提到了“现在捕获，以后破解”或“先收集，后解密”行动。<sup>[8](https://postquantum.com/post-quantum/is-harvest-now-decrypt-later-real/)</sup>

这一战术本身早于量子计算。密码学家[Whitfield Diffie](https://www.edgepedia.org/zh/whitfield-diffie)指出，在第二次世界大战期间及之后，美国情报机构经常记录苏联的加密通信，并在多年后当计算能力或密码分析水平提高时解密了其中许多内容；他称HNDL“是信号情报的核心。NSA有大量的磁带库……可以追溯到几十年前。”<sup>[4](https://postquantum.com/post-quantum/harvest-now-decrypt-later-hndl/)</sup>

紧迫性的计算可以用迁移规划中使用的一个不等式来概括：\( x + y > z \)，其中\( x \)是数据的保质期，\( y \)是迁移到抗量子算法所需的时间，\( z \)是距离Q-Day的时间；由于复杂基础设施的迁移可能需要十年以上，即使Q-Day在十年之后，迁移也是紧迫的。<sup>[5](https://arxiv.org/html/2603.01091)</sup> 后来的学术工作将HNDL形式化为一种“时间性网络武器”，尽管此类模型将攻击视为二元事件而非渐进的经济决策。<sup>[5](https://arxiv.org/html/2603.01091)</sup> 该文献中最常引用的量子资源估计是Craig Gidney和Martin Ekerå于2019年发表在arXiv上的成果，其将分解RSA-2048定为2000万个含噪量子比特和八小时。<sup>[9](https://doi.org/10.48550/arxiv.1905.09749)</sup>

## 变体

“先存储，后解密”（Store now, decrypt later，SNDL）是常见的替代名称，强调数据是被存储以供未来解密，而非立即遭到攻击；Google Cloud在其缓解计划中也使用同样的SNDL标签。<sup>[4](https://postquantum.com/post-quantum/harvest-now-decrypt-later-hndl/)</sup><sup> • </sup><sup>[10](https://cloud.google.com/blog/products/identity-security/pqc-in-plaintext-google-clouds-post-quantum-cryptography-roadmap)</sup> 已发表的文献并未系统地将HNDL与SNDL区分为独立的威胁模型，也未将其与该术语出现之前所收集数据的回溯性解密区分开来。有一个回溯性案例有据可查：[美联储](https://www.edgepedia.org/zh/federal-reserve)2025年9月的一份工作论文指出，后量子密码学可以保护未来的交易，但没有任何现有方法能够回溯性地保护已经记录在公共分布式账本上的数据，因此先前记录的区块链交易将永久暴露。<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup>

## 应用

Q-Day的估计因来源而异。专家调查将Q-Day置于2030–2040年的窗口内，CRQC在15年内破解RSA-2048的概率约为50%。<sup>[5](https://arxiv.org/html/2603.01091)</sup> 全球风险研究所的2024年量子威胁时间线报告（Mosca和Piani）将中心概率分布置于2033–2037年，CRQC在10年内具备破解RSA-2048能力的概率为14%至34%。<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup><sup> • </sup><sup>[11](https://quantumsecuritydefence.com/quantum-news/state-actor-hndl-campaigns-known-suspected/)</sup> 对于密码学相关量子计算机何时能够建成，尚无共识性的官方估计，但IonQ预测将在2028–2029年窗口达到挑战RSA-2048所需的逻辑量子比特阈值。<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup><sup> • </sup><sup>[19](https://www.nist.gov/cybersecurity-and-privacy/what-post-quantum-cryptography)</sup>

资源估计已大幅下降。2025年的一次修订将2019年的估计降至不到100万个含噪量子比特、运行时间不到一周，假设表面码周期时间为1微秒、控制反应时间为10微秒、最近邻连接、每1000个门1个错误。<sup>[12](https://arxiv.org/pdf/2505.15917v1)</sup> 一个风险模型将容错分解中每次逻辑门操作的耗时设为\( \alpha \approx 2.5 \times 10^{-6} \)秒，并计算\( T_{\mathrm{break}}(n,t) = \alpha \cdot n^{3} \cdot \log_{2}(n) \cdot \mathrm{ECC}(t)/Q(t) \)。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup>

行业暴露按保密寿命\( L_{d} \)分类：中等（1至7年，例如企业知识产权、云存档）、高（7至30年，例如健康记录、卫星通信、法律记录，在延迟采用的情况下残余暴露窗口为6–11年）和关键（超过30年或无限期，例如国家情报、公共区块链）。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> 一项对42个来源的范围综述发现，有据可查的保密寿命对于国家安全记录、健康和基因组数据、生物识别标识以及受特权保护的法律通信可长达数十年或实际永久，对于财务记录则为数年至数十年。<sup>[13](https://link.springer.com/article/10.1007/s44196-026-01526-2)</sup> 按照该不等式的逻辑，持有自2020年起生成、保密要求为10年或更长的数据的组织已经处于风险窗口之内，而迁移并不能回溯性地保护已被捕获的数据。<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup>

## 局限与替代方案

对手确实在收集的证据是推断性的。没有公开的、当场抓获的案例表明某个具名对手专门收集加密数据以便用未来量子计算机解密，而且被动收集在设计上就不留证据。<sup>[8](https://postquantum.com/post-quantum/is-harvest-now-decrypt-later-real/)</sup> 有据可查的是：BULLRUN和EDGEHILL的披露证实，截至2010年代初，为未来利用而大规模收集加密数据是美英情报机构的作战原则，尽管没有公开安全通告按名称确认针对后量子解密的特定HNDL计划。<sup>[11](https://quantumsecuritydefence.com/quantum-news/state-actor-hndl-campaigns-known-suspected/)</sup> 2021年8月，NSA评估认为对手可能正在收集加密数据，等待量子计算机来解密，<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> 其2022年9月的CNSA 2.0安全通告指出，对手目前正在存储加密数据，意图在量子能力成熟后加以解密。<sup>[11](https://quantumsecuritydefence.com/quantum-news/state-actor-hndl-campaigns-known-suspected/)</sup> 英国NCSC将国家行为体的数据窃取描述为长期收集，“以供未来数年利用”。<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup> 此类暴露评估是推理性推断而非测量结果。<sup>[13](https://link.springer.com/article/10.1007/s44196-026-01526-2)</sup>

迁移落后于威胁。据估计，大型企业需要12–15年才能完成全面迁移，然而尽管62%表达了担忧，只有约5%拥有正式的量子过渡计划，这意味着如果CRQC在2028–2030年到来，将存在3–5年的脆弱窗口。<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup> 尽管如此，部署仍在推进：[Google Chrome](https://www.edgepedia.org/zh/google-chrome)于2023年8月部署了X25519Kyber768混合密钥交换，[Cloudflare](https://www.edgepedia.org/zh/cloudflare)同年在其网络上部署了后量子混合TLS；<sup>[3](https://quantumsecuritydefence.com/insights/hndl-in-motion/)</sup> 截至2025年底，Cloudflare网络上超过一半的人类发起流量使用后量子密钥协商，X25519MLKEM768混合方案在所有主流浏览器、OpenSSL、Go以及近期Apple操作系统的最近版本中默认开启。<sup>[5](https://arxiv.org/html/2603.01091)</sup><sup> • </sup><sup>[14](https://ysecurity.io/blog/harvest-now-decrypt-later/)</sup>

主要的替代方案是后量子密码学。首批三项后量子标准是用于密钥封装的[FIPS 203](https://www.edgepedia.org/zh/fips-203)（ML-KEM）、用于数字签名的[FIPS 204](https://www.edgepedia.org/zh/fips-204)（ML-DSA）和[FIPS 205](https://www.edgepedia.org/zh/fips-205)（SLH-DSA），2025年3月NIST选择HQC作为备用密钥封装机制进行标准化，最终标准预计于2027年出台。<sup>[7](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)</sup><sup> • </sup><sup>[18](https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption)</sup> FIPS 203规定了三组参数集——ML-KEM-512、ML-KEM-768和ML-KEM-1024——按安全强度递增、性能递减排列；其安全性基于模学习带误差（Module Learning With Errors，MLWE）问题，目前被认为即使对拥有量子计算机的对手也是安全的。<sup>[15](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf)</sup> 混合密钥交换在单次TLS握手中结合经典和后量子原语，使对手必须同时攻破两者才能解密流量；它只保护未来的会话，并不能补救已经收集的密文。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> 在X25519+ML-KEM-768中，X25519被量子破解后ML-KEM-768仍在保护数据，而ML-KEM被经典密码分析破解后X25519仍然支撑；这就是为什么在过渡期间广泛推荐混合部署，包括在BSI TR-02102-1中。<sup>[16](https://www.postquantumsecurity.org/publications/X25519+MLKEM768.html)</sup> 会话内重新生成密钥只有在增加新鲜随机性时才有帮助：TLS 1.3的KeyUpdate通过单次HKDF扩展从前一个流量秘密派生每个新的流量秘密，没有新鲜随机性，因此恢复初始握手秘密就会暴露后续每一个时期。<sup>[5](https://arxiv.org/html/2603.01091)</sup>

政策截止日期如今锚定了迁移。NIST的过渡计划草案IR 8547（2024年11月）提议，112位安全强度的RSA、ECDSA和EdDSA在2030年后弃用，量子脆弱的公钥算法在2035年后禁止使用。<sup>[14](https://ysecurity.io/blog/harvest-now-decrypt-later/)</sup> NSA的CNSA 2.0要求新机密系统在2027年前采用PQC，2035年前完成全面过渡。<sup>[1](https://www.mdpi.com/2673-4001/6/4/100)</sup> 2024年底，德国BSI与十多个欧盟成员国一道，称“先存储，后解密”是量子计算最迫在眉睫的威胁，并建议在2030年前保护最敏感的数据。<sup>[8](https://postquantum.com/post-quantum/is-harvest-now-decrypt-later-real/)</sup> 截至2026年中，尚无NIST批准的算法（ML-KEM、ML-DSA、SLH-DSA、AES-256）被已知破解；一个情景模型将RSA风险跨过50%阈值的时间置于2030至2032年之间。<sup>[17](https://arxiv.org/pdf/2608.23785)</sup>

## References

1. [Harvest-Now, Decrypt-Later: A Temporal Cybersecurity Risk in the Quantum Transition](https://www.mdpi.com/2673-4001/6/4/100)
2. [Harvest now, decrypt later, the attack explained (TLS Studio)](https://tls.studio/academy/harvest-now-decrypt-later/)
3. [Harvest Now Decrypt Later: The Threat That Is Already in Motion](https://quantumsecuritydefence.com/insights/hndl-in-motion/)
4. [Harvest Now, Decrypt Later (HNDL) Risk](https://postquantum.com/post-quantum/harvest-now-decrypt-later-hndl/)
5. [Harvest Now, Decrypt Later: A Time-Dependent Threat Model and Migration Framework for Post-Quantum Cryptography (On the Practical Feasibility of Harvest-Now, Decrypt-Later Attacks)](https://arxiv.org/html/2603.01091)
6. [OWASP Quantum Top 10, QS01: Harvest-Now, Decrypt-Later Exposure](https://github.com/owasp/quantum-security-project/blob/HEAD/quantum-top-10/QS01_Harvest-Now-Decrypt-Later-Exposure.md)
7. [Harvest Now, Decrypt Later: enterprise research note (Cloud Security Alliance, May 2026)](https://labs.cloudsecurityalliance.org/wp-content/uploads/2026/05/CSA_research_note_pqc_harvest_now_decrypt_later_enterprise_20260531-csa-styled.pdf)
8. [Is Harvest Now, Decrypt Later (HNDL) Real? The Evidence](https://postquantum.com/post-quantum/is-harvest-now-decrypt-later-real/)
9. [Gidney, Craig, Ekerå, Martin (2019). How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1905.09749)
10. [PQC in Plaintext: Google Cloud's post-quantum cryptography roadmap](https://cloud.google.com/blog/products/identity-security/pqc-in-plaintext-google-clouds-post-quantum-cryptography-roadmap)
11. [State-Actor HNDL Campaigns: Evidence Review](https://quantumsecuritydefence.com/quantum-news/state-actor-hndl-campaigns-known-suspected/)
12. [How to factor 2048 bit RSA integers with less than a million noisy qubits](https://arxiv.org/pdf/2505.15917v1)
13. [Harvest Now, Decrypt Later as a Cross-sector Threat: A Scoping Review of Data-confidentiality Lifetimes Against Post-quantum Migration Readiness](https://link.springer.com/article/10.1007/s44196-026-01526-2)
14. [Harvest Now, Decrypt Later: Quantum Threat & PQC Migration](https://ysecurity.io/blog/harvest-now-decrypt-later/)
15. [Module-Lattice-Based Key-Encapsulation Mechanism Standard (FIPS 203)](https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.203.pdf)
16. [From X25519 to X25519+MLKEM768: How Hybrid TLS Is Becoming Real](https://www.postquantumsecurity.org/publications/X25519+MLKEM768.html)
17. [A Scenario-Based Evaluation of CRQC+AI Vulnerability Spectrum for TLS 1.3 Cryptographic Dependencies](https://arxiv.org/pdf/2608.23785)
18. [Nist selects hqc fifth algorithm post quantum encryption (nist.gov)](https://www.nist.gov/news-events/news/2025/03/nist-selects-hqc-fifth-algorithm-post-quantum-encryption)
19. [What Is Post-Quantum Cryptography?](https://www.nist.gov/cybersecurity-and-privacy/what-post-quantum-cryptography)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026; Oct 21, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Network defense and threats

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/harvest-now-decrypt-later

English original: https://www.edgepedia.org/harvest-now-decrypt-later
