πŸŽ†Networks Security

On Cisco Equipments.

Cam OverFlow - Protection

The actual way to prevent a CAM table overflow attack is to instruct each port that there's a limit to how many MAC addresses it can have, and that's done with port security.

On Switches :

S1#configure terminal
S1(config)#int range f0/1 - 24
S1(config-if)#no shut
S1(config-if)#switchport mode access
S1(config-if)#switchport port-security maximum 5
S1(config-if)#switchport port-security
S1(config-if)#do show port-security
exit

If an attack occurs, on the switch do :

show port-security
show inter status err-disabled

DHCP Starvation - Protection

Protection

Limit rate on every interfaces :

Results :

Wireshark

DHCP Transactions

CDP Flooding - Protection

On Switches :

Disable on all ports except the one connected to R1.

Why did Cisco create CDP ?

Cisco Discovery Protocol (CDP) is a Cisco proprietary protocol designed to facilitate the network management of Cisco devices by discovering hardware and protocol information about neighboring devices. By using CDP, Network Engineers can gather information about neighboring network devices, determining the type of hardware or equipment, software version, active interfaces the device is using (whether physical or VLAN), how they are configured, and other useful information. That is quite a bit of information, and this is useful for troubleshooting and documenting the network.

TCP Syn Flood - Protection

TCP Intercept

Steps on the switch

OSPF - Protection

On routers, setting up authentication process :

During the attack :

ARP Spoofing - Protection

On Switches : DHCP snooping & rate limit.

VLAN Hopping - Protection

Verification

During an attack :

Last updated

Was this helpful?