sudo cscli collections install crowdsecurity/k8s-auditInstalls 1 parser and 7 scenarios.
View Kubernetes - Audit Detection →sudo cscli scenarios install crowdsecurity/k8s-audit-api-server-bruteforceThen 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/k8s-audit-api-server-bruteforcedescription: "Detect bruteforce attempts against K8S API server"filter: |evt.Meta.log_type == 'k8s-audit' &&((evt.Meta.datasource_type == "k8s-audit" && evt.Unmarshaled.k8s_audit.ResponseStatus.code in [401, 403])||(evt.Meta.datasource_type != "k8s-audit" && evt.Unmarshaled.k8s_audit.responseStatus.code in [401, 403]))leakspeed: "10s"capacity: 5groupby: evt.Meta.source_ipblackhole: 1mreprocess: truelabels:remediation: trueclassification:- attack.T1110behavior: "k8s:bruteforce"intent: reconnaissancelabel: "Kubernetes API Bruteforce"spoofable: 0confidence: 3service: k8s
Sign in to see the Security Engines that run this attack scenario, the version they run and whether it was modified locally.
Detects bruteforce attempts against the K8S API server.
This scenario needs the K8S audit logs to work.