Earlier quoted context omitted.
20 years ago port-knocking was supposed to solve this issue for good but it seems to have been never really been taken up. I'm not sure why.
Port knocking as it's usually done is easily sniffed. Perhaps using a dynamic TOTP-like time based seed to constantly rotate the ports might help. But it sounds overly complex. It feels very like a "key under the third plant on the right" kinda thing. Not a solid security measure.
Brute.Fail: Watch brute force attacks fail in real time
171–180 of 268 posts
Re: Brute.Fail: Watch brute force attacks fail in real time
#172It's not that funny. While there may be millions of useless attempts, it only takes 1 to get through. Of course SSH has a great option in key / certificate auth. So if that's enforced it's not such a big deal. Many other systems don't (at least not until we finally implement Passkeys everywhere).
Re: Brute.Fail: Watch brute force attacks fail in real time
#173Thinking about it, fail2ban is almost entirely a placebo given that your password should be basically impossible to brute force anyways if you have the knowledge to implement fail2ban.
Re: Brute.Fail: Watch brute force attacks fail in real time
#174Re: Brute.Fail: Watch brute force attacks fail in real time
#175Earlier quoted context omitted.
20 years ago port-knocking was supposed to solve this issue for good but it seems to have been never really been taken up. I'm not sure why.
This is really only effective for password based logins, but most logins these days are key based
Re: Brute.Fail: Watch brute force attacks fail in real time
#176Realtime honeypot
Re: Brute.Fail: Watch brute force attacks fail in real time
#177For this reason I've put `endlessh` on port 22 and moved actual ssh elsewhere... Also started using Crowdsec recently, but not sure about if it's worth it... fail2ban out of the box works fine for SSH, but for dovecot and postfix it's somehow broken, and the configuration scripts are just too obtuse.
That seems like overkill. I just disable password authentication, and use SSH public keys only. It prevents brute force attacks completely.
Re: Brute.Fail: Watch brute force attacks fail in real time
#178Even if someone was to steal my keys or knock at my ssh servers with a zero-day, I will be alerted[0] of any successful login(s).
Re: Brute.Fail: Watch brute force attacks fail in real time
#179Re: Brute.Fail: Watch brute force attacks fail in real time
#180A remark on your fail.js, since you’re engaging here and I figure this could interest you or others: Once there are more than thirty rows, you fade rows in like this: row.style.opacity = 0; let intervalId = setInterval(function() { opacity = Number(window.getComputedStyle(row).getPropertyValue("opacity")); if (opacity This would be better done with a CSS animation or transition—it takes less code, and is smoother. My…
Talking about animations, the little animation next to "Connected to WebSocket" is an SVG. I did not know until today that SVGs may be animated. Nice to know.