Re:Large scale Internet SSH brute force attacks seem to have...
by gingerlime on Monday August 29, 2022 @02:35PM
(#32641795)
is there a chance of forming some kind of a community fail2ban blocklist? I guess trusting the contributors and admins is the hard part here and that’s why spam lists are a double edged sword?
[ Parent
| on HN ]
Re:Large scale Internet SSH brute force attacks seem to have...
by klausagnoletti on Tuesday August 30, 2022 @06:30AM
(#32648680)
As someone else mentions, CrowdSec can do just that. It's FOSS and can act as a modern Fail2Ban replacement that can detect all sorts of attacks - in this case ssh bruteforce/slow brute force attacks - and shares very basic information about those attacks (source ip, timestamp, which attack) with everyone else.
So in that way everybody using CrowdSec are helping each other out. More information at https://crowdsec.net.
Disclaimer: I am head of community at CrowdSec so feel free to ask me any questions you may have here or join our Discord at https://dicord.gg/crowdsec.
Re:Large scale Internet SSH brute force attacks seem to have...
by gingerlime on Tuesday August 30, 2022 @01:50PM
(#32653090)
Thank you! super cool! how do you solve the trust issue? (e.g. someone reporting their competitor ips as attackers, or whitelisting false positives/appeals)
Re:Large scale Internet SSH brute force attacks seem to have...
by pabs3 on Monday August 29, 2022 @10:52PM
(#32646125)
The CrowdSec folks have something similar to that:
https://crowdsec.net/ https://github.com/crowdsecurity/crowdsec
Re:Large scale Internet SSH brute force attacks seem to have...
by somat on Monday August 29, 2022 @08:53PM
(#32645453)
peter hessler had an interesting system where the blacklists were distributed via bgp. It sounds weird at first but the more I think about it the more it makes sense. delivering routes(or in this case anti routes) is bgp's core mission.
Unfortunately he shut down his bgp spam route sender last year.
Re:Large scale Internet SSH brute force attacks seem to have...
by gruez on Monday August 29, 2022 @05:04PM
(#32643529)
That's basically what DNS RBLs are.
Re:Large scale Internet SSH brute force attacks seem to have...
by NavinF on Monday August 29, 2022 @03:14PM
(#32642260)
Well that and sane people just disable password auth. fail2ban is a 90s sysadmin solution to a nonexistent problem.
Re:Large scale Internet SSH brute force attacks seem to have...
by seized on Monday August 29, 2022 @05:06PM
(#32643544)
Fail2Ban can do more than SSH. Any log that can be parsed and has a useful remote IP can work.
I have it scanning my Ubiquiti NVR logs, I modified Tomcat to log the remote IP from my reverse proxy. If anyone tries to log into my NVR three times then Fail2Ban adds the IP to a permanent blocklist on my OpnSense firewall and then HAProxy kills the TCP connection. They can't even ping after that.
Re:Large scale Internet SSH brute force attacks seem to have...
by nousermane on Monday August 29, 2022 @03:18PM
(#32642304)
IP reputation is a problem wider then just SSH password brute-forcing - see HTTP(S) brute-force example elsewhere in this thread.