Correct answer: A
Configure an external domain using a typosquatting technique. Configure Evilginx to bypass two-factor authentication using a phishlet that simulates the mail portal for the company.
Explanation
Explanation:
This scenario describes a targeted phishing attack (spear phishing) against executives with two-factor authentication (2FA) enabled. Standard credential harvesting, where you simply steal a username and password, would fail at the 2FA prompt. To succeed, the tester needs a technique that can intercept both the credentials and the 2FA token in real-time.
Typosquatting Domain:
Using a domain that looks similar to the company's legitimate domain (e.g., c0mpany.com instead of company.com) is a classic social engineering tactic to increase the likelihood that a victim will click the link and not notice the deception in the URL.
Evilginx:
Evilginx is a modern phishing tool specifically designed as a man-in-the-middle (MITM) attack framework. It sits between the victim and the legitimate service (like the company's mail portal).
The victim clicks a link to the typosquatted domain, which points to the tester's Evilginx server.
Evilginx proxies all traffic to the real mail portal. The victim sees a perfect replica because it is the real site, just passed through the attacker's proxy.
The victim enters their username and password. Evilginx captures them and forwards them to the real site.
The real site responds with a 2FA challenge. Evilginx proxies this challenge to the victim.
The victim enters the 2FA code (e.g., from an authenticator app). Evilginx captures this token.
At this moment, Evilginx has a valid, authenticated session cookie. It steals this cookie and uses it to impersonate the victim, effectively bypassing the need for the password and 2FA code in the future.
A "phishlet" in Evilginx is a configuration file that tells the tool how to properly mimic a specific website (like Office 365 or Gmail), making it the correct tool for this specific job.
Analysis of Incorrect Options
B. Configure Gophish to use an external domain.
Clone the email portal web page from the company and get the two-factor authentication code using a brute-force attack method.
Why it's wrong: Gophish is excellent for credential harvesting but cannot inherently bypass 2FA. It presents a cloned (static) login page. Once the victim submits credentials, the attack is over. The tester would have the username and password but no 2FA code. Brute-forcing a time-based or app-generated 2FA code is computationally infeasible due to the short time window and large number of possibilities.
C. Configure an external domain using a typosquatting technique.
Configure SET to bypass two-factor authentication using a phishlet that simulates the mail portal for the company.
Why it's wrong:The Social-Engineer Toolkit (SET) is a powerful tool, but its primary function for web attacks is credential harvesting via cloned sites, similar to Gophish. While it can be integrated with other tools, SET itself does not natively use the concept of "phishlets" or perform real-time MITM attacks to steal session cookies. "Phishlet" is a term specific to Evilginx. SET is not the best tool for this specific 2FA-bypass objective.
D. Configure Gophish to use an external domain.
Clone the email portal web page from the company and get the two-factor authentication code using a vishing method.
Why it's wrong:This is a disjointed and highly unreliable attack chain. Gophish would harvest the credentials, but then the attacker would need to perform a separate, real-time vishing (phone call) attack to trick the user into reading their 2FA code aloud. This is a different attack vector altogether, requires immediate interaction, and is much more likely to raise suspicion and fail compared to a seamless, automated MITM attack like Evilginx.
Reference:
This question falls under CompTIA PenTest+ (PT0-003) Domain 3.0: Attacks and Exploits, specifically:
3.1 Given a scenario, research attack vectors and perform appropriate attacks.
3.4 Explain social engineering attack techniques.