Sigma rule: Azure Kubernetes RoleBinding/ClusterRoleBinding Modified and Deleted
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a0664b480171, updated 2022-08-23T00:00:00.000Z.
Rule
- Title
- Azure Kubernetes RoleBinding/ClusterRoleBinding Modified and Deleted
- Status
- test
- Level
- medium
- Author
- Austin Songer @austinsonger
- Date
- 2021-08-07
- Modified
- 2022-08-23
- File
- rules/cloud/azure/activity_logs/azure_kubernetes_rolebinding_modified_or_deleted.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation or patching of potential malicious RoleBinding/ClusterRoleBinding.
Log source
- product
- azure
- service
- activitylogs
Detection
selection:
operationName:
- MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/RBAC.AUTHORIZATION.K8S.IO/CLUSTERROLEBINDINGS/WRITE
- MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/RBAC.AUTHORIZATION.K8S.IO/CLUSTERROLEBINDINGS/DELETE
- MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/RBAC.AUTHORIZATION.K8S.IO/ROLEBINDINGS/WRITE
- MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/RBAC.AUTHORIZATION.K8S.IO/ROLEBINDINGS/DELETE
condition: selectionFalse positives (as the rule lists them)
- RoleBinding/ClusterRoleBinding being modified and deleted may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
- RoleBinding/ClusterRoleBinding modification from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
Tags
- attack.impact
- attack.credential-access
- attack.t1485
- attack.t1496
- attack.t1489
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftkubernetes
- https://www.microsoft.com/security/blog/2021/03/23/secure-containerized-environments-with-updated-threat-matrix-for-kubernetes/
- https://www.microsoft.com/security/blog/2020/04/02/attack-matrix-kubernetes/
- https://medium.com/mitre-engenuity/att-ck-for-containers-now-available-4c2359654bf1
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/azure/activity_logs/azure_kubernetes_rolebinding_modified_or_deleted.yml
Sources and licences
SigmaHQ
"Azure Kubernetes RoleBinding/ClusterRoleBinding Modified and Deleted" by Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/azure/activity_logs/azure_kubernetes_rolebinding_modified_or_deleted.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Azure Kubernetes RoleBinding/ClusterRoleBinding Modified and Deleted",
entity page, dataset version ref-a0664b480171, updated 2022-08-23T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/25cb259b-bbdc-4b87-98b7-90d7c72f8743 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 25cb259b-bbdc-4b87-98b7-90d7c72f8743, 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.