Sigma rule: RBAC Permission Enumeration Attempt

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5e27bcdd25e3, updated 2024-03-26T00:00:00.000Z.

Rule

Title
RBAC Permission Enumeration Attempt
Status
test
Level
low
Author
Leo Tsaousis (@laripping)
Date
2024-03-26
File
rules/application/kubernetes/audit/kubernetes_audit_rbac_permisions_listing.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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.

Log source

product
kubernetes
service
audit
category
application

Detection

selection:
    verb: 'create'
    apiGroup: 'authorization.k8s.io'
    objectRef.resource: 'selfsubjectrulesreviews'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.t1069.003
  • attack.t1087.004
  • attack.discovery

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/kubernetes/audit/kubernetes_audit_rbac_permisions_listing.yml

Sources and licences

  • SigmaHQ

    "RBAC Permission Enumeration Attempt" by Leo Tsaousis (@laripping) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/kubernetes/audit/kubernetes_audit_rbac_permisions_listing.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: RBAC Permission Enumeration Attempt",
entity page, dataset version ref-5e27bcdd25e3, updated 2024-03-26T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/84b777bd-c946-4d17-aa2e-c39f5a454325 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 84b777bd-c946-4d17-aa2e-c39f5a454325, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.