Re:Port knocking
by coronadisaster on Friday May 15, 2020 @02:13PM
(#23195403)
I guess if you only have the key, you would still need to figure out how to use it
[ Parent
| on HN ]
Re:Port knocking
by yjftsjthsd-h on Friday May 15, 2020 @09:37PM
(#23199654)
I think "attacker has a private key" is an unreasonable threat model to protect against, not least because the key is so much harder to crack than port knocking. The benefit to port knocking is against information disclosure ("this server is running Apache httpd version x.y and sshd version z"), brute force, noisy logs, and pre-auth vulnerabilities (things like heartbleed and shellshock). While in theory I suppose wireguard could be affected by pre-auth vulnerabilities and maybe a completely blind bruteforce attack, it's a listening UDP port that doesn't respond until it sees valid credentials, so it's completely invisible to an attacker.