GPEN · Question #294
Alice wants to prove her identity to Bob. Bob requests her password as proof of identity, which Alice dutifully provides (possibly after some transformation like a hash function); meanwhile, Eve is…
The correct answer is D. Replay. Eve intercepts Alice's valid password in transit and later retransmits it to Bob unchanged, which is the definition of a replay attack.
Question
Alice wants to prove her identity to Bob. Bob requests her password as proof of identity, which Alice dutifully provides (possibly after some transformation like a hash function); meanwhile, Eve is eavesdropping the conversation and keeps the password. After the interchange is over, Eve connects to Bob posing as Alice; when asked for a proof of identity, Eve sends Alice's password read from the last session, which Bob accepts. Which of the following attacks is being used by Eve?
Options
- ASession fixation
- BCross site scripting
- CFirewalking
- DReplay
How the community answered
(26 responses)- A4% (1)
- B15% (4)
- C8% (2)
- D73% (19)
Why each option
Eve intercepts Alice's valid password in transit and later retransmits it to Bob unchanged, which is the definition of a replay attack.
Session fixation involves an attacker forcing a victim to use a known, attacker-controlled session ID before authentication occurs, not capturing and replaying credentials after a legitimate session has already completed.
Cross-site scripting (XSS) involves injecting malicious client-side scripts into web pages that execute in a victim's browser, which is unrelated to intercepting and replaying authentication credentials over a network.
Firewalking is a network reconnaissance technique that enumerates firewall rules and permitted ports by crafting packets with specific TTL values, not a method of intercepting or replaying authentication data.
A replay attack occurs when an adversary captures a valid authentication credential or session token and retransmits it at a later time to impersonate the legitimate user. Eve eavesdrops on Alice's password, waits until the original session ends, then replays that exact credential to Bob - who accepts it because it is technically valid, even though Alice is not the one presenting it. The standard defense against replay attacks is to use challenge-response mechanisms, timestamps, or nonces that make previously captured credentials invalid upon reuse.
Concept tested: Replay attack - credential interception and retransmission
Source: https://csrc.nist.gov/glossary/term/replay_attack
Topics
Community Discussion
No community discussion yet for this question.