What is a side-channel attack?

A side-channel attack recovers secrets from information a running cryptosystem leaks, such as timing, power use or electromagnetic emissions, rather than from breaking the math. Here is what it means for post-quantum migration.

On this page

What is a side-channel attack and why does it matter for post-quantum migration?

You will meet the term side-channel attack in a vendor security questionnaire, a standard, or an audit request that asks how a post-quantum implementation protects keys during use. NIST defines a side-channel attack in SP 800-227 and in the NIST CSRC glossary as an attack enabled by the leakage of information from a deployed cryptosystem. The attack does not break the mathematics of an algorithm. It observes what a running system gives away while it performs cryptographic operations, and uses those observations to recover secrets. The NIST glossary names timing, power consumption, and electromagnetic and acoustic emissions as the leakage types that can be exploited. Each one is a property of a physical device or software execution, not of the algorithm specification.

For post-quantum migration, the practical point is that a new algorithm can be correct on paper and still leak through its implementation. NIST SP 800-227 is the reference to check when a vendor claims protection for a key-encapsulation mechanism, and RFC 8446 states that TLS itself has no specific defenses against side-channel attacks and leaves that work to the cryptographic primitives. The newer documents make the same division of labor. RFC 10024 encourages implementers to use implementations resistant to side-channel attacks, especially where a remote attacker could exploit the leakage, and RFC 9881 says some side-channel leakage has been demonstrated in parts of the ML-DSA signing algorithm and that masking countermeasures exist but carry performance overhead. The mlkem-native project states that it targets resistance to timing side-channels only and that power and electromagnetic side-channels are currently out of scope, so a library's claim should be read against the exact leakage classes it covers.

Engineers, security testers, auditors and procurement reviewers meet this term in several places: vendor responses about constant-time behavior, test reports for cryptographic libraries, hardware security evaluations, and the security considerations sections of IETF drafts. When you review a claim, ask which leakage classes it covers, whether the claim is backed by a test or a validation, and whether the scope matches your deployment. A remote network service and an embedded device face different leakage exposure. Confirm the library version and component you run, since the sources listed here do not establish that any specific product resists every class named in NIST SP 800-227.

Which names and identifiers refer to side-channel attacks in standards?

This table lists the document, algorithm and hybrid group identifiers that the supplied sources tie to side-channel attacks, with what each one says on the topic. Use it to find which document to read for a given question, not as a list of which products resist which attacks. Check each source for the version and edition you run.

IdentifierDocument or nameWhat it says about side-channel attacks
Side-channel attackNIST SP 800-227 glossary definitionDefines the attack as one enabled by leakage of information from a deployed cryptosystem, citing timing, power and electromagnetic or acoustic emissions.
NIST SP 800-227Recommendations for Key-Encapsulation MechanismsFinal document published 18 September 2025, cited by RFC 10024 for guidance on side-channel resistant implementations.
NIST SP 800-140FCMVP non-invasive attack mitigation test metricsFinal March 2020 document setting CMVP test metrics for non-invasive attack mitigation, superseding parts of ISO/IEC 19790 and ISO/IEC 24759.
ML-KEMFIPS 203 (Module-Lattice-Based Key-Encapsulation Mechanism Standard)Final 13 August 2024; the standard itself does not claim side-channel resistance, so check the implementation's own documentation.
ML-DSAFIPS 204 (Module-Lattice-Based Digital Signature Standard)Final 13 August 2024; RFC 9881 reports demonstrated side-channel leakage in parts of the signing algorithm and notes masking countermeasures with performance overhead.
X25519MLKEM768RFC 10024 hybrid TLS 1.3 group (codepoint 4588, 0x11EC)Section 6 encourages side-channel resistant implementations and points to NIST SP 800-227.
SecP256r1MLKEM768RFC 10024 hybrid TLS 1.3 group (codepoint 4587, 0x11EB)Same Section 6 guidance on side-channel resistant implementations as the other hybrid groups.
SecP384r1MLKEM1024RFC 10024 hybrid TLS 1.3 group (codepoint 4589, 0x11ED)Same Section 6 guidance on side-channel resistant implementations as the other hybrid groups.

