IP spoofing¶
1. Context & stakes¶
Forge the source IP; foundation of many L3/L4 attacks.
Nothing in IP forces the source address to be truthful, so a host can forge it freely. Spoofing is the foundation of reflection and amplification DDoS, blind session attacks and audit evasion, and it works wherever ingress filtering is absent. BCP 38 source-address validation at the network edge is the decades-old fix that remains unevenly deployed.
2. Theory¶
IP has no source-address authentication: a host may write any address in the source field. Spoofing underpins reflection/amplification, blind attacks and source-ACL evasion. It is contained at the edge by BCP38 ingress filtering / uRPF, which drops packets whose source could not legitimately arrive on that interface.
3. Attack (PoC)¶
- Forge the source IP
- Blind spoofing / reflection
4. Detection¶
Indicators to watch, and the associated IDS rule (see
netlab-ids).
5. Defense¶
- BCP38 ingress/egress filtering
- Strict uRPF
6. Exercise¶
Reproduce in the isolated lab (netns/veth): see lab setup.