Kryvex

Level 1 · User · Lesson 3 of 3

Ports every analyst knows.

You'll see these numbers in every firewall rule, log and packet capture. Learn them once and alerts start reading like sentences.

22 SSH

Encrypted remote login to servers. A constant target for password-guessing bots.

53 DNS

Name lookups. Unusual DNS traffic can be a sign of malware sneaking data out.

80 HTTP

Websites without encryption. Anything sent over it can be read on the way.

443 HTTPS

Websites with encryption (TLS). Most web traffic today.

25 SMTP

Sending email between mail servers.

3389 RDP

Windows Remote Desktop. Leaving it open to the internet is a common way ransomware gets in.

21 FTP

Old file transfer that sends passwords unencrypted. If you see it, ask why it's still running.

The analyst's question

For every open port, ask: does this need to be reachable from the internet? Closing what isn't needed is called reducing the attack surface, and it's one of the cheapest defences there is.

Check yourself

1. A log shows lots of traffic to port 443. What is it most likely to be?

2. One IP fails to log in 4,000 times on port 22 in an hour. What's happening?

3. Which open port would worry you most on a small company's internet-facing server?

Level 1 complete. Levels 2 and 3 are where you start doing the job.