TCP / UDP Port Security Reference Matrix
Searchable directory of standard and vulnerable ports with associated protocols, attack vectors, and firewall rules.
| Port | Protocol | Service / Description | Threat Profile & Known Attacks | Hardening |
|---|
Defensive Network Port Hardening
Automated vulnerability scanners (like Shodan, Censys, and Masscan) map the entire IPv4 address space continuously. Unfiltered ports exposing administrative services like SMB (445), RDP (3389), or Elasticsearch (9200) are routinely weaponized for ransomware and data exfiltration.
Adhere to the principle of least privilege: close all unused ports with an ingress default-deny firewall rule, place management interfaces behind a VPN, and mandate MFA on all remote access ports.
Frequently Asked Questions
What is the difference between TCP and UDP?
TCP is connection-oriented and guarantees packet delivery through a 3-way handshake. UDP is connectionless and faster, but vulnerable to amplification DDoS reflection attacks (e.g. NTP 123, DNS 53, Memcached 11211).