News for hackers. Stuff that matters.

Challenge HN: There's only one truly open port on this machine. Can you find it?

Came up with some fun iptables rules for securing my servers and I'd like to test out how effective they are, so here's a challenge for you all!

There's a VPS on 152.70.178.90 with a quite unique firewall configuration. Open to the internet are two services: an HTTP server on :80 for verifying my ownership of the machine, and... something else, somewhere. Your task is to find and connect to the second service – bonus points if you successfully authenticate. (yeah, I know I said only one port but c'mon, the HTTP server doesn't count)

There's no port knocking, fail2ban, or anything like that. The port is always open for everyone to see. The VPS is also on a gigabit connection, so go wild! Just don't purposefully DDoS it please, for the sake of everyone else.

Also, you're more than welcome to crosspost this on reddit, lemmy, or wherever else! I'll likely release the iptables config once someone gets in and documents how.

( 13 comments | 3 points | on HN )
Re:Challenge HN: There's only one truly open port on this ma... by Theurgius on Tuesday December 26, 2023 @03:52PM (#38775942)
Running a quick nmap shows all ports as open, yet i tried to connect to some manually to no avail. Is there a better way to to automatically test all of them?
Re:Challenge HN: There's only one truly open port on this ma... by stop50 on Tuesday December 26, 2023 @04:02PM (#38776037)
I would look at the nmap doc, there are tests that connect to the port.
Re:Challenge HN: There's only one truly open port on this ma... by edm0nd on Tuesday December 26, 2023 @05:48PM (#38776933)
likely part of the challenge. has some kind of ids/ips that reports all ports as open.
Re:Challenge HN: There's only one truly open port on this ma... by ksaj on Tuesday December 26, 2023 @07:37PM (#38777682)
That's the point of this post. Look at the packet headers for each return packet. Look for a difference in TTL, for example.
Re:Challenge HN: There's only one truly open port on this ma... by ActorNightly on Thursday December 28, 2023 @03:44AM (#38791383)
Be real careful about running nmap on public ips. ISPs can ban for that.
Re:Challenge HN: There's only one truly open port on this ma... by codingdave on Wednesday December 27, 2023 @07:08AM (#38781206)
Brand new account posts a challenge to HN, which isn't really a thing we do here, asking for people to document how to pen test a server.

Another brand new account jumps in to participate, but again is asking for help on how to pen test.

Looks legit.

Re:Challenge HN: There's only one truly open port on this ma... by u53314109 on Wednesday December 27, 2023 @07:28AM (#38781343)
I know it's not really a thing, but I do know that there are quite a few capable people that frequent the site and all of this is advanced enough that posting it to somewhere like r/hacking seemed pointless. What I came up with seemed really interesting to me, so I thought it could be interesting to someone else here, idk. I also didn't want to just reveal exactly what I did to not spoil the fun.

I also really wasn't looking for help on how to pentest, I think I'm pretty capable as is. The server has such an unusual firewall config though (even outside the 'all ports look open to a basic `nmap -sS`' stuff) that I thought it could be a nice learning experience for folks, or something.

That other account is an irl friend of mine.

Re:Challenge HN: There's only one truly open port on this ma... by KomoD on Wednesday December 27, 2023 @08:57AM (#38781940)
port 80, its open, there i win
Re:Challenge HN: There's only one truly open port on this ma... by sloptit on Wednesday December 27, 2023 @09:23PM (#38789269)
111?
Re:Challenge HN: There's only one truly open port on this ma... by ABCDE314159 on Wednesday December 27, 2023 @10:32PM (#38789696)
21?
Re:Challenge HN: There's only one truly open port on this ma... by sloptit on Thursday December 28, 2023 @11:53AM (#38795410)
I guess we dont get to know?
Re:Challenge HN: There's only one truly open port on this ma... by u53314109 on Friday December 29, 2023 @10:21AM (#38805860)
It's neither, you'll know once you find it.
Re:Challenge HN: There's only one truly open port on this ma... by u53314109 on Monday January 01, 2024 @02:21PM (#38834524)
Bringing the server down now, since nobody seems to actually care & I don't want to just waste server resources.