Replay attack
A replay attack reuses previously valid data to induce acceptance in an unauthorized context.
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
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
- RFC 4949: Internet Security Glossary, Version 2 (2007), replay attack; informational glossary, not an Internet Standard
- Broz, Patocka and Matyas: Practical cryptographic data integrity protection with full disk encryption (extended version), 2018, section 2.4
- RFC 4303: IP Encapsulating Security Payload (ESP), sequence numbers and anti-replay window
Further reading
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.