Security+ expects you to recognise the common ports and, more importantly, to know which protocols send data in cleartext and what replaces them. Search the table below, filter to the cleartext protocols, or test yourself with the quiz underneath it.
The cheat sheet
41 of 41 ports
| Port | Protocol | What it does | Secure alternative |
|---|---|---|---|
| 20, 21TCP | FTPcleartextFile Transfer Protocol | File transfer: 21 carries commands, 20 carries data in active mode. | SFTP (22) or FTPS (989/990) |
| 22TCP | SSH / SFTP / SCPSecure Shell | Encrypted remote administration, and file transfer over SSH. | — |
| 23TCP | TelnetcleartextTelnet | Cleartext remote terminal. Credentials travel unencrypted. | SSH (22) |
| 25TCP | SMTPcleartextSimple Mail Transfer Protocol | Server-to-server mail relay. | SMTPS (465) or submission with STARTTLS (587) |
| 49TCP | TACACS+Terminal Access Controller Access-Control System Plus | AAA for network device administration; encrypts the whole payload. | — |
| 53TCP/UDP | DNScleartextDomain Name System | Name resolution (UDP); zone transfers and large replies (TCP). | DNSSEC for integrity; DoT (853) or DoH (443) for privacy |
| 67, 68UDP | DHCPDynamic Host Configuration Protocol | Automatic IP addressing: 67 server, 68 client. | — |
| 69UDP | TFTPcleartextTrivial File Transfer Protocol | Simple file transfer with no authentication, often for device configs and PXE boot. | — |
| 80TCP | HTTPcleartextHypertext Transfer Protocol | Unencrypted web traffic. | HTTPS (443) |
| 88TCP/UDP | KerberosKerberos | Ticket-based authentication, as used by Active Directory. | — |
| 110TCP | POP3cleartextPost Office Protocol v3 | Downloads mail from a server to a client. | POP3S (995) |
| 123UDP | NTPNetwork Time Protocol | Clock synchronisation, which log correlation and Kerberos depend on. | — |
| 135TCP | MS RPCMicrosoft Remote Procedure Call | Windows RPC endpoint mapper. | — |
| 137–139TCP/UDP | NetBIOScleartextNetBIOS name, datagram and session services | Legacy Windows naming and file sharing. | — |
| 143TCP | IMAPcleartextInternet Message Access Protocol | Mail access that keeps messages on the server. | IMAPS (993) |
| 161, 162UDP | SNMPcleartextSimple Network Management Protocol | Device monitoring: 161 for queries, 162 for traps. v1 and v2c use cleartext community strings. | SNMPv3 (same ports, with authentication and encryption) |
| 389TCP/UDP | LDAPcleartextLightweight Directory Access Protocol | Directory queries, for example against Active Directory. | LDAPS (636) |
| 443TCP | HTTPSHTTP over TLS | Encrypted web traffic; also carries many VPNs and DNS over HTTPS. | — |
| 445TCP | SMBServer Message Block | Windows file and printer sharing. A frequent worm and ransomware target. | — |
| 465TCP | SMTPSSMTP over implicit TLS | Encrypted mail submission. | — |
| 500UDP | IKE / ISAKMPInternet Key Exchange | Negotiates IPsec VPN security associations. | — |
| 514UDP | SyslogcleartextSyslog | Sends log events to a collector or SIEM, unencrypted. | Syslog over TLS (6514) |
| 587TCP | SMTP submissionMail submission | Client mail submission, upgraded to TLS with STARTTLS. | — |
| 636TCP | LDAPSLDAP over TLS | Encrypted directory queries. | — |
| 853TCP | DoTDNS over TLS | Encrypted DNS queries. | — |
| 989, 990TCP | FTPSFTP over TLS | FTP with TLS encryption: 990 control, 989 data. | — |
| 993TCP | IMAPSIMAP over TLS | Encrypted mailbox access. | — |
| 995TCP | POP3SPOP3 over TLS | Encrypted mail download. | — |
| 1433TCP | MS SQLMicrosoft SQL Server | Database connections. Should never face the internet. | — |
| 1521TCP | OracleOracle database listener | Database connections. | — |
| 1701UDP | L2TPLayer 2 Tunneling Protocol | VPN tunnelling; paired with IPsec for encryption. | — |
| 1723TCP | PPTPcleartextPoint-to-Point Tunneling Protocol | Legacy VPN with broken encryption. | IPsec or TLS-based VPN |
| 1812, 1813UDP | RADIUSRemote Authentication Dial-In User Service | AAA for network access and 802.1X: 1812 authentication, 1813 accounting. | — |
| 3268, 3269TCP | Global CatalogActive Directory Global Catalog | Forest-wide directory searches; 3269 over TLS. | — |
| 3306TCP | MySQLMySQL / MariaDB | Database connections. | — |
| 3389TCP/UDP | RDPRemote Desktop Protocol | Windows remote desktop. A top target for brute force when exposed. | — |
| 4500UDP | IPsec NAT-TIPsec NAT traversal | Carries IPsec through NAT devices. | — |
| 5060, 5061TCP/UDP | SIPSession Initiation Protocol | VoIP call set-up: 5060 cleartext, 5061 over TLS. | — |
| 5985, 5986TCP | WinRMWindows Remote Management | PowerShell remoting: 5985 HTTP, 5986 HTTPS. | — |
| 6514TCP | Syslog over TLSSecure syslog | Encrypted log forwarding. | — |
| 8080TCP | HTTP alternateHTTP alternate | Web proxies and application servers. | — |
Quiz yourself
See a port number, pick the protocol. Runs in your browser; nothing is saved.
Insecure protocol, secure replacement
Many questions come down to one move: swap a cleartext protocol for its encrypted version. These are the pairs to know cold.
| Instead of | Use | Why |
|---|---|---|
| Telnet (23) | SSH (22) | Telnet sends credentials and commands in cleartext. |
| HTTP (80) | HTTPS (443) | TLS encrypts the session and authenticates the server. |
| FTP (20, 21) | SFTP (22) or FTPS (989, 990) | FTP sends the password in cleartext. |
| LDAP (389) | LDAPS (636) | Directory binds can expose credentials. |
| SNMP v1/v2c (161, 162) | SNMPv3 (161, 162) | v3 adds authentication and encryption; v1 and v2c use cleartext community strings. |
| POP3 (110) / IMAP (143) | POP3S (995) / IMAPS (993) | Mailbox logins and messages are encrypted. |
| Syslog (514) | Syslog over TLS (6514) | Logs can carry sensitive data and need integrity. |
| PPTP (1723) | IPsec (500, 4500) or a TLS VPN (443) | PPTP's encryption is broken. |
| DNS (53) | DNSSEC, DoT (853), DoH (443) | DNSSEC proves answers are genuine; DoT and DoH keep queries private. |
How the exam asks about ports
- Scenario: an auditor finds administrators managing switches over port 23. What should replace it? (SSH.)
- Firewall rules: allow only encrypted web and mail traffic to a DMZ server. Performance-based questions can ask you to complete a rule table with ports, protocols and actions. See what PBQs look like.
- Log analysis: repeated failed connections to 3389 from one external address point to an RDP brute-force attempt.
- Hardening: disable unneeded services, such as SMB (445) facing the internet or TFTP (69) on a server that does not need it.
How to memorise them
- Learn ports in pairs: the cleartext one and its secure replacement. That halves the work and matches how the exam asks.
- Group by job: web (80, 443), mail (25, 110, 143, 465, 587, 993, 995), remote access (22, 23, 3389), directory (88, 389, 636), network services (53, 67/68, 123, 161/162, 514).
- Use the quiz above for five minutes a day rather than one long session. Spaced repetition beats cramming.
- Then use them in context: our free practice test includes a firewall-rules question that needs this table.