nerdexam
EC-Council

312-50V12 · Question #125

Robin, a professional hacker, targeted an organization's network to sniff all the traffic. During this process, Robin plugged in a rogue switch to an unused port in the LAN with a priority lower than

The correct answer is B. STP attack. In a Spanning Tree Protocol (STP) attack, attackers connect a rogue switch into the network to change the operation of the STP protocol and sniff all the network traffic. STP is used in LAN- switched networks with the primary function of removing potential loops within the networ

Submitted by thandi_sa· Mar 4, 2026Network and Perimeter Hacking

Question

Robin, a professional hacker, targeted an organization's network to sniff all the traffic. During this process, Robin plugged in a rogue switch to an unused port in the LAN with a priority lower than any other switch in the network so that he could make it a root bridge that will later allow him to sniff all the traffic in the network. What is the attack performed by Robin in the above scenario?

Options

  • AARP spoofing attack
  • BSTP attack
  • CDNS poisoning attack
  • DVLAN hopping attack

How the community answered

(58 responses)
  • A
    3% (2)
  • B
    90% (52)
  • C
    5% (3)
  • D
    2% (1)

Explanation

In a Spanning Tree Protocol (STP) attack, attackers connect a rogue switch into the network to change the operation of the STP protocol and sniff all the network traffic. STP is used in LAN- switched networks with the primary function of removing potential loops within the network. STP ensures that the traffic inside the network follows an optimized path to enhance network performance. In this process, a switch inside the network is appointed as the root bridge. After the selection of the root bridge, other switches in the network connect to it by selecting a root port (the closest port to the root bridge). The root bridge is selected with the help of Bridge Protocol Data Units (BPDUs). BPDUs each have an identification number known as a BID or ID. These BIDs consist of the Bridge Priority and the MAC address. By default, the value of the Bridge Priority is 32769. If an attacker has access to two switches, he/she introduces a rogue switch in the network with a priority lower than any other switch in the network. This makes the rogue switch the root bridge, thus allowing the attacker to sniff all the traffic flowing in the network.

Topics

#STP attack#Spanning Tree Protocol#rogue switch#network sniffing

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice