replay-attack · shipping

Replay attack

A replay attack reuses previously valid data to induce acceptance in an unauthorized context.

Related Observatory article: Read on hesela.com

RFC 4949 describes replay for valid transmissions; the storage counterpart can restore an older authenticated block without forging its tag. Broz and colleagues explicitly exclude this threat from their 2018 sector-encryption design. [1] [2] In ESP, a receiver must support an anti-replay window of at least 32 packets with 32-bit sequence numbers, 64 is the preferred default, and a 64-bit extended sequence number is available; the sender's counter must not cycle on one SA. [4] Legitimate journal replay during crash recovery is not, by itself, an attack.

Relations

related
Rollback protection, Authenticated encryption, Cryptographic nonce, dm-integrity, HMAC

Advantages

  • A sliding window rejects duplicates while still accepting packets that arrive out of order within its width. [4]

Limitations

  • A valid authentication tag alone does not show that a stored block is current. [2]

Citations

  1. RFC 4949: Internet Security Glossary, Version 2 (2007), replay attack; informational glossary, not an Internet Standard (accessed 2026-10-23)
  2. Broz, Patocka and Matyas: Practical cryptographic data integrity protection with full disk encryption (extended version), 2018, section 2.4 (accessed 2026-10-23)
  3. RFC 4303: IP Encapsulating Security Payload (ESP), sequence numbers and anti-replay window (accessed 2026-10-23)

Further reading

  1. Hesela: A trusted root still needs a version policy (accessed 2026-10-15)
Sources & caveats
  • rfc4303 is RFC 4303, read 2026-10-23 at sections 2.2.1, 3.3.3 and 3.4.3 for the counter, extended sequence numbers and the receive-window sizes.
  • The point that legitimate journal replay is not an attack follows a companion analysis of freshness checks, kept as a listed citation.
  • The cryptographic-hash entry links here because a hash or tag confirms content but cannot by itself reject an older valid copy.

JSON: /data/terms/replay-attack.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Replay attack. Hesela. 2026-10-23. https://hesela.dev/terms/replay-attack/