
Network Protocol Attacks
Notes on attacking network protocols during penetration tests, covering SMB, FTP, SSH, RDP, DNS, SMTP, SQL databases and WebDAV.
Dec 9, 2025
Updated Nov 22, 2026
1 min read
Overview
Most internal tests start with whatever services answer on the wire. These notes cover how to enumerate the common ones, what usually goes wrong with them, and how to turn a weak service into access or a pivot.
Protocol categories
File transfer and sharing
- SMB/CIFS attacks: Windows file sharing
- FTP attacks: anonymous access, bounce scans and cleartext credentials
- WebDAV attacks: HTTP-based file management
Remote access
- SSH attacks: Secure Shell, including tunnelling and pivoting
- RDP attacks: Remote Desktop Protocol
Infrastructure services
- DNS attacks: Domain Name System
- SMTP attacks: mail server recon and abuse
Database services
- SQL attacks: MSSQL, MySQL and other database protocols
Methodology
- Find open ports and services with Nmap.
- Pin down software versions so you can match them to known vulnerabilities.
- Try weak and default credentials, and look for misconfigurations.
- Exploit what you found.
- Use the compromised service to move laterally.
Related notes
- Nmap cheatsheet: everyday scanning commands
- Nmap advanced guide: NSE scripts and evasion
- Impacket toolkit: Python protocol tools
SSL Pinning Bypass
Techniques for getting your proxy in the middle of pinned HTTPS traffic on Android and iOS, from Objection one-liners through custom Frida hooks for the cases that fight back.
DNS attacks: zone transfers, cache poisoning, takeovers and tunneling
DNS attack notes covering zone transfers, cache poisoning, subdomain takeovers, tunneling and amplification, with detection for each.