Privilege Escalation (TA0004)(external, opens in a new tab or window)
Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:data_stream.dataset:gcp.audit and service.name:"k8s.io" and event.outcome:success and gcp.audit.authentication_info.authority_selector:( "admin" or "cluster-admin" or "kubernetes-admin" or "system:admin" or "system:anonymous" or "system:apiserver" or "system:kube-controller-manager" or "system:kube-proxy" or "system:kube-scheduler" or "system:volume-scheduler" or system\:node\:* or system\:serviceaccount\:kube-system\:* ) and not client.user.email:( "system:kube-controller-manager" or "system:kube-scheduler" or system\:node\:* or system\:serviceaccount\:kube-system\:* )
Install detection rules in Elastic Security
Detect GKE API Request Impersonating Privileged Identity in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).