All projects

DHCP Starvation & Spoofing

2025 · Python · Scapy · ns-3 · Network Security

Overview

A networks course project simulating DHCP starvation and spoofing attacks inside an isolated virtual lab, then measuring their impact and evaluating defences.

Scope of the work:
  • Simulated DHCP starvation by exhausting the server's address pool in a controlled environment
  • Implemented rogue-server spoofing to study man-in-the-middle exposure
  • Quantified network disruption under each attack scenario
  • Explored countermeasures including DHCP snooping and port security

My role

Developer and analyst.
- Wrote the attack simulations in Python using Scapy for packet crafting.
- Modeled the network topology and traffic behaviour in ns-3.
- Documented disruption metrics and wrote up the mitigation analysis.
DHCP Starvation & Spoofing screenshot