Timing Attack
Pronunciation: TIME-ing uh-TAK
Definition
Timing Attack is a side-channel attack that uses measurable differences in operation duration to infer secrets, valid inputs, internal branches, account existence, or cryptographic state. It is a specific type of side-channel attack in which elapsed time is the observable signal. It should be interpreted alongside Side Channel Attack, which may affect the same workflow without representing the same control, event, or risk. Remote or local attackers may distinguish password comparisons, signatures, tokens, padding validity, cache behavior, or user records through repeated and statistically analyzed requests.
Overview
Timing Attack is a side-channel attack that uses measurable differences in operation duration to infer secrets, valid inputs, internal branches, account existence, or cryptographic state. It is a specific type of side-channel attack in which elapsed time is the observable signal. It should be interpreted alongside Side Channel Attack, which may affect the same workflow without representing the same control, event, or risk.
Remote or local attackers may distinguish password comparisons, signatures, tokens, padding validity, cache behavior, or user records through repeated and statistically analyzed requests.
Organizations should use constant-time comparisons and cryptography, uniform failure behavior, rate limits, blinding, noise-resistant architecture, hardened libraries, and statistical security testing.
Retain tested endpoint or function, environment, sample size, timing distributions, inferred secret or branch, library version, mitigation, retest, and residual uncertainty.
Assessment of Timing Attack should trace the use of measurable differences in operation duration to infer secrets, valid inputs, internal branches, account existence, or cryptographic state from prerequisite and entry point through observable impact on the affected service. A theoretical weakness or scanner result involving valid inputs, internal branches, and account existence should not be reported as exploitation without corroborating logs, transactions, or configuration evidence. Prevention, detection, containment, and recovery for the Timing attack path should be tested against the architecture associated with valid inputs, internal branches, and account existence.
Retesting for Timing Attack should reproduce the Timing attack path involving valid inputs, internal branches, and account existence, examine adjacent paths, and verify the conditions for safely returning the affected service to normal operation.
Key Takeaway
Timing Attack is a side-channel attack that uses measurable differences in operation duration to infer secrets, valid inputs, internal branches, account existence, or cryptographic state.
Sources
- Recommendation for Key Management, SP 800-57 Part 1 Rev. 5 — NIST (2026-08-03)
- Cryptographic Standards and Guidelines — NIST (2026-08-03)
- CWE-208: Observable Timing Discrepancy — MITRE (2026-08-03)