Elastic low stable kql
AWS EKS Unusual Kubernetes Sensitive Workload Modification
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.
Detection Logic
data_stream.dataset:"aws.eks_audit" and user_agent.original:* and
aws.eks.audit.annotations.authorization_k8s_io/decision:"allow" and
aws.eks.audit.objectRef.resource:("daemonsets" or "deployments" or "cronjobs") and
aws.eks.audit.verb:("create" or "patch") and
not aws.eks.audit.user.groups:"system:masters" and
not aws.eks.audit.annotations.authorization_k8s_io/reason:"AmazonEKSClusterAdminPolicy" and
not user.name:eks\:* Field Validations
Loading…
Comments (0)
Loading comments...