Sigma rule: Google Cloud Kubernetes RoleBinding
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8aac33509ec4, updated 2022-10-09T00:00:00.000Z.
Rule
- Title
- Google Cloud Kubernetes RoleBinding
- Status
- test
- Level
- medium
- Author
- Austin Songer @austinsonger
- Date
- 2021-08-09
- Modified
- 2022-10-09
- File
- rules/cloud/gcp/audit/gcp_kubernetes_rolebinding.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the creation or patching of potential malicious RoleBinding. This includes RoleBindings and ClusterRoleBinding.
Log source
- product
- gcp
- service
- gcp.audit
Detection
selection:
gcp.audit.method_name:
- io.k8s.authorization.rbac.v*.clusterrolebindings.create
- io.k8s.authorization.rbac.v*.rolebindings.create
- io.k8s.authorization.rbac.v*.clusterrolebindings.patch
- io.k8s.authorization.rbac.v*.rolebindings.patch
- io.k8s.authorization.rbac.v*.clusterrolebindings.update
- io.k8s.authorization.rbac.v*.rolebindings.update
- io.k8s.authorization.rbac.v*.clusterrolebindings.delete
- io.k8s.authorization.rbac.v*.rolebindings.delete
condition: selectionFalse positives (as the rule lists them)
- RoleBindings and ClusterRoleBinding being modified or 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.
- RoleBindings and ClusterRoleBinding modified or deleted from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
Tags
- attack.credential-access
References
- https://github.com/elastic/detection-rules/pull/1267
- https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole
- https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control
- https://kubernetes.io/docs/reference/access-authn-authz/rbac/
- https://cloud.google.com/kubernetes-engine/docs/how-to/audit-logging
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/gcp/audit/gcp_kubernetes_rolebinding.yml
Sources and licences
SigmaHQ
"Google Cloud Kubernetes RoleBinding" by Austin Songer @austinsonger (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/gcp/audit/gcp_kubernetes_rolebinding.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: Google Cloud Kubernetes RoleBinding",
entity page, dataset version ref-8aac33509ec4, updated 2022-10-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/0322d9f2-289a-47c2-b5e1-b63c90901a3e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 0322d9f2-289a-47c2-b5e1-b63c90901a3e, 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.