Where practitioners meet side-channel attacks in post-quantum work

Side-channel attacks come up in post-quantum work in protocol specifications, standards for signatures and key encapsulation, library documentation and validation guidance. The cards below cover where each source addresses leakage and what to confirm in your own implementation.

TLS 1.3 leaves side-channel defense to primitives

Appendix E.4 of RFC 8446 says TLS has no specific defenses against side-channel attacks and leaves that work to the cryptographic primitives underneath it. It also notes that TLS 1.3 uses only AEAD algorithms so implementations can use self-contained constant-time implementations of those primitives. For a post-quantum TLS deployment, this means the protection against side-channel leakage sits in the libraries that implement the key exchange and signature code, not in the protocol itself. Check which TLS library and primitive implementations you run.

RFC 8446

Hybrid groups point to side-channel resistant implementations

Section 6 of RFC 10024 defines hybrid TLS 1.3 groups such as X25519MLKEM768 and SecP256r1MLKEM768, and encourages implementers to use implementations resistant to side-channel attacks, especially those a remote attacker could exploit. It points to NIST SP 800-227 for further recommendations. Treat this as a requirement to verify in the library you deploy, since the RFC does not say which implementations meet it.

RFC 10024

ML-DSA signing leakage and countermeasures

Section 9 of RFC 9881 says some side-channel leakage has been demonstrated in parts of the ML-DSA signing algorithm. It notes that masking countermeasures exist but carry performance overhead, and that randomized ML-DSA is easier to harden against fault and hardware side-channel attacks. When you plan ML-DSA certificate or signing deployments, ask your implementer which countermeasures are present and what they cost in performance.

RFC 9881

Timing-only scope in mlkem-native

The mlkem-native README says the library targets resistance against timing side-channels only. Power and electromagnetic side-channels are stated as currently out of scope. If you adopt this library, document that gap in your threat model and decide whether your deployment environment, such as shared hardware or physical access, makes those classes relevant. Confirm the current scope in the repository before relying on it.

mlkem-native README

Adversary side-channel access in the ML-KEM draft

Section 3 of the IETF draft draft-sfluhrer-cfrg-ml-kem-security-considerations-05 says the adversary may have access to various side channels and advises implementers to possibly use an implementation resistant to such leakage. The draft is Informational and dated 13 May 2026. Use it to shape your threat model for ML-KEM key exchange, and record which side-channel classes your chosen implementation addresses.

IETF draft

Validation test metrics for non-invasive attacks

NIST SP 800-140F sets CMVP approved test metrics for non-invasive attack mitigation, and was published as final in March 2020. It supersedes parts of ISO/IEC 19790 and ISO/IEC 24759. If you need a validated cryptographic module, ask the vendor which non-invasive attack mitigation tests their validation covers and whether any post-quantum algorithms are included in that validation.

NIST SP 800-140F

How a side-channel attack works against a running system

A side-channel attack does not break the mathematics of a cryptosystem. Instead, an attacker observes something a device or process does while it handles secret values, such as how long an operation takes, how much power the device draws, or what electromagnetic or acoustic emissions it produces, and uses those measurements to infer the secret. NIST SP 800-227 defines a side-channel attack as "An attack enabled by the leakage of information from a deployed cryptosystem," and names timing, power consumption, and electromagnetic and acoustic emissions as the exploitable characteristics. The attacker's input is the observed behaviour, and the output is the key or other secret the behaviour revealed.

The attack depends on the deployed implementation and its environment, not only on the algorithm specification. Two products running the same standard can leak different amounts depending on the library, the compiler, the hardware, and how the device is physically accessed. This is why NIST frames the problem around a deployed cryptosystem. For a practical check, confirm which cryptographic library and version your product uses, whether that library documents side-channel resistance, and which threat model its maintainers say they address. The mlkem-native README, for example, says it targets resistance against timing side-channels only and that power and electromagnetic side-channels are currently out of scope. A library's stated scope is the first thing to compare against your deployment.

