Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Replay Attack

Direct answer

A replay attack captures valid authentication or transaction data and sends it again later. Nonces, timestamps, sequence numbers and session keys, as in Kerberos and TLS, make replayed messages invalid.

When to use this

Use this when captured authentication or messages could be replayed.

First 30 seconds

1. Replay attacks resend captured valid messages.

2. Defend with nonces, timestamps, sequence numbers, session binding.

3. TLS prevents capture.

4. Short token lifetimes.

5. Detect duplicates.

Operational verification

captured message → resent → rejected by nonce/time

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • APIs signing requests without a timestamp or nonce.
  • Long token lifetimes, widening the replay window.
  • NTLM still allowed without SMB/LDAP signing, enabling relay.
  • One-time codes that can be used more than once.
Platform / version applicability
Incident response and forensics
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformIncident response and forensics
Scope / prerequisiteUse this when captured authentication or messages could be replayed.
What next?2 suggested next steps
Evidence1
On this pageJump to a specific section
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Nonces, timestamps and sequence numbers prevent replay.
  • Kerberos and TLS include replay protection.
  • Custom protocols often forget it.
Key checks
  • Nonces/timestamps in protocols — replay protection
  • Kerberos time skew limits — 5 min
  • Token one-time use (OTP, JWT jti) — replay checks
ReferenceWhy it matters1 section · depth on demand

Defences

MechanismExample
Nonces / challenge-responseNTLM, Kerberos authenticators
TimestampsKerberos (5-minute skew)
Sequence numbers / anti-replay windowIPsec ESP, TLS records
One-time tokensTOTP, payment tokens

Make sure clocks are synchronised (NTP), because timestamp-based protection depends on it.

ReferenceImportant terms & boundaries2 sections · depth on demand

Examples

  • Captured NTLM authentication relayed to another server (relay attack — require SMB/LDAP signing and EPA).
  • Replayed Kerberos tickets (pass-the-ticket).
  • Car key fob signal replay.
  • Replayed API requests without nonce/timestamp.

Protocols defend with nonces, timestamps, sequence numbers (IPsec anti-replay window) and session binding.

In depth

A replay attack captures valid data — an authentication message, a transaction, a token — and resends it later to repeat its effect. Even encrypted messages can be replayed if the protocol does not detect duplicates.

Protections built into protocols:

MechanismExample
Nonces/challengesChallenge-response authentication
Timestamps with short validityKerberos, TOTP, signed tokens with exp
Sequence numbers / anti-replay windowsIPsec ESP, TLS records
One-time tokensCSRF tokens, idempotency keys

When designing APIs or integrations, include timestamps and unique identifiers in signed requests and reject duplicates within the validity window (e.g. webhook signatures with timestamps).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docIncident response and forensics current

Authoritative/upstream documentation reviewed for bounded claims in Common Attacks → Replay Attack. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://attack.mitre.org/techniques/enterprise/ · confidence 94%
Confirmation

Confirm action

Continue?