Cryptography
An attacker records an encrypted authentication exchange and resends it later, gaining access without breaking the encryption. Which control BEST prevents this?
Show the answer
Correct answerA. Including a nonce in each exchange
AWhy this is right: A unique nonce makes each exchange fresh, so a replayed recording fails validation.
BWhy not this: The attack never breaks the cipher, so a longer key does not stop resending recorded data.
CWhy not this: A replayed message keeps its valid HMAC, so integrity alone does not prove freshness.
DWhy not this: Salting protects stored hashes against precomputed tables, not captured network traffic.
This is a replay attack; a fresh nonce or timestamp makes each exchange unique so a recorded copy is rejected. An HMAC alone is tempting, but a replayed message still carries a valid HMAC.