Osegi
Security·1 min read

TCP port 0: someone ran an IRC network on it, then scanned IPv4

Port 0 isn't supposed to be used, so nobody looks there. An author set up an IRC network on it for fun, then scanned all of IPv4 to see who else was home.

A network cable plugged into a server port labelled zero, with glowing data points scattered around it.
Image: Хабр

Port 0 is the one port you are not supposed to use. Naturally, someone put an IRC network on it, just for laughs.

That is the starting point of a write-up that first appeared in Russian and has now been translated. The author and a friend got an IRC chat network running on port 0. Then came the obvious thought: surely other people have tried this too?

So the author scanned the whole IPv4 address space, looking for anything that answers on that port.

What is port 0 and why does nobody use it?

Ports are the numbered doors a computer uses to tell network services apart. Web servers usually sit behind 80 or 443, for example. Port 0 is different: by convention it isn't meant to carry traffic, so most people, and most tools, simply skip it.

What did the scan find?

According to the author, port 0 is far from empty. Life there is, in the author's words, in full swing. Some of the hosts answering on it are, as the author puts it, clearly in the wrong place.

The source gives no further detail that we can verify here, so we won't guess at numbers or at what exactly was found running there.

The takeaway for anyone who runs a network is practical. A port that nobody is supposed to use is also a port that nobody watches, and that makes it a handy hiding spot. If your firewall rules or monitoring ignore port 0, it may be worth checking what happens there.

Apps worth a look

SUMO: the number puzzle

Tap the right tiles, add them up, hit the target. Easy to learn, hard to master. Free, for all ages.

Tags:port 0ircipv4network scantcp

More from this day

See all →

More in: Security

See all →