A security analyst is reviewing logs after a successful phishing attack. The attacker used a fake login page that mimicked the company's single sign-on portal to harvest usernames and passwords. The attacker then used the stolen credentials to access the corporate email system. Which type of attack best describes the initial compromise?
Trap 1: On-path attack
Incorrect. An on-path (formerly man-in-the-middle) attack involves the attacker intercepting and possibly altering communications between two parties. In this scenario, the attacker hosted a fake login page that the victims visited directly; there is no indication of intercepted traffic between the user and the legitimate service.
Trap 2: Brute-force attack
A brute-force attack is an automated, systematic trial-and-error method where an attacker submits many password combinations (often using tools like Hydra or John the Ripper) against an authentication endpoint until one succeeds. In this scenario, the attacker did not guess credentials but instead used a deceptive phishing page to trick users into voluntarily submitting their passwords. The defining element is social engineering, not computational guessing, so classifying this as brute-force would misidentify the attack vector and undermine the correct mitigation strategy.
Trap 3: Password spraying
Incorrect. Password spraying attempts a small number of commonly used passwords against a large number of accounts. The scenario involves a targeted attack that harvested credentials from multiple users via a fake login page, not a low-and-slow password guessing technique.
- A
On-path attack
Why it fails: Incorrect. An on-path (formerly man-in-the-middle) attack involves the attacker intercepting and possibly altering communications between two parties. In this scenario, the attacker hosted a fake login page that the victims visited directly; there is no indication of intercepted traffic between the user and the legitimate service.
- B
Credential harvesting via phishing
Correct. The attacker used a deceptive email or website to trick users into voluntarily entering their credentials. This is the defining characteristic of phishing-based credential harvesting. The stolen credentials were then reused to access the corporate email system.
- C
Brute-force attack
Why it fails: A brute-force attack is an automated, systematic trial-and-error method where an attacker submits many password combinations (often using tools like Hydra or John the Ripper) against an authentication endpoint until one succeeds. In this scenario, the attacker did not guess credentials but instead used a deceptive phishing page to trick users into voluntarily submitting their passwords. The defining element is social engineering, not computational guessing, so classifying this as brute-force would misidentify the attack vector and undermine the correct mitigation strategy.
- D
Password spraying
Why it fails: Incorrect. Password spraying attempts a small number of commonly used passwords against a large number of accounts. The scenario involves a targeted attack that harvested credentials from multiple users via a fake login page, not a low-and-slow password guessing technique.