Threats, Vulnerabilities, and Attacks

Logs show the same authentication payload, byte for byte, accepted from two different IPs an hour apart, with no failed logins before either. Which change best stops this?

Show the answer

Correct answerB. Add a per-session nonce and short expiry to each authentication exchange

AWhy not this: A stronger hash still produces a fixed value the attacker can capture and resubmit unchanged.

BWhy this is right: A unique, expiring value per exchange means a captured payload is rejected when resent.

CWhy not this: Lockout counts failures; the replayed message succeeds, so no failures ever trigger it.

DWhy not this: Uniform errors hinder username discovery but do nothing to stop reuse of a captured valid message.

An identical payload accepted twice with no failures means a captured message is being replayed. A server-issued nonce and short validity make each exchange unique and single-use, so a copy is rejected. A stronger hash still yields a static value that can be resent.