~/netref / Threats & Attacks
##

Threats & Attacks

The attacks you defend against — and the L2/L3 control that stops each one. Everything ladders up to the CIA triad.

Confidentiality
Only the right people can read it
Integrity
Data is not tampered with
Availability
It is there when needed
AttackWhat it doesMitigation
DoS / DDoSFlood a target to exhaust itRate limit, scrubbing
MITM / on-pathIntercept traffic in transitEncryption, VPN, HTTPS
ARP spoofingForge ARP to redirect trafficDynamic ARP Inspection
MAC floodingOverflow CAM to force floodingPort security
DHCP rogue / starvationFake server or drain leasesDHCP snooping
DNS poisoningInject false DNS recordsDNSSEC, trusted resolvers
VLAN hoppingReach other VLANs (double-tag)Disable DTP, change native VLAN
Phishing / social eng.Trick users for credentialsTraining, MFA
// layer-2 attacks & switch defenses
AttackVectorMitigation
MAC floodingFills the CAM table → switch floods all framesPort security (limit MACs)
ARP spoofingForged ARP replies → on-path MITMDynamic ARP Inspection (DAI)
DHCP starvation / rogueDrains the pool or serves rogue leasesDHCP snooping (trusted ports)
VLAN hoppingDouble-tagging or DTP to reach other VLANsDisable DTP; no native VLAN on access
STP manipulationForge BPDUs to become root bridgeBPDU Guard + Root Guard
MAC spoofingImpersonate a trusted MAC addressPort security + 802.1X
// threat categories
DoS / DDoSSYN floods, NTP / DNS amplification
MITM / on-pathARP / DNS spoofing, SSL strip
ReconnaissancePort scanning, sniffing, footprinting
SpoofingForged IP / MAC / ARP / email
Social engineeringPhishing, pretexting, tailgating
MalwareVirus, worm, trojan, ransomware

// defense in depth

  • Defense in depth — layer controls, never rely on one
  • Least privilege + segmentation shrink the blast radius
  • Patch, baseline and monitor continuously
  • Encrypt in transit and at rest
  • Assume breach — log, detect, and keep an IR plan