Remote and local attackers face different realities. RFC 10024 encourages implementers to use implementations resistant to side-channel attacks, especially those a remote attacker could exploit, and points to NIST SP 800-227 for guidance. RFC 8446 notes that TLS has no specific defenses against side-channel attacks and leaves that work to the cryptographic primitives. The practical step is to ask each vendor and open-source project which side channels they have tested or mitigated, and to plan for hardware-level leakage separately, since that falls outside what most software libraries claim to cover. The sources listed on this page do not say how often such assessments are repeated, so confirm that with your vendors directly.

What standards and guidance say about side-channel resistance

Standards and guidance on post-quantum cryptography treat side-channel leakage as a property of the implementation, not of the algorithm alone. NIST's SP 800-227, Recommendations for Key-Encapsulation Mechanisms, was published as a final document on 18 September 2025, following an initial public draft on 7 January 2025. The document sits alongside FIPS 203 and FIPS 204, the final standards for ML-KEM and ML-DSA, both published on 13 August 2024. Read the three together: the FIPS documents define the algorithms, and SP 800-227 gives the recommendations for using key-encapsulation mechanisms. Check the current errata and notes on each NIST page before you cite a specific version, since NIST has said that identified issues in FIPS 203 and FIPS 204 will be corrected in future updates or revisions. NIST SP 800-227 is the natural starting point for the recommendations.

The IETF documents take a similar view and leave most of the work to implementers. RFC 8446, which defines TLS 1.3, says that TLS has no specific defenses against side-channel attacks and leaves that work to the cryptographic primitives. It also notes that TLS 1.3 uses only authenticated encryption with associated data (AEAD) algorithms, so that implementations can use self-contained constant-time code for those primitives. RFC 10024, which is a proposed standard published in August 2026 and defines hybrid TLS 1.3 groups that include ML-KEM, encourages implementers to use side-channel resistant implementations, especially where a remote attacker could exploit leakage, and points to SP 800-227 for guidance. RFC 9881, the October 2025 standard for ML-DSA identifiers in X.509 certificates, says that some leakage has been demonstrated in parts of the ML-DSA signing algorithm and that masking countermeasures exist but add performance overhead.

None of these documents requires or certifies side-channel resistance in a product. Their wording is advisory, and they assign the work to whoever writes or chooses the cryptographic library. For your own review, ask each vendor which library and version performs the cryptographic operations, and ask what side-channel testing or hardening that library has had. Check whether the vendor's own documentation scopes its claims to particular attack classes, such as timing, and whether power and electromagnetic leakage are covered at all. Treat the absence of a statement on those channels as a gap to raise, not as evidence that the channels are protected. Confirm each point against the source document for the version you run.

Where side-channel leakage sits in a deployed cryptosystem

A side-channel attack starts with a deployed cryptographic library or device that handles secret keys while it runs. Three leakage paths can carry information from that running system to an observer: timing of operations, power consumption, and electromagnetic emissions. NIST SP 800-227 names all three as exploitable characteristics. The sources list constant-time implementation and masking as the main countermeasures, and the mlkem-native README notes that it addresses timing only, so check which leakage classes your implementation covers.

Leakage paths from a running cryptographic library to an observer, with countermeasures.

What to check in a migration when side-channel attacks come up

