nerdexam
EC-Council

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.

Sniffing

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)
  • A
    8% (3)
  • B
    71% (27)
  • C
    18% (7)
  • D
    3% (1)

Why each option

Ettercap is the tool used for active MITM attacks that can intercept and inject content into live HTTP sessions.

AWireshark

Wireshark is a passive read-only packet analyzer and cannot intercept, modify, or inject data into live network traffic.

BEttercapCorrect

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.

CAircrack-ng

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.

DTcpdump

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

#MITM attack#rogue access point#Ettercap#HTML injection

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice