Hello!!
This video will attack CDP & DHCP protocols
to save time, Router/Switch are booted and empty configs
Physical Equipment:
Cisco Router 1841
Cisco Switch 2960
Win 10 PC
Kali VM
check device manager for COM Port Assignments
Com15 Switch; Com18 Router
2 serial connections 1 for Router 1 for Switch
turn on phyical equipment
________________________________________________________
hostname Switch0
interface Vlan1
ip address dhcp
no shutdown
ip default-gateway 172.16.0.1
logging 172.16.0.254
snmp-server community cyber RW
enable password cyber
username ssh1-user password cyber
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
ip domain-name cisco.com
line vty 0 4
transport input ssh
crypto key generate rsa
________________________________________________________
hostname Atlanta
ip dhcp excluded-address 172.16.0.1 172.16.0.5
ip dhcp pool LAN_DHCP
network 172.16.0.0 255.255.254.0
default-router 172.16.0.1
dns-server 172.16.0.254
interface f0/0
ip address 172.16.0.1 255.255.254.0
no shutdown
snmp-server community cyber RW
logging 172.16.0.254
________________________________________________________
sudo apt update
sudo apt upgrade
sudo apt install yersinia
i already installed and update
sudo yersinia -G [-G GUI]
launch attach flooding CDP Table
stop attack
launch attach flooding sending DISCOVER packet
_____________________________________________
Switch/Router
show cdp neighbors
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
tlv CDP optional TLVs
traffic CDP statistics
_____________________________________________
Router
sh ip dhcp ?
binding DHCP address bindings
conflict DHCP address conflicts
pool DHCP pools information
relay Miscellaneous DHCP relay information