This sequence establishes which components hold secret keys, what each vendor says about its side-channel protections, and where those protections stop. It ends with a reviewed signing path and a retest after every upgrade, so the evidence you keep matches the software actually running.

  1. Inventory where secret keys are handled

    List every cryptographic library, device, module and service that processes a private key, a decapsulation key or a signing key during a migration. Include the hardware that sits underneath each one, such as HSMs, smart cards, embedded controllers and load balancers that terminate TLS. Mark which components run on hardware an attacker could physically reach or could measure remotely, since timing leakage can be observed over a network and power or electromagnetic leakage requires proximity. The step is done when every component that touches a secret has an owner, a version and a note on its physical exposure.

  2. Ask vendors about constant-time behavior

    Send each vendor in the inventory a written question asking whether its implementation of ML-KEM, ML-DSA or any classical primitive it still uses is constant-time, and which side channels it claims to address. Ask for the version this answer applies to, and whether masking or other countermeasures are present, enabled by default or optional. RFC 10024 encourages implementers to use implementations resistant to side-channel attacks, especially those a remote attacker could exploit, so ask how the vendor meets that. The step is done when each answer is on file, dated and tied to a specific version, and any vendor that gives no answer is flagged.

  3. Confirm which side channels a library covers

    Read the scope statement of each library the vendors name, and record exactly which leakage classes it defends against. The mlkem-native README says the project targets resistance to timing side-channels only, and that other classes such as power and electromagnetic side-channels are currently out of scope. Treat that statement as the baseline for any deployment, and mark every class the library does not cover as a gap that needs another control or an accepted risk. The step is done when each library has a recorded scope, and each gap has a named owner and a decision.

  4. Review ML-DSA signing for leakage

    Review each signing implementation against Section 9 of RFC 9881, which notes that some side-channel leakage has been demonstrated in parts of the ML-DSA signing algorithm, that masking countermeasures exist but add performance overhead, and that the randomized variant is easier to harden against fault and hardware side-channel attacks. Check whether the implementation uses masking, whether the overhead has been measured against your latency and throughput targets, and whether signing runs on a device exposed to physical measurement. The step is done when each signing path has a written finding on leakage and an explicit choice on masking, with the performance cost recorded.

  5. Check TLS configuration for side-channel defenses

    Confirm that the TLS stack in use relies on constant-time primitives for its record protection, since RFC 8446 states that TLS has no specific side-channel defenses of its own and leaves that work to the primitives. Verify that the cipher suites negotiated are AEAD-based, because TLS 1.3 restricts itself to AEAD algorithms so that implementations can use self-contained constant-time code. Check hybrid group configuration against RFC 10024 groups such as X25519MLKEM768 if they are in use, and record which library handles the key exchange. The step is done when the TLS stack, its primitive library and its hybrid group support are all recorded against a version.

  6. Record the mitigations and residual risk

    Write down, for each component, which side channels are mitigated by the vendor, which are mitigated by your own controls such as physical access limits or hardened hardware, and which remain. Include the reason for each residual risk and who accepted it. Reference NIST SP 800-227, which discusses recommendations for key-encapsulation mechanisms and points to side-channel resistance as a design concern, and NIST SP 800-140F for non-invasive attack mitigation test metrics if your validated modules rely on it. The step is done when the risk register lists every component with its mitigations, residual risks and accepting party.

  7. Retest after each upgrade

    Repeat the vendor question, scope check and signing review whenever a library, firmware image or TLS stack is upgraded. NIST has noted that identified issues in FIPS 203 and FIPS 204 will be corrected in future updates or revisions, so a version that was reviewed earlier may change its behavior after a standard update. Rerun the constant-time evidence the vendor supplied, and re-verify the masking configuration on signing paths. The step is done when the retest is logged against the new version, and the risk register reflects any change in the residual risks.

Common confusions about side-channel attacks and their countermeasures

Side-channel attacks read secrets from how a running system behaves, not from flaws in the math. Teams often assume that one fix, such as a constant-time library or a standard's test metrics, covers every leakage path, and that is rarely the case. The cards below separate what each countermeasure addresses from what it leaves open.

Side-channel attacks are not algorithm breaks

NIST SP 800-227 defines a side-channel attack as one enabled by leakage of information from a deployed cryptosystem, and it names timing, power consumption, and electromagnetic and acoustic emissions as the characteristics that can be exploited. The algorithm itself can be sound while a specific implementation leaks. When you review a product, ask whether the claim is about the algorithm or about the implementation running on a given device.

NIST glossary

Constant-time code covers timing only

The mlkem-native README says its implementation targets resistance against timing side-channels only, and that power and electromagnetic side-channels are currently out of scope. A constant-time library therefore does not, by itself, address power analysis or electromagnetic emanation on a device. Ask a vendor which leakage classes its testing covers and whether the hardware it runs on was assessed for them.

mlkem-native README

TLS has no side-channel defences of its own

