sudo cscli collections install crowdsecurity/unifiInstalls 5 parsers and 2 scenarios, via Iptables - Portscan Detection.
View UniFi →sudo cscli scenarios install crowdsecurity/iptables-scan-multi_portsThen 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.
type: leakyname: crowdsecurity/iptables-scan-multi_portsdescription: "Detect aggressive portscans"filter: "evt.Meta.log_type == 'iptables_drop' && evt.Meta.service == 'tcp'"groupby: evt.Meta.source_ipdistinct: evt.Parsed.dst_portcapacity: 15leakspeed: 5sblackhole: 1mlabels:remediation: trueclassification:- attack.T1595.001- attack.T1018- attack.T1046behavior: "tcp:scan"label: "TCP Port Scan"spoofable: 3confidence: 1
Sign in to see the Security Engines that run this attack scenario, the version they run and whether it was modified locally.
Detects a port scan : detects if a single IP attempts connection to many different ports.
Leakspeed of 5s, capacity of 15.