RBAC Permission Enumeration Attempt
Description
Detects identities attempting to enumerate their Kubernetes RBAC permissions. In the early stages of a breach, attackers will aim to list the permissions they have within the compromised environment. In a Kubernetes cluster, this can be achieved by interacting with the API server, and querying the SelfSubjectAccessReview API via e.g. a "kubectl auth can-i --list" command. This will enumerate the Role-Based Access Controls (RBAC) rules defining the compromised user's authorization.
Query · sigma
selection: verb: create apiGroup: authorization.k8s.io objectRef.resource: selfsubjectrulesreviews condition: selection
Known false positives
- Unknown