RFC 8446, which defines TLS 1.3, says TLS has no specific defences against side-channel attacks and leaves that work to the cryptographic primitives. TLS 1.3 uses only AEAD algorithms so that implementations can use self-contained constant-time primitives. Protection therefore depends on the library underneath the protocol, not on the protocol version you negotiate. Check the cryptographic library and its build, not only the TLS settings.

RFC 8446 text

Masking and randomized signing cost performance

RFC 9881 says that some side-channel leakage has been demonstrated in parts of the ML-DSA signing algorithm, that masking countermeasures exist for ML-DSA, and that these come with performance overhead. It also notes that randomized ML-DSA is easier to harden against fault and hardware side-channel attacks. Expect slower signing when masking is enabled, and ask vendors to state the overhead they measured on the hardware you will run.

RFC 9881 text

SP 800-140F sets test metrics, not a guarantee

NIST SP 800-140F concerns the CMVP validation metrics for non-invasive attack mitigation, and it updates parts of ISO/IEC 19790 and ISO/IEC 24759 for that purpose. A validation under these metrics shows that a module was tested against defined criteria. It does not promise resistance to every side-channel attack. When a module is cited in a procurement, read its validation record for which tests were run.

SP 800-140F

Side-channel resistant is a design goal

Standards and drafts describe side-channel resistance as something an implementer should aim for. The IETF draft on ML-KEM security considerations advises implementers to possibly use an implementation resistant to such leakage, and RFC 10024 encourages resistant implementations, especially where remote attackers could exploit leakage. Neither document certifies a product as resistant. Treat the phrase as a requirement to verify with evidence, not as a claim a vendor can make without test results.

RFC 10024

Questions readers ask about side-channel attacks

What is a side-channel attack according to NIST?

NIST SP 800-227 defines a side-channel attack as an attack enabled by the leakage of information from a deployed cryptosystem. The attacker does not break the mathematics of the algorithm. Instead, they observe characteristics of a running system that carry information about secret values. The NIST glossary names timing, power consumption, and electromagnetic and acoustic emissions as examples of exploitable characteristics. The key point for engineers is that the weakness sits in how the cryptography is built and run, so a correct algorithm can still leak secrets through its implementation. The definition appears in the NIST CSRC glossary, and NIST SP 800-227 was published as final on 18 September 2025 after an initial public draft on 7 January 2025.

Is a side-channel attack the same as a timing or power analysis attack?

No. Timing and power analysis are both kinds of side-channel attack, so the category is broader than either one. NIST lists timing and power consumption among several exploitable characteristics, alongside electromagnetic and acoustic emissions. A timing attack learns secrets from how long operations take, and a power analysis attack reads secrets from a device's power use. Each has its own defenses, and this glossary page covers the umbrella term only. For the specific attacks, see the sibling pages on timing attacks, power analysis attacks and fault injection attacks. The grouping matters for testing: a review that checks only timing may miss power or electromagnetic leakage, and the mlkem-native project notes that its own timing focus leaves other classes out of scope.

Do standards require side-channel resistance for post-quantum algorithms?

The sources listed on this page describe side-channel resistance as a recommendation rather than a stated requirement. RFC 10024, a Proposed Standard published in August 2026, encourages implementers to use implementations resistant to side-channel attacks, especially those a remote attacker could exploit, and points to NIST SP 800-227 for guidance. The IETF draft draft-sfluhrer-cfrg-ml-kem-security-considerations-05 advises implementers to possibly use an implementation resistant to such leakage. RFC 8446 for TLS 1.3 states that TLS has no specific defenses against side-channel attacks and leaves that work to the cryptographic primitives. The sources listed on this page do not identify a mandatory side-channel test. Confirm which recommendations apply to your deployment with your compliance team and the standards documents themselves.

Are ML-KEM and ML-DSA affected by side-channel attacks?

