Cybersecurity — Level 2: Network & System Security
Get Started Free
Free preview
The OSI and TCP/IP models
Lecture notes
Networks are described in layers. Each layer provides a service to the layer above, which makes troubleshooting and security analysis systematic.
The OSI model
- Physical — cables, radio, signals.
- Data link — frames between neighbours, MAC addresses, switches, Wi-Fi.
- Network — IP addresses and routing between networks (routers).
- Transport — TCP (reliable) and UDP (fast) with port numbers.
- Session — opening and closing conversations.
- Presentation — encoding, compression, encryption (TLS is often placed here).
- Application — protocols used by programs: HTTP, DNS, SMTP.
Mnemonic (1→7): "Please Do Not Throw Sausage Pizza Away".
The TCP/IP model
The internet actually uses four layers: Link, Internet (IP), Transport (TCP/UDP) and Application.
Encapsulation
When you open a web page, the HTTP request is wrapped in a TCP segment, then an IP packet, then an Ethernet or Wi-Fi frame. The receiver unwraps it layer by layer.
Security by layer
- Layer 2: ARP spoofing, rogue Wi-Fi access points.
- Layer 3: IP spoofing, routing attacks.
- Layer 4: port scanning, SYN floods.
- Layer 7: phishing sites, SQL injection, malware downloads.
Want to go further?
18 h · Enroll to access every lesson and earn the certificate.