28 Most Commonly Hacked Ports [UDP/TCP]

By Leonard Cucos •  Updated: 09/20/21 •  4 min read

Regardless of being a red or blue security expert, knowing which are the most commonly hacked ports can save you precious time in scanning and securing those ports or identifying potential port vulnerabilities in a system. 

From a networking perspective, there are a total of 65536 TCP ports and the same number of UDP ports in a computer. 

The TCP and UDP ports ranging from 0 to 1023 are used for various common services such as HTTP, DNS, FTP, SMTP, and so on. The ports ranging between 1024 to 49151 consist of registered ports and from 49152 to 65535 the ports are allocated dynamically. The full list of TCP and UDP port assignments can be found HERE.

Out of this rather high amount of TCP and UDP ports available in a system, some ports are exploited by attackers more than others.

For your convenience, here are the most commonly hacked ports, including the service and the communication protocol used for each. Remember that quite a few ports in the list below are known to be frequently used by various malware to compromise a system.

Port NumberProtocol[s]Port Service
19TCP, UDPChargen
20TCPFTP [File Transfer Protocol]
21TCPFTP Control
25TCPSMTP [Simple Mail Transfer Protocol]
37TCP, UDPTime
53UDPDNS [Domain Name System]
69UDPTFTP [Trivial File Transfer Protocol]
79TCP, UDPFinger
80UDPHTTP [Hyptertext Transfer Protocol]
110TCPPOP3 [Post Office Protocol v.3]
111TCP, UDPSUN.RPC [Remote Procedure Calls]
135TCP, UDPRDC/DCE [Endpoint Mapper] – Microsoft networks
137-139, 445TCP, UDPNetBIOS over TCP/IP
161TCP, UDPSNMP [Simple Network Management Protocol]
512-514TCPBarkley r-services and r-commands [e.g., rlogin, rsh, rexec]
1433TCP, UDPMicrosoft SQL Server [ms-sql-s]
1434TCP, UDPMicrosoft SQL Monitor [ms-sql-m]
1723TCPMicrosoft PPTP VPN
3389TCPWindows Terminal Server
8080TCPHTTP proxy
Most Commonly Hacked Ports On A System

Though the number of commonly hacked ports has constantly grown in the past years, it is important to keep in mind that most attackers are looking first in probing ports 22 [SSH] and 80 [HTTP].

For instance, port 22 [SSH] is a common port constantly probed by hackers on the Internet using brute force attacks. It is paramount to set a long and complex password for your SSH otherwise your private key can be hacked quite quickly using a brute force attack tool such as Hydra.  

Port 80 [HTTP] and 443 [HTTPS] are also commonly probed for vulnerabilities. Here a range of exploits can be used to compromise a system such as SQL injection, Shellshock/CGI, or PHP. Often ports 80 and 443 are used to compromise CMS systems such as Joomla, WordPress, Drupal, etc.

It is important to add that hackers cannot simply open ports on your system. Attackers usually use various techniques to compromise a system, such as:

NOTE: these hacking techniques will only work if a system is not protected by a firewall or if the firewall is not configured correctly. 

Various tools can be used to scan the most commonly hacked ports for vulnerabilities. Some of the most notable tools are NMAP, Angry IP Scan, Unicornscan, or Zenmap [NMAP with a GUI].

Checking your servers or websites constantly for vulnerabilities should be routine if you really value your data. 

Kali Linux – a free Debian-based Linux distribution contains a large array of tools used to scan and exploit systems and is frequently used by penetration testers, digital forensics as well as gray and black-hat hackers for malicious purposes.

You can use NMAP to scan any port [TCP/UDP] including the most commonly hacked ports on your machine and see if your system is at risk of being compromised by hackers.  

Leonard Cucos

Leonard Cucos is an engineer with over 20 years of IT/Telco experience managing large UNIX/Linux-based server infrastructures, IP and Optics core networks, Information Security [red/blue], Data Science, and FinTech.