Security courses teach you the OSI model to pass a cert. This course teaches it so you know where attacks live. Every layer has its own protocols, its own weaknesses, its own tools.
💡 Layman's Terms
The OSI model is like the postal system. L1 is the truck (physical). L2 is the mail carrier sorting by address (data link). L3 is the GPS routing between cities (network). L4 is the delivery confirmation (transport). L7 is the letter itself — the actual message you read.
| Layer | Name | Protocol examples | Your attack surface |
|---|---|---|---|
| L7 | Application | HTTP, DNS, SMTP, FTP | Injection, C2 over HTTP, DNS exfil, credential stuffing |
| L6 | Presentation | TLS/SSL, encoding | SSL stripping, cert spoofing, encoding bypass |
| L5 | Session | NetBIOS, RPC, SMB | Session hijack, SMB relay, pass-the-hash |
| L4 | Transport | TCP, UDP | SYN flood, port scan, service fingerprint |
| L3 | Network | IP, ICMP, routing | IP spoof, ICMP tunnel, route poisoning |
| L2 | Data Link | Ethernet, ARP, MAC | ARP spoof, MAC flood, VLAN hop |
| L1 | Physical | Cable, RF, WiFi | Evil twin AP, packet capture, RF jamming |
🎯 Why You Care About Each Layer
L7 (Application): This is where users live. HTTP is where you phish. DNS is where you exfiltrate. SMTP is where you spear-phish. Cross-link: See Module 17: Social Engineering for how L7 protocols enable human-targeted attacks.
L4 (Transport): TCP handshake is the foundation of every connection. SYN floods break it. Port scans probe it. Sequence numbers predict it.
L3 (Network): IP addresses are identities. Routing is the path. If you control the route, you control the traffic. ICMP tunnels hide data in ping packets.
L2 (Data Link): ARP is the local network's phone book. Spoof it, and you become the man-in-the-middle without ever touching the internet.