Vlans & Wired networking

Spanning Tree Protocol (SPT) & Bridge Protocol Data Unit (BPDU):

Yersinia

result:

┌── yersinia 0.7.3 by Slay & tomac - STP mode ─────────────────────[10:29:40]┐
    RootId            BridgeId          Port       Iface Last seen          
    5080.760F0E13AC58 CB09.E7CD90117CAA 8002       eth1  26 Aug 10:29:39    
    5080.760F0E14AC58 CB09.E7CD90127CAA 8002       eth2  26 Aug 10:29:38    

bridge adapters (requires two) into each switch:

# bridge adapters
ettercap -T -i eth1 -B eth2 -q

# Run Yersinia
Yersinia 
I
# Select Spanning Tree Protocol 
g
# select root role :) 
x
4

Dynamic Trunking Protocol (DTP)

result:

Run Yersinia:

Using this, attacking VLAN 250:

HSRP & VRRP

Hot Standby Routing Protocol (HSRP)

Result:

To include an authentication string within the HSRP packets, use hsrp:

Virtual Routing Resolution Protocol (VRRP)

You can then use Scapy to craft VRRP packets:

Routing Information Protocol (RIP)

3 version -

RIPv1

RIPv2

RIPng (IPv6)

Enhance Interior Gateway Routing Protocol (EIGTRP)

TBC

Open Shortest Path First (OSPF)

TBC

Internet Control Message Protocol (ICMP) redirect spoofing

Last updated