sudo cscli collections install crowdsecurity/unifiInstalls 5 parsers and 2 scenarios.
View UniFi →sudo cscli scenarios install crowdsecurity/ssh-bfThen reload CrowdSec: sudo systemctl reload crowdsec
Sign in to see which of your engines run it →Hover a line or a note to see what each field does.
# ssh bruteforcetype: leakyname: crowdsecurity/ssh-bfdescription: "Detect ssh bruteforce"filter: "evt.Meta.log_type == 'ssh_failed-auth'"leakspeed: "10s"references:- http://wikipedia.com/ssh-bf-is-badcapacity: 5groupby: evt.Meta.source_ipblackhole: 1mreprocess: truelabels:service: sshconfidence: 3spoofable: 0classification:- attack.T1110label: "SSH Bruteforce"behavior: "ssh:bruteforce"remediation: true---# ssh user-enumtype: leakyname: crowdsecurity/ssh-bf_user-enumdescription: "Detect ssh user enum bruteforce"filter: evt.Meta.log_type == 'ssh_failed-auth'groupby: evt.Meta.source_ipdistinct: evt.Meta.target_userleakspeed: 10scapacity: 5blackhole: 1mlabels:service: sshremediation: trueconfidence: 3spoofable: 0classification:- attack.T1589behavior: "ssh:bruteforce"
Sign in to see the Security Engines that run this attack scenario, the version they run and whether it was modified locally.
Detect failed ssh authentications :