What is a key recovery attack, and why does it come up in post-quantum work?
A key recovery attack is an attack that extracts a secret key from observed behavior, such as the messages a system sends, the timing of its operations, or the outputs it produces when an adversary can query it. It is the threat that key-establishment and signature schemes must resist. You are most likely to meet the term in a vendor security document, a standards citation, or an audit request asking whether a product's key exchange or signing scheme resists this class of attack. Engineers, security architects, testers and vendor-risk reviewers all encounter it, usually when reviewing whether a product is designed to protect its secrets under a stated adversary model.
In post-quantum work, the term appears in the security goals that new schemes are measured against. The sources listed on this page frame it through NIST FIPS 203, which specifies ML-KEM for establishing a shared secret key over a public channel, and NIST SP 800-227, which gives recommendations for key-encapsulation mechanisms. When you read a vendor claim that a product uses ML-KEM, check whether the vendor also states the security goals the scheme is expected to meet, and confirm against the standard itself which parameter set (ML-KEM-512, ML-KEM-768 or ML-KEM-1024) the product implements.
For your own migration, the practical question is whether the components that hold or use keys can be attacked through their observable behavior in your environment. Ask the vendor which key-establishment and signature schemes they run, which versions and parameter sets are in use, and what they have tested or documented about resistance to key recovery. The sources on this page do not give a complete list of tested attack conditions for any specific product, so confirm those details with the vendor and your own testing rather than assuming them from the standard.
What names and identifiers does the term go by in standards?
This table lists the names and identifiers that the sources on this page connect to key recovery attacks, and it shows where each one appears. Read it to see which standards discuss the topic and how they phrase it. The main takeaway is that the sources do not define a single standard name for the attack itself, so reviewers should check the wording in each document they rely on.
| Name or identifier | Where it appears | What it tells the reader |
|---|---|---|
| Key recovery attack | Common usage in this glossary and in general security discussion | A descriptive name, not a term defined by a named standard in the sources listed on this page |
| Key recovery (as a security concern) | Security requirements discussed for key-encapsulation mechanisms | Describes the goal of the attacker, which is to obtain a secret key; check the requirement wording in the specific document |
| FIPS 203 (ML-KEM) | NIST final standard published 13 August 2024 | Specifies the key-encapsulation mechanism that is the target of key recovery attempts; does not name the attack itself |
| SP 800-227 (KEM recommendations) | NIST final document published 18 September 2025 | Gives recommendations for key-encapsulation mechanisms; confirm which security goals and attacker models it covers before citing it |
| RFC 9794 (PQ/T hybrid terminology) | IETF Informational RFC dated June 2025 | Defines terms for post-quantum traditional hybrid schemes, including the PQ/T hybrid key encapsulation mechanism; check it for attack-related wording |
| RFC 9935 and RFC 9881 | IETF Standards Track documents on X.509 algorithm identifiers | Give identifiers for ML-KEM and ML-DSA in certificates; these identify algorithms, not attacks |
Where do practitioners meet key recovery attacks in standards and products?
Practitioners meet key recovery attacks in standards discussions, protocol specifications and the security questions they face from buyers and auditors. The cards below cover where the term appears and what each reference asks you to check for your own deployment.
NIST SP 800-227 security discussion
NIST SP 800-227, Recommendations for Key-Encapsulation Mechanisms, was published as a final document on 18 September 2025. Its security discussion for key-encapsulation mechanisms is where engineers can read how key recovery is framed for KEMs such as ML-KEM, which FIPS 203 specifies. Read the security discussion alongside the parameter set you deploy, and confirm which KEM and version your implementation uses before relying on any statement from it.
SP 800-227 pageTLS 1.3 key establishment
RFC 8446 defines TLS 1.3, an Internet Standards Track document dated August 2018. Its key establishment is the part of the protocol where a key recovery attack would target the session secret, so reviewers look here when they ask how keys are derived. Check which key exchange groups your servers and clients negotiate, since the RFC describes the protocol and your configuration decides what is actually used.
RFC 8446 textHybrid key-exchange terminology
RFC 9794, Terminology for Post-Quantum Traditional Hybrid Schemes, is an Informational RFC dated June 2025. It defines a PQ/T hybrid key encapsulation mechanism as one built from two or more component algorithms, with at least one post-quantum and at least one traditional algorithm. Use its vocabulary to ask vendors which components are combined and whether recovering the shared secret requires breaking both of them.
RFC 9794 textVendor security questionnaires
Vendor security questionnaires often ask whether a product protects its keys against recovery, and whether its key exchange is hybrid or post-quantum only. Answers should name the exact product, version and key exchange configuration, not a general assurance. Ask the vendor to point to their own documentation for each answer, and treat any answer that lacks a version as incomplete.
Tender requirements
Tender documents sometimes require bidders to describe how their products resist key recovery and which post-quantum algorithms they support. Such requirements should be written as questions bidders answer with evidence, such as configuration guides and test results. Do not accept a bare statement that a product is secure against key recovery attacks, because the tender cannot verify it without the underlying configuration.
Audit requests
Auditors may ask how your organization assesses key recovery risk in its cryptographic inventory and key management. Evidence usually includes the algorithms and parameter sets in use, the protocol versions negotiated, and records of how keys are generated and stored. Prepare these records from your own environment, since an audit reviews what you run, not what a standard describes.
How does a key recovery attack relate to the keys a system establishes?
A key recovery attack targets the secret key itself. When a system establishes a shared key, for example through a key-encapsulation mechanism specified in FIPS 203, the result is a secret value both parties hold and that is meant to stay hidden from everyone else. The attacker's goal in a key recovery attack is to work out that secret from information it can actually see: the public values exchanged on the wire, the ciphertexts and any other data the protocol sends in the clear. Whatever the attacker does with the key afterward, such as decrypting recorded traffic, the key recovery step is where the protection either holds or fails.
The schemes covered by the sources on this page are designed so that recovering the secret key from public data and observed exchanges is infeasible. That is the security property a reviewer should check for when evaluating a key-establishment mechanism, and it is the reason ML-KEM is specified as a key-encapsulation mechanism with defined parameter sets, namely ML-KEM-512, ML-KEM-768 and ML-KEM-1024. Read the security claims in the standard and in the vendor's documentation for the exact parameter set you deploy, and confirm which mechanism your protocol uses to establish the key, since a key-encapsulation mechanism and a digital signature scheme protect different things.
For a migration review, this means the relevant question is not only whether an algorithm is present but whether the key it produces can be protected from recovery across the lifetime of the data it encrypts. Ask your vendor which key-establishment mechanism each product uses, which parameter set is configured, and whether the implementation follows the relevant NIST guidance in NIST SP 800-227 for key-encapsulation mechanisms. Record the answers in your inventory, because they determine what a key recovery attack would have to defeat in your environment.
Where does the attacker sit relative to the key exchange?
The diagram starts with a client and a server agreeing on a shared key over a public channel using a key-encapsulation mechanism (KEM). The client sends a public key, the server returns an encapsulated ciphertext, and both sides derive the same shared secret. A passive observer sees every message on the public channel but never holds the secret, while an attacker attempting key recovery tries to derive the shared key from the public values alone. Check that the public exchange contains only the public key and ciphertext, and that the secret is never transmitted. Confirm which parameter set and protocol version your system uses, since these determine the exact messages.
Passive observer and key recovery attacker see only public KEM messages, not the shared secret.
Which standards address key recovery resistance, and when were they published?
No single standard in the sources listed on this page is written as a key recovery test. The closest material is the set of documents that define the schemes whose security goals a key recovery attack targets. FIPS 203, published by NIST as a final standard on 13 August 2024, specifies ML-KEM, a key-encapsulation mechanism for establishing a shared secret over a public channel, and defines the parameter sets ML-KEM-512, ML-KEM-768 and ML-KEM-1024. A reviewer checking ML-KEM against key recovery should start with the parameter set in use and the implementation's conformance to FIPS 203, since that is where the scheme itself is specified.
NIST's SP 800-227, Recommendations for Key-Encapsulation Mechanisms, was published as a final document on 18 September 2025, after an initial public draft dated 7 January 2025. It is the NIST document that addresses how KEMs should be selected, implemented and deployed, so it is the reference to read alongside FIPS 203 when a KEM's security properties are reviewed. RFC 9794, Terminology for Post-Quantum Traditional Hybrid Schemes, is an Informational RFC dated June 2025 published by the IETF. It defines the terms for PQ/T hybrid key encapsulation, which matters when a hybrid deployment has to be assessed for the behavior of its component algorithms. Both NIST and the IETF publish these documents, and the IETF's Standards Track documents on carrying ML-KEM and ML-DSA in X.509 (RFC 9935 and RFC 9881) cover certificate encoding rather than recovery resistance.
What should a migration team do about key recovery risk?
This sequence moves a team from knowing that key recovery is a concern to holding dated, checkable evidence about each place a secret key is established or stored. It ends with a file an auditor can review, so the team can show what it asked for and what the vendor documented, without assuming any particular result.
Identify every system that establishes or stores a secret key
Start by listing each system in scope that establishes a shared secret or stores a private key, including TLS endpoints, VPN gateways, messaging services, backup encryption and key management services. The platform or security team owns this inventory, which should name the host, product, owning team and the data protected. The step is complete when every such system appears in one list, and anything the team cannot find is marked as an open item rather than left out.
Confirm the key-establishment mechanism each system uses
For each system on the list, record the key-establishment mechanism in use, such as a classical key exchange, a hybrid key exchange or a key-encapsulation mechanism, and the protocol version that negotiates it. Pull this from configuration files, handshake captures or vendor documentation, not from memory. The output is a column in the inventory for each system, with a note of where each value was confirmed.
Check whether vendors document key recovery resistance
Ask each vendor in writing whether its product documents resistance to key recovery attacks and whether it cites NIST SP 800-227 or FIPS 203 in that documentation. The sources listed here do not say whether any given vendor has published such a claim, so the answer must come from the vendor itself. Store the vendor's reply, the document name and the date received. Treat a missing or vague answer as a finding to record, not as a pass.
Request the version and parameter set in use
Ask each vendor which product version and which ML-KEM parameter set is in use, where applicable: ML-KEM-512, ML-KEM-768 or ML-KEM-1024, as defined in FIPS 203. Where a product is not built on ML-KEM, record the algorithm it does use. Compare the answer with the configuration confirmed in the earlier step, because a mismatch between what a vendor states and what a system runs is a finding in itself. The output is a version and parameter entry for each system, with its source.
Compare vendor answers against the inventory
Read the vendor responses against the inventory line by line, flagging any system where the stated version, parameter set or documentation does not match what was observed. Confirm with the vendor, rather than assume, whether a hybrid or combined mode applies to the configuration in use. The output is a short list of open questions per system, each with an owner and a date the question was sent.
Record the evidence for the auditor
Assemble one evidence file that holds the inventory, the mechanism and version entries, the vendor replies with their dates, the comparison results and the open items. Keep copies of the source documents and captures used, and note who collected each item. The step is complete when an auditor reading only this file can trace each claim back to a named source. Do not describe the file as an audit or an attestation, since an independent auditor reviews it and issues any conclusion.
What do people commonly confuse with key recovery attacks?
Key recovery attacks are often mixed up with neighboring security ideas, which leads to wrong conclusions about risk and readiness. The cards below separate a key recovery attack from single-message decryption, from downgrade attacks, from parameter-set names, and from vendor security claims, so you can check each one against the sources.
Key recovery is not single-message decryption
Recovering a secret key is not the same as decrypting one message. A key recovery attack aims to obtain the long-term or session key itself, which can expose every message protected by that key, not only the one observed. When reviewing a system, ask whether the key is reused across sessions, how long it lives, and what an attacker gains once it is extracted. Read the key establishment behavior described in FIPS 203 to see what the ML-KEM key encapsulation mechanism is meant to protect.
FIPS 203 pageKey recovery is not a downgrade attack
A downgrade attack forces two systems onto weaker algorithms, while a key recovery attack targets the secret key of an algorithm that is already in use. The two can appear in the same protocol, but they are different threats with different fixes. In hybrid or fallback designs, check separately whether an attacker can push negotiation to a weaker option and whether the keys that remain can be extracted. RFC 9794 defines the terminology for post-quantum and traditional hybrid schemes, which helps keep the two threats separate in review notes.
RFC 9794 textA parameter-set name is not a resistance guarantee
Names such as ML-KEM-512, ML-KEM-768 and ML-KEM-1024 identify parameter sets defined by the standard, but a name on its own does not prove that a given deployment resists key recovery. Resistance depends on the set actually chosen, the implementation, key handling, and how the scheme is configured and run. Confirm the exact set in your configuration and check the implementation against the standard text rather than relying on the label. The FIPS 203 page lists the defined sets.
FIPS 203 pageA vendor security claim is not certification
A vendor statement that a product resists key recovery is a claim, not a compliance certification or independent validation. Certification is issued by a named body for a named module and version, and it covers only what that assessment tested. Ask the vendor for the specific standard, version and assessment behind any statement, and verify it in your own environment before relying on it. Treat a marketing line on resistance as a starting question for your review, not as evidence of compliance.
SP 800-227 pageWhat do people search about key recovery attacks?
What does key recovery attack mean?
A key recovery attack is an attack that extracts a secret key from observed behavior, such as timing, error responses, or the outputs a system produces, rather than breaking the underlying math directly. The attacker's goal is to learn the key itself, which then lets them read protected data or impersonate a party. For engineers and testers, the practical question is which observable behavior of a deployed implementation could leak information about the key, so that the test plan covers those signals.
Is key recovery attack the same as an older name for something else?
The sources listed on this page do not identify an older name for key recovery attacks, so this page does not claim one. Readers who meet a different term in a vendor document or older paper should compare the definition in that document with the one here, since the scope may differ. Confirm the intended meaning in the specific document you are reading before treating two terms as equivalent.
Is key recovery attack standardized by NIST or the IETF?
The sources listed on this page do not show a standard that defines key recovery attack as a formal term. The post-quantum algorithm standards they cover, including FIPS 203 for ML-KEM and FIPS 204 for ML-DSA, specify algorithms and parameter sets rather than attack definitions. Security goals that standards and papers use to reason about attacks are described in separate terms covered on this glossary. Check NIST and IETF documents directly for any wording that addresses key recovery.
Do post-quantum products I run use key recovery attack resistance?
Resistance to key recovery depends on the specific implementation, its configuration and the version you run, not on the algorithm name alone. The sources listed on this page do not state which products or versions address key recovery attacks, so no product claim is made here. Ask each vendor which implementation they run, whether it follows the relevant NIST standard, and what testing they have performed for side-channel and key recovery behavior, and request that evidence in writing.
What changes for my team if key recovery attacks are a concern?
The main change is that testing must cover what a deployed system reveals, not only whether the algorithm is correct. Teams should include timing behavior, error handling, and key use patterns in their inventory and review of cryptographic components. This work is usually spread across security, platform and development staff, and its cost depends on how many systems use the affected components. Scope and effort vary widely, so request a written breakdown from any implementation partner before committing.
What should I ask a vendor about key recovery attacks?
Ask specific, checkable questions, such as:
- Which algorithm, parameter set and library version does the product use?
- What testing has been done against key recovery and side-channel behavior, and can you share the results?
- How are secret keys stored, rotated and protected during use?
- How will you notify us and deliver fixes if a weakness is found?
Record the answers in writing and compare them with the version you run, since statements often apply to a single release or edition.
Can my own team test for key recovery attacks, or do I need outside help?
Your own team can start by listing where secret keys are used and which observable signals, such as timing or error responses, each component exposes. Independent security testing adds value when the implementation is custom, when the stakes are high, or when your staff lack experience with side-channel testing. DeployOpen runs security testing of applications, cloud and infrastructure, and cryptographic components through fixed-scope engagements agreed in writing before work starts. The depth and cost of any test depend on the scope you define, and a quote follows from that written scope.
How DeployOpen works on this
DeployOpen approaches key recovery attacks as a scoped engineering question about the systems a team runs, not as a general lecture. We agree in writing which key exchange and signature components, implementations and configurations are in scope, then test them for exposure and document the findings and fixes.
How we scope
- Agree in writing which key exchange and signature components are in scope for key recovery review.
- Inventory where ML-KEM or ML-DSA parameter sets, or hybrid key exchange, are configured in your environment.
- Confirm which library, product and version each in-scope component runs before any testing begins.
How we build
- Deploy or configure the in-scope platforms inside your own infrastructure, including cloud accounts or air-gapped networks.
- Review implementation behavior for side-channel leakage and observable differences that could expose key material.
- Check that key handling, logging and error responses do not give an attacker the observations a key recovery attack needs.
How we hand over
- Deliver a written findings report that lists each issue, its affected component and the recommended fix.
- Retest the fixed components and record the results so your security and compliance teams can review them.
- Document the configuration, key handling decisions and evidence needed for your own assessment or audit.
How we support
- Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after the initial review.
- Confirm with the vendor or standards documents which parameter sets and versions your deployment supports.

