Skip to content

Instantly share code, notes, and snippets.

@sudosuraj
Created April 18, 2025 12:28
Show Gist options
  • Save sudosuraj/58951daa6def94c8f978b534f37c9ced to your computer and use it in GitHub Desktop.
Save sudosuraj/58951daa6def94c8f978b534f37c9ced to your computer and use it in GitHub Desktop.
Here's a single compact table covering all the OSI layers (mapped with TCP/IP), their protocols, services, attacks, and tools - everything you need as a cybersecurity pro.

OSI & TCP/IP Layers – Attacks, Protocols, Services, and Tools (Cybersecurity Cheat Sheet)

OSI Layer TCP/IP Layer Protocols Services Attacks Tools
7 - Application 4 - Application HTTP, HTTPS, DNS, FTP, SMTP, IMAP, SSH, Telnet, SNMP Web, Email, File Transfer, Remote Login XSS, SQLi, Command Injection, SSRF, SMTP Spoofing, Auth Bypass Burp Suite, ZAP, Postman, curl, dig, ffuf, nslookup
6 - Presentation 4 - Application SSL/TLS, JPEG, MPEG, ASCII, EBCDIC Encryption, Encoding, Compression SSL Downgrade, Padding Oracle, Broken Crypto OpenSSL, Wireshark, testssl.sh, CrackStation
5 - Session 4 - Application NetBIOS, RPC, PPTP Session Creation/Handling Session Hijacking, Fixation, Token Theft Burp Suite (Repeater), JWT.io, Bettercap
4 - Transport 3 - Transport TCP, UDP, SCTP End-to-end Transmission SYN Flood, TCP RST Injection, UDP Flood, Port Scanning hping3, nmap, Netcat, Wireshark
3 - Network 2 - Internet IP, ICMP, IGMP, IPSec Routing, Logical Addressing IP Spoofing, ICMP Tunneling, Ping of Death, ARP Poisoning Scapy, ping, traceroute, arpspoof, tcpdump, ettercap
2 - Data Link 1 - Network Access Ethernet, ARP, PPP, Frame Relay MAC Addressing, Framing MAC Flooding, STP Attack, VLAN Hopping macof, Yersinia, ettercap
1 - Physical 1 - Network Access Cables, Hubs, RF, Fiber Bit Transmission Cable Tapping, Hardware Keylogger, RF Jamming USB Rubber Ducky, Flipper Zero, WiFi Pineapple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment