News for hackers. Stuff that matters.
Re:Security by obscurity is underrated by jameshart on Friday September 11, 2020 @11:21PM (#24449543)
Why aren't you concerned that bugs will be found in your port knocking implementation?

I think the main concern with port knocking is that it's observable. You're effectively sending your password in clear, so if someone can intercept or overhear your traffic then your secret is lost. Cryptographic authentication schemes like SSH itself or VPNs do not have this problem.

Re:Security by obscurity is underrated by jeroenhd on Sunday September 13, 2020 @06:11AM (#24459788)
Port knocking is a way to decrease the amount of random 0day/brute force scripts finding their way into your server. It will only stop automated scripts and attackers that don't know who you are. It's obviously no protection against incentivized attackers.

A VPN has upsides and downsides. It obviously protects your server a lot better against directed attacks, but when you lose your laptop or when your computer gets ransomware'd, you can't get access to the server anymore.

Furthermore, code execution vulnerabilities have been found against VPN servers because of their immense complexity and OpenVPN can consume quite a lot of resources for a daemon doing nothing. WireGuard has changed the VPN landscape with its simplicity, but if you fear your server may not be updated all too often (because it's partially managed by a customer, because your colleagues might not care to do so after you leave), leaving a simple solution behind can have its upsides.

I'm not advocating that everyone should enable port knocking on their servers to make them secure or anything, but the "port knocking is always bad" crowd is often very loud despite the fact that there are small little ways port knocking can improve security with very little effort or increased attack surface.

Re:Security by obscurity is underrated by MrStonedOne on Friday September 11, 2020 @11:49PM (#24449669)
but what does getting past port knocking help with? now they have to find a bug with ssh.
Re:Security by obscurity is underrated by thomasahle on Saturday September 12, 2020 @11:11AM (#24453072)
If OP has a false sense of security due to port knocking the ssh may not have been updated as recently.
Re:Security by obscurity is underrated by e40 on Saturday September 12, 2020 @01:24PM (#24453937)
We update sshd daily, as we are on CentOS and use the official updates. Nice guess, though.