312-50V10 · Question #51
An attacker, using a rogue wireless AP, performed an MITM attack and injected an HTML code to embed a malicious applet in all HTTP connections. When users accessed any page, the applet ran and…
The correct answer is B. Ettercap. Ettercap is the tool used for active MITM attacks that can intercept and inject content into live HTTP sessions.
Question
An attacker, using a rogue wireless AP, performed an MITM attack and injected an HTML code to embed a malicious applet in all HTTP connections. When users accessed any page, the applet ran and exploited many machines. Which one of the following tools the hacker probably used to inject HTML code?
Options
- AWireshark
- BEttercap
- CAircrack-ng
- DTcpdump
How the community answered
(38 responses)- A8% (3)
- B71% (27)
- C18% (7)
- D3% (1)
Why each option
Ettercap is the tool used for active MITM attacks that can intercept and inject content into live HTTP sessions.
Wireshark is a passive read-only packet analyzer and cannot intercept, modify, or inject data into live network traffic.
Ettercap is a full-featured MITM framework that supports real-time traffic interception and content filtering via its plugin and filter system (etterfilter). An attacker can write custom filters to match HTTP responses and inject arbitrary HTML or JavaScript - such as a malicious applet tag - into every page served over unencrypted HTTP connections, making it the standard tool for this attack type.
Aircrack-ng is a wireless auditing suite focused on capturing handshakes and cracking WEP/WPA keys, with no capability to inject HTML into HTTP sessions.
Tcpdump is a command-line packet capture tool used for traffic analysis only and has no functionality to alter or inject content into packets.
Concept tested: MITM HTTP content injection using Ettercap filters
Topics
Community Discussion
No community discussion yet for this question.