Port 21
FTP (File Transfer Protocol)
Protocol: TCP | Usage: File upload/download.
Security Risk: Transmits credentials and data in cleartext. Replace with SFTP (Port 22) or FTPS (Port 990).
Port 22
SSH / SFTP
Protocol: TCP | Usage: Encrypted remote CLI administration.
Security Risk: Heavily targeted for brute-force attacks. Require SSH key authentication and disable root login.
Port 23
Telnet
Protocol: TCP | Usage: Unencrypted legacy remote CLI.
Security Risk: Transmits credentials in cleartext. High risk; disable globally in enterprise networks.
Port 25 / 587
SMTP / Secure SMTP
Protocol: TCP | Usage: Email transport routing.
Security Risk: Port 25 used for unencrypted mail flow; Port 587 uses TLS submission. Enforce SPF/DKIM/DMARC.
Port 53
DNS (Domain Name System)
Protocol: UDP/TCP | Usage: Hostname resolution.
Security Risk: Abused for DNS Tunneling C2 channels, DNS Poisoning, and Reflection DDoS attacks.
Port 80 / 443
HTTP / HTTPS
Protocol: TCP | Usage: Web browsing (443 = SSL/TLS Encrypted).
Security Risk: Web application attacks (OWASP Top 10), reverse proxying, and malicious payload egress.
Port 88
Kerberos Authentication
Protocol: TCP/UDP | Usage: Active Directory ticket authentication.
Security Risk: Target for Kerberoasting, AS-REP Roasting, and Golden Ticket persistence attacks.
Port 135
RPC Endpoint Mapper
Protocol: TCP | Usage: Windows Remote Procedure Call.
Security Risk: Used by attackers for internal network discovery and launching remote DCOM/WMI attacks.
Port 137–139
NetBIOS / NBNS
Protocol: UDP/TCP | Usage: Legacy Windows name resolution.
Security Risk: Abused by Responder tools for LLMNR/NBT-NS spoofing and credential hash harvesting. Disable NetBIOS.
Port 389 / 636
LDAP / LDAPS
Protocol: TCP | Usage: Active Directory queries (636 = TLS Encrypted).
Security Risk: Plain 389 transmits AD queries in cleartext. Enforce LDAPS channel binding on 636.
Port 445
SMB (Server Message Block)
Protocol: TCP | Usage: Windows file sharing & IPC.
Security Risk: Primary vector for worm/ransomware lateral movement (EternalBlue / WannaCry). Block at perimeter.
Port 1433 / 3306
MS SQL / MySQL Database
Protocol: TCP | Usage: Relational database access.
Security Risk: Target for direct database brute-force and SQL injection exfiltration. Restrict to local subnets.
Port 3389
RDP (Remote Desktop)
Protocol: TCP/UDP | Usage: Windows graphical remote management.
Security Risk: Never expose directly to the Internet. Enforce NLA, MFA, and VPN access gating.