U²T — A tool for auditing and testing the security of data link layer (L2) networks. It emulates attacks on Cisco switches, VLANs, STP, VTP, ARP, DHCP, and other L2 protocols. Developed as part of a study program.
Warning: Use only on your own or expressly authorized networks. Unauthorized use is subject to prosecution.
-
STP (Spanning Tree Protocol)
– Taking over the Root Bridge role – BPDU flood (DoS) -
CDP / HSRP
– CDP packet flooding – Becoming the active HSRP device – MITM via HSRP -
DTP (Dynamic Trunking Protocol)
– Forced transfer of a port to trunk -
VTP (VLAN Trunking Protocol)
– Deleting all VLANs – Adding your own VLAN – DoS flooding with VTP packets -
DHCP
– Rogue DHCP server – Address pool depletion (DHCP starvation) – Man-in-the-middle (MITM) attack via DHCP ACK -
802.1Q (VLAN Hopping)
– Double tagging (breakthrough between VLANs) – ARP poisoning in the specified VLAN – Switch spoofing -
ARP
– Full-fledged ARP spoofing (MITM) with automatic restoration of ARP tables after an attack -
Сканирование сети
– ARP scanning with filtering by vendor (Cisco, VMware, Intel, HP)
git clone https://github.com/hkdsonne/u2t.git
cd u2tsudo apt install python3-scapychmod +x u2tsudo cp u2t /usr/local/bin/