-
Detects bursts of failed GKE API requests from a single user identity within a five-minute window. Repeated authorization failures across multiple actions can indicate credential stuffing, RBAC probing, or reconnaissance with stolen tokens.
Read More -
Kubernetes Pod Exec Cloud Instance Metadata Access
Sep 22, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Domain: Cloud Use Case: Threat Detection Tactic: Credential Access Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Normal Profile: Recommended Threat: IMDS Credential Theft Rule Type: ES|QL Domain: Containers ·Detects Kubernetes pod exec sessions whose decoded command line references cloud instance metadata endpoints or equivalent hostnames and paths. Workloads that reach the link-local metadata IP, AWS IMDS paths, GCP computeMetadata, Azure IMDS token routes, or encoded variants are often attempting to harvest role credentials, tokens, or instance attributes from the underlying node or hypervisor boundary. That behavior is high risk in multi-tenant and regulated environments because it can expose short-lived cloud credentials to code running inside a container. The rule classifies a coarse cloud target label and whether the string looks like credential retrieval versus lighter reconnaissance.
Read More -
Kubernetes Pod Exec Potential Reverse Shell
Sep 22, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Command and Control Resources: Investigation Guide Noise: Unknown Performance: Normal Profile: Recommended Threat: Reverse Shell Rule Type: ES|QL Domain: Containers Domain: Cloud ·Flags exec into a pod when the URL-decoded command payload resembles reverse-shell or bind-shell one-liners invocation patterns. Legitimate debug sessions sometimes use similar building blocks, but together these patterns align with post-exploitation interactive access and command-and-control.
Read More -
Kubernetes Pod Exec Sensitive File or Credential Path Access
Sep 22, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Credential Access Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: ES|QL Domain: Containers Domain: Cloud ·Detects Kubernetes pod exec sessions whose decoded command line references high-value host or in-cluster paths and material types: mounted service account or platform tokens, kubelet and control-plane configuration areas, host identity stores, root dot-directories for cloud and kubeconfig material, common private-key and keystore extensions, process environment dumps, and configuration filenames suggestive of embedded secrets. The intent is to catch interactive or scripted access that often precedes lateral movement, privilege escalation, or credential theft from the node or workload boundary. A narrow exclusion ignores benign reads of resolv.conf. The query also labels an access_type bucket to speed triage without altering the detection predicates you validated.
Read More -
Kubernetes Pod Exec with Curl or Wget to HTTPS
Sep 22, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Command and Control Resources: Investigation Guide Noise: Unknown Performance: Normal Profile: Recommended Threat: Download Tool Abuse Rule Type: ES|QL Domain: Containers Domain: Cloud ·Detects pod or attach exec API calls where the decoded request query implies curl or wget fetching an https URL. Attackers with permission to exec into workloads often run one-liners to stage tooling, pull scripts or binaries, or exfiltrate data over HTTPS—activity that should be rare compared to shells, debuggers, or expected health checks. The rule decodes the audit requestURI, reconstructs a readable command string from repeated command parameters, and applies noise filters for common cluster health and OIDC/JWKS endpoints so benign automation is less likely to alert.
Read More -
Azure AKS API Server Proxying Request to Kubelet
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Lateral Movement Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects a non-system identity using the AKS (Azure Kubernetes Service) API server nodes/proxy subresource to reach a node's Kubelet. Proxying through the API server reaches the Kubelet API to enumerate pods or run commands on nodes, a lateral-movement and privilege-escalation vector (kubeletctl, Peirates). Node, control-plane, and kube-system service account identities that routinely proxy for monitoring are excluded, so remaining matches, including compromised workload service accounts, are surfaced for review.
Read More -
Azure AKS Attempted User Exec into Pod
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an AKS (Azure Kubernetes Service) identity establishing an exec session into a pod. Interactive command execution inside a workload via kubectl exec is a common post-compromise technique used to access secrets, run tooling, and expand access from a foothold container. Node, control-plane, and kube-system service account identities are excluded, so workload service accounts and users, the identities an adversary is most likely to abuse, remain in scope.
Read More -
Azure AKS Certificate Signing Request Created or Approved
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an identity creating a client-authentication CertificateSigningRequest (signer kubernetes.io/kube-apiserver-client) or approving a CSR on AKS (Azure Kubernetes Service), excluding node bootstrap and platform controllers. Adversaries submit and self-approve a CSR against the kube-apiserver-client signer to mint a long-lived client certificate for an arbitrary subject (for example a Common Name in system:masters), giving durable authenticated access that survives token revocation. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token forging a certificate is not excluded.
Read More -
Azure AKS CoreDNS or Kube-DNS Configuration Modified
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an identity creating or modifying the CoreDNS or kube-dns ConfigMap in the kube-system namespace on AKS (Azure Kubernetes Service), excluding known AKS control-plane and platform identities. Rewriting cluster DNS (by editing coredns/kube-dns or creating and editing coredns-custom) enables cluster-wide adversary-in-the-middle by redirecting internal service resolution to attacker-controlled IPs, allowing credential capture and traffic interception. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token is not excluded.
Read More -
Azure AKS Ephemeral Container Added to Pod
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an identity injecting an ephemeral (debug) container into a running AKS (Azure Kubernetes Service) pod via the pods/ephemeralcontainers subresource, excluding known AKS control-plane and platform identities. Ephemeral containers share the target pod's namespaces and give stealthy interactive access to its processes and mounted secrets without creating a new pod. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token used to attach a debug container is not excluded.
Read More -
Azure AKS Kubelet Proxy to Command Execution Endpoint
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Lateral Movement Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects use of the AKS (Azure Kubernetes Service) API server nodes/proxy subresource to reach a node's Kubelet command-execution endpoints (run, exec, attach, portforward, cri). Unlike benign monitoring that scrapes /metrics and /stats, a request to these endpoints executes commands inside a pod on the node, the core of the kubeletctl and Peirates lateral-movement technique. Even a GET to /exec is command execution because the Kubelet maps the WebSocket upgrade handshake to the RBAC get verb, so nodes/proxy GET is sufficient for remote code execution.
Read More -
Azure AKS Kubernetes Events Deleted
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Defense Evasion Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an identity deleting Kubernetes events on AKS (Azure Kubernetes Service), excluding known AKS control-plane and platform identities. Adversaries delete events (individually or in bulk via deletecollection) to remove evidence of pod creation, exec, or scheduling activity and impair incident response after operating in the cluster. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token wiping events is not excluded.
Read More -
Azure AKS Pod Exec Potential Reverse Shell
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Platform: Azure Platform: Kubernetes Rule Type: ES|QL Use Case: Threat Detection Tactic: Command and Control Tactic: Execution Resources: Investigation Guide Domain: Containers ·Detects successful AKS pod exec sessions whose command resembles reverse-shell or bind-shell one-liner patterns, including /dev/tcp, /dev/udp and gawk /inet redirection, interactive invocation of any common shell, the netcat and ncat exec/listener forms, socat command-execution and listener addresses, mkfifo and mknod pipelines, socket idioms across Python, Perl, PHP, Ruby, Lua and Node, and tooling such as gsocket, openssl s_server and xterm. Legitimate debug sessions sometimes use similar building blocks, but together these patterns align with post-exploitation interactive access and command-and-control.
Read More -
Azure AKS Potential API Enumeration by User
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Discovery Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Threshold Platform: Azure Platform: Kubernetes Domain: Containers ·Detects a single Kubernetes identity in AKS (Azure Kubernetes Service) that is denied (HTTP 403 Forbidden) across multiple distinct API resource types within a short window. Broad authorization failures spanning many resources are a strong signal of API enumeration (reconnaissance with a stolen service account token), as an actor probes what its credentials can reach before privilege escalation. Detection is based on the breadth of denied resources rather than the raw failure count, so single-resource controller retry loops do not trigger it.
Read More -
Azure AKS Secret get or list with Suspicious User Agent
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects successful AKS (Azure Kubernetes Service) secret get or list operations where the user agent matches scripting runtimes (python, ruby, perl), command-line HTTP clients (curl, wget, HTTPie), or generic HTTP libraries (Go-http-client, okhttp, Apache-HttpClient, Guzzle, axios, undici) rather than typical kubectl or named controller traffic. Reading Kubernetes secrets with a generic client is a common credential-access step after a token or kubeconfig is stolen, and offensive tooling (for example peirates and kdigger) frequently reaches the API with a default Go HTTP client.
Read More -
Azure AKS Service Account Token Created via TokenRequest API
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects an identity minting a service account token via the AKS (Azure Kubernetes Service) TokenRequest API (serviceaccounts/token), excluding known AKS control-plane and platform identities. Adversaries request service account tokens from a compromised identity to impersonate a workload, move laterally, or escalate privileges within the cluster. Coverage includes workload service accounts (system:serviceaccount:*), so a compromised in-cluster token minting a token for another service account is not excluded.
Read More -
Azure AKS Suspicious Self-Subject Review by Service Account or Node Identity
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: Azure Data Source: Azure Platform Logs Data Source: Kubernetes Use Case: Threat Detection Tactic: Discovery Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Platform: Azure Platform: Kubernetes Domain: Containers ·Detects AKS (Azure Kubernetes Service) service account or node identities invoking self-subject access or rules review APIs. Non-human identities rarely enumerate their own permissions outside known controllers; this can indicate stolen tokens probing effective RBAC before privilege escalation.
Read More -
Identifies when events are deleted in Azure Kubernetes. Kubernetes events are objects that log any state changes. Example events are a container creation, an image pull, or a pod scheduling on a node. An adversary may delete events in Azure Kubernetes in an attempt to evade detection.
Read More -
Identifies the deletion of Azure Kubernetes Pods. Adversaries may delete a Kubernetes pod to disrupt the normal behavior of the environment.
Read More -
Azure Kubernetes Services (AKS) Kubernetes Rolebindings Created
Identifies the creation of role binding or cluster role bindings. You can assign these roles to Kubernetes subjects (users, groups, or service accounts) with role bindings and cluster role bindings. An adversary who has permissions to create bindings and cluster-bindings in the cluster can create a binding to the cluster-admin ClusterRole or to other high privileges roles.
Read More -
This rule detects when a container management binary is run from inside a container. These binaries are critical components of many containerized environments, and their presence and execution in unauthorized containers could indicate compromise or a misconfiguration.
Read More -
Direct Interactive Kubernetes API Request by Common Utilities
Sep 19, 2026 · Data Source: Elastic Defend for Containers Data Source: Kubernetes Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Execution Tactic: Discovery Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes Domain: Cloud ·This rule leverages a combination of Defend for Containers and Kubernetes audit logs to detect the execution of direct interactive Kubernetes API requests. An adversary may need to execute direct interactive Kubernetes API requests to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster. Note that this rule may not trigger if the authorization token of the request is expanded within the process argument list, as the length of the "process.args" field may lead to the field being ignored.
Read More -
Direct Interactive Kubernetes API Request by Unusual Utilities
Sep 19, 2026 · Data Source: Elastic Defend for Containers Data Source: Kubernetes Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Execution Tactic: Discovery Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes Domain: Cloud ·This rule leverages a combination of Defend for Containers and Kubernetes audit logs to detect the execution of direct interactive Kubernetes API requests via unusual utilities. An adversary may need to execute direct interactive Kubernetes API requests to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster.
Read More -
This rule detects the execution of direct Kubernetes API requests inside a container. An adversary may need to execute direct Kubernetes API requests to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster. Note that this rule may not trigger if the token is expanded within the process argument list, as the length of the "process.args" field may lead to the field being ignored.
Read More -
This rule detects the execution of DNS enumeration tools inside a container. DNS enumeration tools are used to enumerate the DNS servers and domains of the container, which can be used by an adversary to gain information about the network configuration of the container and the services running inside it.
Read More -
EKS Authentication Configuration Modified
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·Detects modifications to the aws-auth ConfigMap in Amazon EKS clusters. The aws-auth ConfigMap maps AWS IAM roles and users to Kubernetes RBAC groups, an attacker who modifies it can grant any IAM role cluster-admin access by adding a mapping to the system:masters group. This is a well-documented persistence technique that survives pod restarts, node replacements, and RBAC changes because the authentication mapping exists outside of normal Kubernetes Role objects. Modifications to aws-auth are rare in normal operations, the ConfigMap is typically set during cluster provisioning and updated only during node group or access configuration changes.
Read More -
Forbidden Direct Interactive Kubernetes API Request
Sep 19, 2026 · Data Source: Elastic Defend for Containers Data Source: Kubernetes Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Execution Tactic: Discovery Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes Domain: Cloud ·This rule leverages a combination of Defend for Containers and Kubernetes audit logs to detect the execution of forbidden interactive Kubernetes API requests. An adversary may need to execute interactive Kubernetes API requests to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster. Attackers may attempt to access resources that are forbidden by the authorization policy. Note that this rule may not trigger if the authorization token of the request is expanded within the process argument list, as the length of the "process.args" field may lead to the field being ignored.
Read More -
GKE Admission Webhook Created or Modified
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Persistence Tactic: Defense Evasion Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation or modification of GKE mutating or validating admission webhook configurations by non-system identities. Malicious webhooks can inject workloads, block security tooling, or intercept API traffic for persistence and defense evasion.
Read More -
GKE Anonymous Endpoint Permission Enumeration
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Discovery Tactic: Reconnaissance Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: ES|QL Platform: GCP Domain: Containers Platform: Kubernetes ·Detects bursts of GKE API requests from an anonymous identity that probe many distinct actions and resources with mostly failed outcomes. This pattern is consistent with unauthenticated permission enumeration against an exposed API server. On GKE GCP audit logs, unauthenticated probes often omit "client.user.email" (null principal) with Unauthorized failures; those events are included alongside "system:anonymous" / "system:unauthenticated".
Read More -
GKE Anonymous Pod Create/Update/Patch
Detects create, update, or patch of pods by an unauthenticated anonymous GKE identity. Anonymous pod mutation is a critical misconfiguration signal and a common path for unauthenticated attackers to deploy workloads or maintain access. Includes "system:anonymous" / "system:unauthenticated" and GKE audit rows with a missing principal (seen on unauthenticated Unauthorized/forbidden pod writes).
Read More -
GKE Anonymous Request Authorized by Unusual User Agent
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Initial Access Tactic: Defense Evasion Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: New Terms Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE API requests from unauthenticated anonymous identities using an unusual user agent. Attackers may rely on anonymous access for initial cluster access or to avoid attribution. Matches "system:anonymous" / "system:unauthenticated" and GKE audit rows where the principal is missing (common for unauthenticated clients). Common kube-probe health checks (readyz/livez/healthz/version) are excluded.
Read More -
GKE API Request Impersonating Privileged Identity
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Defense Evasion Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE API requests where a caller is impersonating a privileged cluster identity such as system:kube-controller-manager, system:admin, system:anonymous, or a kube-system service account. These identities have broad cluster-wide permissions including unrestricted access to secrets, the ability to create tokens for any service account, schedule pods on any node, and modify RBAC. Impersonating system:kube-controller-manager grants access to secrets across namespaces and service account token minting for lateral movement.
Read More -
GKE API Server Proxying Request to Kubelet
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Lateral Movement Tactic: Discovery Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects non-system identities using the GKE nodes/proxy API to reach a node's Kubelet through the API server. The nodes/proxy subresource allows any principal with this permission to call the Kubelet API without direct node network access or Kubelet TLS certificates. Through this path an attacker can list pod specs (including environment secrets), read Kubelet configuration, retrieve container logs, and access running pod metadata on the target node. Monitoring endpoints such as metrics, healthz, and stats/summary are excluded to reduce noise from observability tooling.
Read More -
GKE Certificate Signing Request API Client Signer Requested
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation of a GKE CertificateSigningRequest (CSR) that requests the kubernetes.io/kube-apiserver-client signer. This signer issues general API client certificates with few subject restrictions, unlike the restricted kubelet signers used for node certificate rotation. Attackers with CSR permissions use this signer to mint long-lived credentials for privileged identities such as system:kube-controller-manager, enabling persistence and privilege escalation that survives token revocation and RBAC changes.
Read More -
GKE Certificate Signing Request for Privileged Identity
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: ES|QL Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation of a GKE CertificateSigningRequest (CSR) whose decoded subject requests a highly privileged Kubernetes identity in the Common Name (CN), such as system:masters, system:kube-controller-manager, or system:admin. This rule is scoped to identities with cluster-admin-equivalent or control-plane impersonation value. Attackers who can create and approve CSRs can use this technique to clone credentials for powerful identities and obtain durable cluster access. This signal applies to any actor, including compromised node identities that use legitimate kubelet signers but request a privileged CN.
Read More -
GKE Certificate Signing Request Self-Approved
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: ES|QL Platform: GCP Domain: Containers Platform: Kubernetes ·Detects when the same non-system GKE identity creates a CertificateSigningRequest (CSR) and then approves that same CSR within five minutes, consistent with self-approval abuse. Attackers who gain CSR create and approval RBAC can submit a certificate request and approve it themselves to obtain a long-lived client certificate without involving cluster operators, a pattern documented in Kubernetes persistence research and adversary emulation.
Read More -
GKE Client Certificate Signing Request Created or Approved
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Normal Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation or approval of a GKE CertificateSigningRequest (CSR) by a non-system identity. This is a breadth baseline rule for human or custom automation CSR activity on GKE. Attackers with cluster access can submit and approve CSRs to obtain long-lived client certificates that survive token revocation and RBAC changes. Use companion rules to evaluate signer choice, requested identity, and self-approval behavior.
Read More -
GKE Cluster-Admin Role Binding Created or Modified
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation or modification of a GKE ClusterRoleBinding that grants the cluster-admin ClusterRole, providing unrestricted cluster access and enabling rapid privilege escalation or persistence.
Read More -
GKE Container Created with Excessive Linux Capabilities
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Medium Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE pod creation with dangerous Linux capabilities that are commonly abused in container escape techniques. Standalone pods are included; controller-owned ReplicaSet, DaemonSet, and StatefulSet workloads are excluded.
Read More -
GKE CoreDNS or Kube-DNS Configuration Modified
Detects modifications to the CoreDNS or kube-dns ConfigMap in the kube-system namespace on GKE. These ConfigMaps control cluster DNS resolution for all pods. An attacker who modifies the CoreDNS Corefile can redirect internal service DNS names to attacker-controlled IP addresses, enabling man-in-the-middle attacks against the Kubernetes API server, database services, and other internal endpoints. Pods that resolve service names via cluster DNS will transparently connect to the attacker instead of the legitimate service, allowing interception of service account tokens, database credentials, and API traffic. DNS poisoning at the cluster level is particularly dangerous because it affects every pod in every namespace simultaneously and does not require any modification to the victim workloads. CoreDNS configuration changes are rare in normal operations and any unexpected modification should be investigated immediately.
Read More -
GKE Creation of a RoleBinding Referencing a ServiceAccount
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation of a GKE RoleBinding or ClusterRoleBinding that grants permissions to a ServiceAccount, which may indicate privilege delegation or RBAC misconfiguration leading to elevated access.
Read More -
GKE Creation or Modification of Sensitive Role
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation or modification of GKE Roles or ClusterRoles that grant high-risk permissions, such as wildcard access or RBAC escalation verbs (bind, escalate, impersonate), which may enable privilege escalation or unauthorized access within the cluster.
Read More -
GKE Endpoint Permission Enumeration
Detects a single authenticated GKE identity from one source IP issuing a burst of API calls across many distinct actions and resources with a mix of successful and failed outcomes. That pattern is consistent with automated RBAC permission enumeration rather than steady-state controller traffic. Anonymous probing is covered by a separate rule.
Read More -
GKE Ephemeral Container Added to Pod
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects allowed updates or patches to the pods/ephemeralcontainers subresource on GKE by a non-system identity. Ephemeral containers are commonly used for debugging (kubectl debug) but can also be abused to inject tooling into a running pod, access mounted secrets, and execute commands in the target pod context. Attackers with sufficient RBAC may use ephemeral containers to escalate privileges, move laterally, or establish persistence without deploying a new workload.
Read More -
GKE Exposed Service Created With Type NodePort
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Persistence Tactic: Initial Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects creation or modification of a GKE Service with type NodePort. NodePort exposes a static port on every worker node that hosts matching pods, which widens the cluster's external attack surface and can bypass load-balancer and firewall controls. Attackers may create NodePort Services to intercept traffic or establish a direct path into the cluster.
Read More -
GKE Forbidden Creation Request
Detects denied GKE API create requests from non-control-plane identities. Failed creates can indicate RBAC probing, stolen credentials with insufficient privileges, or attempts to deploy unauthorized workloads.
Read More -
GKE Forbidden Request from Unusual User Agent
Detects the first occurrence of a failed GKE API request from a previously unseen user agent. Adversary tooling often uses non-standard clients; combined with authorization failures this can indicate RBAC probing or exploitation attempts.
Read More -
Adversaries who land credentials in a GKE cluster—or abuse an over-privileged token, often map the environment before exfiltration or privilege escalation. A practical first pass is to learn where workloads run, how the cluster is partitioned, and what RBAC exists at namespace vs cluster scope. Rapid get/list traffic across many distinct API resource kinds that answer those questions (namespaces, workloads, roles, cluster-wide roles) is a common setup and orientation pattern for both interactive attackers and automated recon scripts. This rule highlights that cross-resource burst from a single client fingerprint within a one-minute bucket when both cluster-layout and RBAC resource kinds are touched, so analysts can separate routine automation from potential discovery ahead of follow-on actions.
Read More -
GKE Pod Created with a Sensitive hostPath Volume
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE pod create, update, or patch events that mount sensitive hostPath volumes such as the root filesystem, kubelet paths, or container runtime sockets. This can enable container escape and credential theft. System identities and controller-owned workloads are excluded.
Read More -
GKE Pod Created With HostIPC
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE pod create, update, or patch events that enable host IPC namespace sharing. This exposes host inter-process communication mechanisms and can support privilege escalation. Controller-owned workloads are excluded.
Read More -
GKE Pod Created With HostNetwork
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE pod create, update, or patch events that enable host network namespace sharing. HostNetwork grants access to the node network stack and can bypass namespace network policies. System identities and controller-owned workloads are excluded.
Read More -
GKE Pod Created With HostPID
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE pod create, update, or patch events that enable host PID namespace sharing. HostPID exposes host processes and can support privilege escalation, especially with ptrace or privileged containers. System identities and controller-owned workloads are excluded.
Read More -
GKE Pod Exec Cloud Instance Metadata Access
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Credential Access Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: IMDS Credential Theft Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE pod exec sessions whose command references Google Cloud instance metadata endpoints, including metadata.google.internal, computeMetadata/v1, or the link-local metadata IP 169.254.169.254. Workloads that reach the GKE metadata service from an exec session are often attempting to harvest short-lived credentials or instance attributes from the node or workload identity boundary. That behavior is high risk because it can expose cloud credentials to code running inside a container. GKE records the command in gcp.audit.labels.command.gke.io/command when an explicit command is passed to exec.
Read More -
GKE Pod Exec Potential Reverse Shell
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Execution Tactic: Command and Control Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Reverse Shell Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE pod exec sessions whose command resembles reverse-shell or bind-shell one-liner patterns, including /dev/tcp and /dev/udp redirection, netcat/ncat exec-style flags, socat shell handoff, mkfifo pipelines, and common language socket idioms. Legitimate debug sessions sometimes use similar building blocks, but together these patterns align with post-exploitation interactive access and command-and-control. Common localhost /dev/tcp health-check ports are excluded. GKE records the command in gcp.audit.labels.command.gke.io/command when an explicit command is passed to exec.
Read More -
GKE Pod Exec Sensitive File or Credential Path Access
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Credential Access Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE pod exec sessions where the executed command references high-value host or in-cluster paths: mounted service account or platform tokens, kubelet and control-plane configuration areas, host identity stores, root or home credential directories, common private-key and keystore extensions, process environment dumps, and configuration filenames suggestive of embedded secrets. Attackers with pods/exec often use these one-liners to steal credentials before lateral movement or privilege escalation. A narrow exclusion ignores benign resolv.conf reads. GKE records the command in gcp.audit.labels.command.gke.io/command when an explicit command is passed to exec.
Read More -
GKE Pod Exec with Curl or Wget to HTTPS
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Use Case: Threat Detection Tactic: Execution Tactic: Command and Control Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Download Tool Abuse Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE pod exec sessions where the executed command implies curl or wget fetching an HTTPS URL. Attackers with pods/exec often run one-liners to stage tooling, pull scripts or binaries, or exfiltrate data over HTTPS—activity that should be rare compared to shells, debuggers, or expected health checks. Common cluster health, localhost, and OIDC/JWKS endpoint patterns are excluded to reduce benign automation noise. GKE records the command in gcp.audit.labels.command.gke.io/command when an explicit command is passed to exec.
Read More -
GKE Privileged Pod Created
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Execution Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE audit events where a pod is created with allowPrivilegeEscalation enabled. This weakens container isolation and can help an attacker escalate toward host access. Standalone pods are included; workloads owned by ReplicaSet, DaemonSet, or StatefulSet controllers are excluded.
Read More -
GKE Rapid Secret GET Activity Against Multiple Objects
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: ES|QL Platform: GCP Domain: Containers Platform: Kubernetes ·Detects an unusual volume of GKE API get requests against multiple distinct Secret objects from the same client fingerprint (user, source IP, and user agent) within the rule lookback window. This can indicate credential access or in-cluster reconnaissance, where a user or token is used to enumerate and retrieve sensitive data such as service account tokens, registry credentials, TLS material, or application configuration. Failed get requests are included and can signal RBAC probing; system service accounts are excluded only when secret reads succeed, since failed secret access by a service account may indicate compromise or misconfiguration worth investigating.
Read More -
GKE RBAC Wildcard Elevation on Existing Role
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Flags an existing GKE Role or ClusterRole being changed (patch or update) so the effective rules become cluster-admin-like: wildcard on every API resource and wildcard on every verb. That is usually a deliberate privilege expansion, not a typo. GKE audit logs with response body capture are required so the detection reads the merged role after apply; loopback source IPs are ignored.
Read More -
GKE Secret Access from Node or Denied Service Account
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE Secrets API activity that should not occur in normal cluster operation: a node identity (system:node:*) performing secrets get or list, or a pod service account failing a secrets get. Kubelet and node credentials are not expected to call the Secrets API for enumeration or direct reads, and a denied service-account secret get could indicate stolen-token probing or over-privileged tooling reaching beyond its RBAC.
Read More -
GKE Secret Access via Unusual User Agent
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: New Terms Platform: GCP Domain: Containers Platform: Kubernetes ·Detects GKE secrets get or list requests from a previously unseen combination of source IP, identity, and user agent, excluding the default Kubernetes client placeholder. Attackers who compromise a pod or steal a kubeconfig often use curl, custom scripts, or atypical clients from a new host to read service-account tokens, registry credentials, or application secrets. Anonymous identities are excluded; use dedicated anonymous-access rules for unauthenticated probing.
Read More -
GKE Secret get or list with Suspicious User Agent
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects successful GKE secret get or list operations where the user agent matches scripting runtimes, minimal HTTP clients, or offensive-distribution fingerprints rather than typical kubectl or controller traffic.
Read More -
GKE Secrets List from Unusual Source AS Organization
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Credential Access Tactic: Discovery Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: New Terms Platform: GCP Domain: Containers Platform: Kubernetes ·Detects the first time a human GKE caller lists secrets cluster-wide or in default or kube-system from a source autonomous system that is not attributed to common cloud provider organizations. This can indicate remote secret enumeration using stolen credentials from an unusual network.
Read More -
GKE Sensitive RBAC Change Followed by Workload Modification
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Domain: Containers Data Source: GCP Data Source: Google Cloud Platform Data Source: GCP Audit Logs Platform: GCP Platform: Kubernetes Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Persistence Resources: Investigation Guide Rule Type: ES|QL Noise: Medium Performance: Fast ·Detects when the same GKE identity creates or modifies a Role or ClusterRole with high-risk permissions (wildcard access, RBAC escalation verbs, or access to secrets / privileged APIs) and also creates or patches a DaemonSet, Deployment, or CronJob within five minutes. This correlation is consistent with RBAC-based privilege escalation followed by payload deployment.
Read More -
GKE Service Account Modified RBAC Objects
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Persistence Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects write operations performed by GKE service accounts against RBAC resources (Roles, ClusterRoles, RoleBindings, ClusterRoleBindings). Service accounts typically do not manage RBAC directly; this activity may indicate token abuse or unauthorized privilege escalation.
Read More -
GKE Suspicious Assignment of Controller Service Account
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: GCP Domain: Containers Platform: Kubernetes ·Detects a request to attach a built-in kube-controller-manager service account to a pod running in the kube-system namespace on GKE. These service accounts are admin-equivalent and are not normally assigned to arbitrary pods. An attacker who can create pods in kube-system can abuse these tokens for cluster-wide privilege escalation.
Read More -
GKE Suspicious Self-Subject Review via Service Account
Detects GKE service account or node identities invoking self-subject access or rules review APIs. Non-human identities rarely enumerate their own permissions outside known controllers; this can indicate stolen tokens probing effective RBAC.
Read More -
GKE Unusual Sensitive Workload Modification
Sep 19, 2026 · Domain: Cloud Domain: Kubernetes Data Source: GCP Data Source: Google Cloud Platform Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Persistence Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: New Terms Platform: GCP Domain: Containers Platform: Kubernetes ·Detects the first occurrence of create or patch activity against sensitive GKE workloads (DaemonSets, Deployments, or CronJobs) from an unusual combination of user agent, source IP, and user identity, which may indicate privilege escalation or unauthorized access within the cluster.
Read More -
Detects the first successful GKE secrets.get by a pod service account from a previously unseen combination of service-account identity, user agent, and source IP. Controllers routinely read secrets with a stable client fingerprint; a new user agent or source for that service account could indicate a stolen token used outside the workload (for example curl, a custom script, or kubectl from an unexpected host).
Read More -
Detects the first occurrence of a non-system GKE identity establishing an exec session into a pod. kubectl exec enables interactive command execution inside workloads and is a common post-compromise technique to access secrets and expand access.
Read More -
Kubeconfig File Creation or Modification
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Lateral Movement Tactic: Defense Evasion Tactic: Initial Access Data Source: Elastic Defend Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes ·The kubeconfig file is a critical component in Kubernetes environments, containing configuration details for accessing and managing Kubernetes clusters. Attackers may attempt to get access to, create or modify kubeconfig files to gain unauthorized initial access to Kubernetes clusters or move laterally within the cluster.
Read More -
Kubeconfig File Discovery
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Discovery Data Source: Elastic Defend Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes ·The kubeconfig file is a critical component in Kubernetes environments, containing configuration details for accessing and managing Kubernetes clusters. Attackers may attempt to get access to, create, or modify kubeconfig files to gain unauthorized initial access to Kubernetes clusters or move laterally within the cluster. This rule detects process discovery executions that involve kubeconfig files, particularly those executed from common shell environments or world-writeable directories.
Read More -
Kubectl Apply Pod from URL
Sep 19, 2026 · Domain: Endpoint Domain: Containers OS: Linux Use Case: Threat Detection Tactic: Execution Data Source: Auditd Manager Data Source: Elastic Endgame Data Source: Elastic Defend Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes ·This rule detects the execution of the "kubectl apply" command with a URL argument. This command is often used to apply configurations or deploy resources in a Kubernetes cluster. Attackers may use this command to deploy malicious pods or modify existing ones, potentially leading to unauthorized access or data exfiltration.
Read More -
Kubectl Network Configuration Modification
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS Use Case: Threat Detection Tactic: Command and Control Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS Platform: Kubernetes ·This rule detects potential kubectl network configuration modification activity by monitoring for process events where the kubectl command is executed with arguments that suggest an attempt to modify network configurations in Kubernetes. This could indicate an adversary trying to manipulate network settings for malicious purposes, such as establishing unauthorized access or exfiltrating data.
Read More -
Kubectl Permission Discovery
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS Use Case: Threat Detection Tactic: Discovery Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Auditd Manager Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS Platform: Kubernetes ·This rule detects the use of the "kubectl auth --can-i" command, which is used to check permissions in Kubernetes clusters. Attackers may use this command to enumerate permissions and discover potential misconfigurations in the cluster, allowing them to gain unauthorized access or escalate privileges.
Read More -
Kubectl Secrets Enumeration Across All Namespaces
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS Use Case: Threat Detection Tactic: Discovery Tactic: Credential Access Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Auditd Manager Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Medium Performance: Normal Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS Platform: Kubernetes ·This rule detects the use of the "kubectl get secrets --all-namespaces" command, which enumerates secret resources across the entire Kubernetes cluster. Attackers may use this command to identify accessible secrets in multiple namespaces, aiding credential discovery, privilege escalation, or lateral movement.
Read More -
This rule detects the access of the Kubelet certificate file inside a container. The Kubelet certificate file is used to authenticate the container to the Kubernetes API server, and may be used by an adversary to gain access to the Kubernetes API server or other resources within the cluster. These files are a common target for adversaries to gain access to the cluster. There is a current limitation in the defend for containers file sensor that prevents file open events from being logged for file open events without write intent.
Read More -
This rule detects the use of built-in utilities to discover running pods on a Kubernetes cluster. The utilities used are du, nice, find, locate, and ls. These utilities are commonly used to discover running pods on a Kubernetes cluster. The "/var/lib/kubelet/pods" directory is the default location for Kubelet pod information.
Read More -
Detects creation, modification, or deletion of Kubernetes MutatingWebhookConfigurations or ValidatingWebhookConfigurations by non-system identities. Admission webhooks intercept every API request matching their rules before persistence, giving an attacker powerful capabilities: injecting malicious sidecars into every new pod via a mutating webhook, blocking security tooling deployments via a validating webhook, or silently exfiltrating pod specifications to an external server. Webhook manipulation is a stealthy persistence and defense evasion technique because the webhook configuration itself looks benign in kubectl output while actively modifying or intercepting all matching Kubernetes API traffic.
Read More -
This rule detects when an unauthenticated user request is authorized within the cluster via an unusual user agent. Attackers may attempt to use anonymous accounts to gain initial access to the cluster or to avoid attribution of their activities within the cluster. This rule excludes the /healthz, /livez, /version and /.well-known/oauth-authorization-server endpoints which are commonly accessed anonymously.
Read More -
This rule detects attempts to create, update, or patch pods by an anonymous user. An anonymous user is a user that is not authenticated or authorized to access the Kubernetes API server. Creating, updating, or patching pods is a common activity for attackers to gain access to the cluster and execute commands.
Read More -
Detects Kubernetes API requests where a user is impersonating a privileged cluster identity such as system:kube-controller-manager, system:admin, system:anonymous, or a member of the system:masters group. These identities have broad cluster-wide permissions including unrestricted access to all secrets, the ability to create tokens for any service account, schedule pods on any node, and modify RBAC policies. An attacker impersonating system:masters gains full cluster-admin equivalent access, while impersonating system:kube-controller-manager grants access to every secret in every namespace and the ability to mint service account tokens for lateral movement.
Read More -
Kubernetes API Server Proxying Request to Kubelet
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Lateral Movement Tactic: Discovery Resources: Investigation Guide Noise: Unknown Performance: Fast Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·Detects non-system identities using the Kubernetes nodes/proxy API to proxy requests through the API server directly to a node's Kubelet. The nodes/proxy subresource allows any principal with this RBAC permission to reach the Kubelet API on any worker node without needing direct network access or Kubelet TLS certificates. Through this proxy path, an attacker can list all pod specifications including environment variable secrets, read Kubelet configuration and PKI material, retrieve container logs, and access running pod metadata across all workloads on the target node. Monitoring and health check endpoints such as /metrics, /healthz, and /stats are excluded to reduce noise from legitimate observability tooling.
Read More -
Kubernetes Client Certificate Signing Request Created or Approved
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Persistence Tactic: Privilege Escalation Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·Detects creation or approval of a Kubernetes CertificateSigningRequest (CSR) by a non-system identity. Attackers who have gained cluster access can submit a CSR with a privileged Common Name such as system:kube-controller-manager or system:masters, then approve it themselves to obtain a long-lived client certificate. Unlike service account tokens which expire in hours, client certificates persist until they expire or the cluster CA is rotated, providing durable access that survives pod termination, token revocation, and RBAC changes. On non-EKS clusters, the signed certificate allows the attacker to authenticate as the privileged identity from anywhere without needing cluster network access, making it one of the most persistent backdoor mechanisms available in Kubernetes.
Read More -
This rule detects the creation of a RoleBinding or ClusterRoleBinding that grants the cluster-admin ClusterRole, which provides unrestricted access to all Kubernetes resources and represents a high-risk privilege escalation or misconfiguration.
Read More -
Kubernetes Container Created with Excessive Linux Capabilities
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rule detects a container deployed with one or more dangerously permissive Linux capabilities. An attacker with the ability to deploy a container with added capabilities could use this for further execution, lateral movement, or privilege escalation within a cluster. The capabilities detected in this rule have been used in container escapes to the host machine.
Read More -
Detects modifications to the CoreDNS or kube-dns ConfigMap in the kube-system namespace. These ConfigMaps control cluster DNS resolution for all pods. An attacker who modifies the CoreDNS Corefile can redirect internal service DNS names to attacker-controlled IP addresses, enabling man-in-the-middle attacks against the Kubernetes API server, database services, and other internal endpoints. Pods that resolve service names via cluster DNS will transparently connect to the attacker instead of the legitimate service, allowing interception of service account tokens, database credentials, and API traffic. DNS poisoning at the cluster level is particularly dangerous because it affects every pod in every namespace simultaneously and does not require any modification to the victim workloads. CoreDNS configuration changes are rare in normal operations and any unexpected modification should be investigated immediately.
Read More -
This rule detects the creation of RoleBindings or ClusterRoleBindings that reference a ServiceAccount, which may indicate privilege delegation or potential RBAC misconfiguration leading to elevated access.
Read More -
Detects the creation or modification of Kubernetes Roles or ClusterRoles that grant high-risk permissions, such as wildcard access or RBAC escalation verbs (e.g., bind, escalate, impersonate), which may enable privilege escalation or unauthorized access within the cluster.
Read More -
Kubernetes Direct API Request via Curl or Wget
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS OS: Windows Use Case: Threat Detection Tactic: Execution Tactic: Discovery Data Source: Sysmon Data Source: Windows Security Event Logs Data Source: Auditd Manager Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Download Tool Abuse Rule Type: Event Correlation (EQL) Platform: Windows Platform: Linux Platform: macOS Platform: Kubernetes ·This rule monitors for the execution of curl or wget commands that directly access Kubernetes API endpoints, which may indicate an attempt to interact with Kubernetes resources in a potentially unauthorized manner. This technique is often used by adversaries to gather information about the Kubernetes environment, such as secrets, config maps, and other sensitive data, without using the official Kubernetes client tools such as "kubectl".
Read More -
Detects allowed updates to the pods/ephemeralcontainers subresource by a non-system identity. Ephemeral containers are commonly used for debugging (kubectl debug) but can also be abused to inject tooling into a running pod, access mounted secrets, and execute commands in the target pod context. Attackers with sufficient RBAC may use ephemeral containers to escalate privileges, move laterally, or establish persistence without deploying a new workload.
Read More -
This rule detects the deletion of Kubernetes events, which can indicate an attempt to cover up malicious activity or misconfigurations. Adversaries may delete events to remove traces of their actions, making it harder for defenders to investigate and respond to incidents.
Read More -
This rule detects an attempt to create or modify a service as type NodePort. The NodePort service allows a user to externally expose a set of labeled pods to the internet. This creates an open port on every worker node in the cluster that has a pod for that service. When external traffic is received on that open port, it directs it to the specific pod through the service representing it. A malicious user can configure a service as type Nodeport in order to intercept traffic from other pods or nodes, bypassing firewalls and other network security measures configured for load balancers within a cluster. This creates a direct method of communication between the cluster and the outside world, which could be used for more malicious behavior and certainly widens the attack surface of your cluster.
Read More -
This rule detects attempts to create resources in Kubernetes clusters that are forbidden by the authorization policy. It specifically looks for creation requests that are denied with a "forbid" decision, indicating that the user or service account does not have the necessary permissions to perform the action. This activity is commonly associated with adversaries attempting to create resources in a Kubernetes environment without proper authorization, which can lead to unauthorized access, manipulation of cluster resources, lateral movement and/or privilege escalation.
Read More -
This rule detects when a forbidden request is made from an unusual user agent in a Kubernetes environment. Adversary tooling may use non-standard or unexpected user agents to interact with the Kubernetes API, which can indicate an attempt to evade detection or blend in with legitimate traffic. In combination with a forbidden request, this behavior can suggest an adversary is attempting to exploit vulnerabilities or misconfigurations in the Kubernetes cluster.
Read More -
Adversaries who land credentials in a cluster—or abuse an over-privileged token—often map the environment before exfiltration or privilege escalation. A practical first pass is to learn where workloads run, how the cluster is partitioned, and what RBAC exists at namespace vs cluster scope. Rapid
get/listtraffic across distinct API resource kinds that answer those questions (namespaces, workloads, roles, cluster-wide roles) is a common setup and orientation pattern for both interactive attackers and automated recon scripts. It is less typical for steady-state controllers, which usually touch a narrow set of resources repeatedly. This rule highlights that cross-resource burst from a single client fingerprint within a one-minute bucket so analysts can separate routine automation from potential discovery and permission reconnaissance ahead of follow-on actions.
Read More -
Kubernetes Pod Created with a Sensitive hostPath Volume
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rule detects when a pod is created with a sensitive volume of type hostPath. A hostPath volume type mounts a sensitive file or folder from the node to the container. If the container gets compromised, the attacker can use this mount for gaining access to the node. There are many ways a container with unrestricted access to the host filesystem can escalate privileges, including reading data from other containers, and accessing tokens of more privileged pods.
Read More -
Kubernetes Pod Created With HostIPC
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rule detects an attempt to create or modify a pod using the host IPC namespace. This gives access to data used by any pod that also use the hosts IPC namespace. If any process on the host or any processes in a pod uses the hosts inter-process communication mechanisms (shared memory, semaphore arrays, message queues, etc.), an attacker can read/write to those same mechanisms. They may look for files in /dev/shm or use ipcs to check for any IPC facilities being used.
Read More -
Kubernetes Pod Created With HostNetwork
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rules detects an attempt to create or modify a pod attached to the host network. HostNetwork allows a pod to use the node network namespace. Doing so gives the pod access to any service running on localhost of the host. An attacker could use this access to snoop on network activity of other pods on the same node or bypass restrictive network policies applied to its given namespace.
Read More -
Kubernetes Pod Created With HostPID
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rule detects an attempt to create or modify a pod attached to the host PID namespace. HostPID allows a pod to access all the processes running on the host and could allow an attacker to take malicious action. When paired with ptrace this can be used to escalate privileges outside of the container. When paired with a privileged container, the pod can see all of the processes on the host. An attacker can enter the init system (PID 1) on the host. From there, they could execute a shell and continue to escalate privileges to root.
Read More -
This rule detects potential endpoint enumeration attempts by an anonymous user. An anonymous user is a user that is not authenticated or authorized to access the Kubernetes API server. By looking for a series of failed API requests, on multiple endpoints, and a limited number of documents, this rule can detect automated permission enumeration attempts. This behavior is uncommon for regular Kubernetes clusters.
Read More -
This rule detects potential endpoint enumeration attempts by a single user and source IP address. By looking for a combination of failed/successful API requests across multiple endpoints and a limited number of documents, this rule can detect automated permission enumeration attempts. This behavior is uncommon for regular Kubernetes clusters.
Read More -
Kubernetes Privileged Pod Created
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Execution Tactic: Privilege Escalation Resources: Investigation Guide Noise: Medium Performance: Fast Profile: Recommended Threat: Container Escape Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·This rule detects when a user creates a pod/container running in privileged mode. A highly privileged container has access to the node's resources and breaks the isolation between containers. If compromised, an attacker can use the privileged container to gain access to the underlying host. Gaining access to the host may provide the adversary with the opportunity to achieve follow-on objectives, such as establishing persistence, moving laterally within the environment, or setting up a command and control channel on the host.
Read More -
This rule detects an unusual volume of Kubernetes API get requests against multiple distinct Secret objects from the same client fingerprint (user, source IP, and user agent) within a defined lookback window. This can indicate credential access or in-cluster reconnaissance, where a user or token is used to enumerate and retrieve sensitive data such as service account tokens, registry credentials, TLS material, or application configuration. Failed get requests are also included, as they may reveal RBAC boundaries, confirm the existence of targeted secrets, or reflect automated probing activity.
Read More -
Flags an existing Role or ClusterRole being changed (patch or update) so the effective rules become cluster-admin-like: wildcard on every API resource and wildcard on every verb. That is usually a deliberate privilege expansion, not a typo. RequestResponse audit and the response body are required so the detection reads the merged role after apply; loopback source IPs are ignored.
Read More -
This rule detects when secrets are accessed via an unusual user agent, user name and source IP. Attackers may attempt to access secrets in a Kubernetes cluster to gain access to sensitive information after gaining access to the cluster.
Read More -
Kubernetes Secret Get or List from Node or Pod Service Account
Sep 19, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Domain: Containers Domain: Cloud ·Kubernetes audit identities for kubelet (system:node:) and workloads (system:serviceaccount:) are meant to operate with tight, predictable API usage. Direct get or list on the Secrets API from those principals is often a sign of credential access. Attackers who stole a pod service-account token or node credentials sweep Secret objects for tokens, registry credentials, TLS keys, or application configuration. Even denied attempts still reveal intent to reach sensitive material. Legitimate controllers do read secrets they mount or manage, so this signal is most valuable when paired with triage (namespace scope, user agent, RBAC, and whether the identity should touch those secret names at all).
Read More -
Kubernetes Secret Get or List with Suspicious User Agent
Sep 19, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Credential Access Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Domain: Containers Domain: Cloud ·Detects read access to Kubernetes Secrets (get/list) with a user agent matching a curated set of non-standard or attacker-leaning clients, for example minimal HTTP tooling, common scripting stacks, default library fingerprints, or distribution-tagged strings associated with offensive-security Linux images. Legitimate in-cluster automation usually presents stable, purpose-specific user agents (for example controller or client-go variants used by known components).
Read More -
Kubernetes Secret or ConfigMap Access via Azure Arc Proxy
Sep 19, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Kubernetes Platform: Kubernetes Domain: Cloud Use Case: Threat Detection Tactic: Credential Access Tactic: Collection Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: ES|QL Domain: Containers ·Detects when secrets or configmaps are accessed, created, modified, or deleted in a Kubernetes cluster by the Azure Arc AAD proxy service account. When operations are routed through the Azure Arc Cluster Connect proxy, the Kubernetes audit log records the acting user as system:serviceaccount:azure-arc:azure-arc-kube-aad-proxy-sa with the actual caller identity in the impersonatedUser field. This pattern indicates that someone is accessing the cluster through the Azure ARM API rather than directly via kubectl against the API server. While legitimate for Arc-managed workflows, adversaries with stolen service principal credentials can abuse Arc Cluster Connect to read, exfiltrate, or modify secrets and configmaps while appearing as the Arc proxy service account in K8s audit logs. This rule uses a 5-day new-terms history window keyed on the impersonated identity and alerts the first time that Azure AD principal performs this activity.
Read More -
Detects list operations on Kubernetes Secrets from a non-loopback client when the request URI targets cluster-wide secrets or list operations under kube-system or default. Useful for spotting broad secret enumeration from remote clients.
Read More -
Kubernetes Sensitive Configuration File Activity
Sep 19, 2026 · Domain: Endpoint Domain: Kubernetes Domain: Containers OS: Linux Use Case: Threat Detection Tactic: Persistence Data Source: Elastic Defend Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Low Performance: Normal Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes ·This rule detects the creation or modification of sensitive Kubernetes configuration files on Linux systems. These files include Kubernetes manifests, PKI files, and configuration files that are critical for the operation of Kubernetes clusters. Monitoring these files helps identify potential unauthorized changes or misconfigurations that could lead to security vulnerabilities in Kubernetes environments. Attackers may attempt to modify these files to gain persistence or to deploy malicious containers within the Kubernetes cluster.
Read More -
Kubernetes Sensitive RBAC Change Followed by Workload Modification
Sep 19, 2026 · Data Source: Kubernetes Data Source: Kubernetes API Server Audit Logs Domain: Containers Domain: Kubernetes Platform: Kubernetes Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Persistence Resources: Investigation Guide Rule Type: Event Correlation (EQL) Noise: High Performance: Fast Profile: Aggressive Domain: Cloud ·Detects a sequence where a principal creates or modifies a Role/ClusterRole to include high-risk permissions (e.g., wildcard access or escalation verbs) and then creates or patches a workload resource (DaemonSet, Deployment, or CronJob) shortly after, which may indicate RBAC-based privilege escalation followed by payload deployment. This pattern is often used by adversaries to gain unauthorized access to sensitive resources and deploy malicious payloads.
Read More -
Kubernetes Service Account Modified RBAC Objects
Sep 19, 2026 · Data Source: Kubernetes Domain: Kubernetes Use Case: Threat Detection Tactic: Privilege Escalation Tactic: Persistence Resources: Investigation Guide Noise: High Performance: Fast Profile: Aggressive Rule Type: Custom Query (KQL) Platform: Kubernetes Domain: Containers Domain: Cloud ·Detects write operations performed by Kubernetes service accounts against RBAC resources (Roles, ClusterRoles, RoleBindings, ClusterRoleBindings). Service accounts typically do not manage RBAC directly; this activity may indicate token abuse, misconfigured permissions, or unauthorized privilege escalation.
Read More -
Detects the creation of a Kubernetes service account token through the TokenRequest API by a non-system identity. The TokenRequest API allows users and workloads to programmatically generate short-lived tokens for any service account they have create permissions on, without accessing the filesystem or the mounted projected token. Attackers who have gained initial access to a cluster can abuse this API to mint tokens for more privileged service accounts, pivot to cloud provider resources via IRSA/workload identity, or generate long-lived tokens that persist beyond pod termination. Unlike mounted service account tokens which are detectable through file access monitoring, tokens created via the TokenRequest API leave no filesystem footprint, they are only visible in Kubernetes audit logs as a create verb on the serviceaccounts/token subresource. This rule excludes legitimate system components such as the kubelet, kube-controller-manager, and cloud provider managed identities (EKS, AKS, GKE) that routinely create tokens for pod lifecycle management.
Read More -
This rule detects a request to attach a controller service account to an existing or new pod running in the kube-system namespace. By default, controllers running as part of the API Server utilize admin-equivalent service accounts hosted in the kube-system namespace. Controller service accounts aren't normally assigned to running pods and could indicate adversary behavior within the cluster. An attacker that can create or modify pods or pod controllers in the kube-system namespace, can assign one of these admin-equivalent service accounts to a pod and abuse their powerful token to escalate privileges and gain complete cluster control.
Read More -
This rule detects when a service account or node attempts to enumerate their own permissions via the selfsubjectaccessreview or selfsubjectrulesreview APIs via an unusual user agent. This is highly unusual behavior for non-human identities like service accounts and nodes. An adversary may have gained access to credentials/tokens and this could be an attempt to determine what privileges they have to facilitate further movement or execution within the cluster.
Read More -
This rule detects a user attempt to establish a shell session into a pod using the 'exec' command. Using the 'exec' command in a pod allows a user to establish a temporary shell session and execute any process/commands in the pod. An adversary may call bash to gain a persistent interactive shell which will allow access to any data the pod has permissions to, including secrets.
Read More -
Multiple Cloud Secrets Accessed by Source Address
Sep 19, 2026 · Domain: Cloud Domain: IAM Domain: Storage Data Source: AWS Data Source: Amazon Web Services Data Source: AWS Secrets Manager Data Source: Azure Data Source: Azure Activity Logs Data Source: GCP Data Source: Google Cloud Platform Data Source: Kubernetes Tactic: Credential Access Resources: Investigation Guide Noise: Low Performance: Fast Profile: Recommended Rule Type: ES|QL Platform: AWS Platform: Azure Platform: Kubernetes Platform: GCP Domain: Containers Domain: Identity Service: AWS Secrets Manager Data Source: Azure Platform Logs Service: Azure Key Vault Service: GCP Secret Manager ·This rule detects authenticated sessions accessing secret stores across multiple environments from the same source address within a short period of time, including cloud providers (AWS, GCP, Azure) and Kubernetes clusters. Adversaries with access to compromised credentials or session tokens may attempt to retrieve secrets from services such as AWS Secrets Manager, Google Secret Manager, Azure Key Vault, or Kubernetes Secrets in rapid succession to expand their access or exfiltrate sensitive information.
Read More -
This rule detects potential direct Kubelet access via process arguments. An adversary may need to access the Kubelet API to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate or execute commands on the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster.
Read More -
Potential Impersonation Attempt via Kubectl
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS Use Case: Threat Detection Tactic: Defense Evasion Tactic: Discovery Data Source: Elastic Endgame Data Source: Elastic Defend Data Source: Auditd Manager Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: High Performance: Normal Profile: Aggressive Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS Platform: Kubernetes ·This rule detects potential impersonation attempts via the "kubectl" command in Linux and macOS environments. It identifies process events where "kubectl" is executed with arguments that suggest an attempt to impersonate another user or group, such as using "--kubeconfig", "--token", "--as", or "--as-group". This could indicate an adversary trying to gain unauthorized access or escalate privileges within a Kubernetes cluster. If this rule is triggered, in conjunction with rules related to secret access or kubeconfig file discovery, it may indicate a potential impersonation attempt.
Read More -
Potential Kubectl Masquerading via Unexpected Process
Sep 19, 2026 · Domain: Endpoint Domain: Containers Domain: Kubernetes OS: Linux OS: macOS Use Case: Threat Detection Tactic: Defense Evasion Data Source: Elastic Defend Data Source: Elastic Endgame Data Source: Crowdstrike Data Source: SentinelOne Data Source: Elastic Defend for Containers Resources: Investigation Guide Noise: Medium Performance: Normal Profile: Recommended Threat: Masquerading Rule Type: Event Correlation (EQL) Platform: Linux Platform: macOS Platform: Kubernetes ·This rule detects potential kubectl masquerading activity by monitoring for process events where the process name is not "kubectl" but the command line arguments include kubectl-related commands. This could indicate an adversary attempting to masquerade as legitimate kubectl activity to evade detection. This rule covers evasion gaps introduced by renaming the kubectl binary, or placing it in an unusual directory.
Read More -
This rule detects the execution of kubeletctl inside a container. Kubeletctl is a command-line tool that can be used to interact with the Kubelet API directly. It allows easy access to this API, making the often undocumented Kubelet API more accessible. It is often used to enumerate the Kubelet API or other resources inside the container, and may indicate an attempt to move laterally within the pod.
Read More -
This rule detects the reading of the service account namespace file inside a container. The service account namespace file is used to identify the namespace of the container in which it is running, and may be used by an adversary to get a better understanding of the container and the services running inside it.
Read More -
Service Account Token or Certificate Access Followed by Kubernetes API Request
Sep 19, 2026 · Data Source: Elastic Defend for Containers Data Source: Kubernetes Domain: Containers Domain: Kubernetes OS: Linux Use Case: Threat Detection Tactic: Execution Tactic: Credential Access Tactic: Discovery Resources: Investigation Guide Noise: Low Performance: Fast Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes Domain: Cloud ·This rule leverages a combination of Defend for Containers and Kubernetes audit logs to detect the access to the service account token or certificate followed by the execution of a direct interactive Kubernetes API request. An adversary may need to access the service account token or certificate to gain access to the Kubernetes API server or other resources within the cluster. These requests are often used to enumerate the Kubernetes API server or other resources within the cluster, and may indicate an attempt to move laterally within the cluster.
Read More -
This rule detects the reading of the service account token or certificate inside a container. The service account token or certificate is used to authenticate the container to the Kubernetes API server, and may be used by an adversary to gain access to the Kubernetes API server or other resources within the cluster. These files are a common target for adversaries to gain access to the cluster.
Read More -
Detects execution of container runtime CLI tools (ctr, crictl, nerdctl) with arguments indicating container creation, command execution inside existing containers, image manipulation, or host filesystem mounting. These tools interact directly with the container runtime socket, bypassing the Kubernetes API server, RBAC authorization, admission webhooks, pod security standards, and Kubernetes audit logging entirely. Attackers with host-level access may use these tools to create privileged ghost containers, exec into other pods to steal service account tokens and secrets, pull attacker-controlled images, and destroy evidence, all while remaining invisible to Kubernetes-level monitoring.
Read More -
This rule detects the enumeration of tools by the "which" command inside a container. The "which" command is used to list what tools are installed on a system, and may be used by an adversary to gain information about the container and the services running inside it.
Read More -
Detects the creation or modification of several sensitive workloads, such as DaemonSets, Deployments, or CronJobs, by an unusual user agent, source IP and username, which may indicate privilege escalation or unauthorized access within the cluster.
Read More -
Web Server Exploitation Detected via Defend for Containers
Sep 19, 2026 · Data Source: Elastic Defend for Containers Domain: Containers OS: Linux Use Case: Threat Detection Tactic: Persistence Tactic: Execution Tactic: Command and Control Resources: Investigation Guide Noise: Unknown Performance: Fast Profile: Recommended Threat: Web Shell Threat: Vulnerability Exploit Rule Type: Event Correlation (EQL) Platform: Linux Platform: Kubernetes ·This rule detects the exploitation of a web server through the execution of a suspicious process by common web server user accounts. Attackers may upload a web shell to a web server to maintain access to the system.
Read More