The cited sources say that side-channel exposure is a concern for both, but they describe it in different ways. For ML-DSA, RFC 9881 states that some side-channel leakage has been demonstrated in parts of the signing algorithm, that masking countermeasures exist but add performance overhead, and that randomized ML-DSA is easier to harden against fault and hardware side-channel attacks. For ML-KEM, the mlkem-native project says it targets resistance against timing side-channels only, and that power and electromagnetic side-channels are currently out of scope for that project. The IETF draft also notes that an adversary may have access to various side channels. FIPS 203 and FIPS 204 define the algorithms but the listed sources do not provide a general statement that implementations are protected. The sources do not say that any particular library is resistant to every class of side channel, so confirm this for the specific version and implementation you run.

What changes for a self-hosted TLS deployment?

Self-hosted TLS shifts responsibility for side-channel resistance toward the people who choose and run the cryptographic library. RFC 8446 says TLS 1.3 uses only AEAD algorithms so that implementations can use self-contained constant-time implementations of those primitives, which means the library and not the protocol carries most of the defense. RFC 10024 defines hybrid groups such as X25519MLKEM768 and SecP256r1MLKEM768, and encourages implementers to pick side-channel-resistant code, particularly where a remote attacker could exploit leakage. In practice, the operator should confirm which TLS library and post-quantum implementation the server uses, whether its version matches the published standard, and whether the vendor has documented side-channel testing. Operators should also check that hardware or shared hosts do not expose a power or emission channel that the software review does not cover. The cited sources do not provide a deployment checklist for this, so treat the list below as a starting point to confirm with your own engineers.

What should I ask a vendor about side-channel testing?

Ask the vendor which side-channel classes they tested, because timing, power and electromagnetic leakage are different problems. Ask which library and exact version the product uses, and whether that version matches the standard it implements. Ask whether the implementation is constant-time, and how they verified it. Ask whether testing covered only timing, since the mlkem-native project states its scope is timing only. Ask for the date and scope of any independent review, and whether the findings were fixed. Ask how they will notify you when a side-channel issue is found and patched. The sources listed on this page do not provide a standard vendor questionnaire for side-channel testing, so these questions are drawn from the cited documents rather than from a published checklist. Record the answers in your vendor-risk file so they can be reviewed later.

Does DeployOpen test for side-channel attacks?

DeployOpen's scope covers security testing of applications, APIs, cloud and infrastructure, and AI systems, along with red teaming. Side-channel leakage from a running cryptographic library is a specialized class of testing, and the company's listed services do not state that side-channel assessment is among them. For a question of this kind, ask DeployOpen to confirm in writing whether a given engagement includes side-channel review and what the scope, deliverables and timeline would be. Most engagements are fixed-scope and agreed in writing before work starts, so the scope of any side-channel check should appear in that written agreement. A quote follows from the written scope.

How DeployOpen works on this

DeployOpen approaches side-channel attacks as a deployment question, not only a math question. We scope which implementations, hosts and devices in your environment handle secret keys, then test and document how those components leak timing, power or emission information. Work is delivered as a fixed-scope engagement with written findings you can hand to your security and compliance teams.

How we scope

  • Identify which ML-KEM and ML-DSA implementations your systems run, and which ones handle secret keys in deployed form.
  • Confirm whether your environment exposes timing or remote measurement paths that an attacker could reach over a network.
  • Record in the written scope which physical or emission characteristics are in or out of scope for the engagement.

How we build

  • Set up a test environment that mirrors your production libraries, versions and hardware so measurements reflect your real deployment.
  • Measure timing behavior of the cryptographic code paths in scope and compare results against constant-time expectations.
  • Document which side-channel classes are not covered by the chosen library, such as power or electromagnetic leakage, so gaps stay visible.

How we hand over

  • Deliver a findings report listing each observed leakage path, its affected component and the conditions under which it was seen.
  • Include recommended mitigations, such as switching to a constant-time implementation or adding masking, with the trade-offs for each option.
  • Provide a retest plan so your team can confirm that fixes changed the measured behavior before the engagement closes.

How we support

  • Ongoing support is available as a retainer for upgrades, library version changes and periodic retesting after library updates.
  • Ask for a written scope that names the libraries, hardware and attack classes covered, and confirm it before work begins.
  • Check current guidance from NIST SP 800-227 and the vendor documentation for your library before relying on any single mitigation.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.