Privilege Escalation (TA0004)(external, opens in a new tab or window)
text code block:data_stream.dataset : "aws.eks_audit" and aws.eks.audit.annotations.authorization_k8s_io/decision:"allow" and aws.eks.audit.objectRef.resource:pods and aws.eks.audit.verb:create and aws.eks.audit.requestObject.spec.containers.securityContext.privileged:true and not aws.eks.audit.requestObject.spec.containers.image: ( *amazonaws.com/betsie/pipeline/pipeline-core* or mirror.gcr.io/aquasec/trivy* or rancher/mirrored-longhornio-longhorn-instance-manager* or quay.io/calico* or rancher/system-agent* or openebs/m-exporter* or openebs/cstor-istgt* or ghcr.io/kubereboot/kured* or registry.k8s.io/sig-storage/csi-node-driver-registrar* or registry.k8s.io/csi-secrets-store* or registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper* or sonarsource/sonar-scanner-cli* or rancher/mirrored-longhornio-longhorn-engine* or jenkins/inbound-agent* or registry.k8s.io/dns/k8s-dns-node-cache* or *amazonaws.com/eks/kube-proxy* or *amazonaws.com/eks/aws-efs-csi-driver* or *amazonaws.com/eks/livenessprobe* or *amazonaws.com/amazon-k8s-cni* or *amazonaws.com/amazon/aws-network-policy-agent* or openebs/node-disk-manager* or openebs/node-disk-exporter* or public.ecr.aws/eks-distro/kubernetes-csi/livenessprobe* or public.ecr.aws/eks-distro/kubernetes-csi/external-provisioner* or amazon/aws-efs-csi-driver* or registry.k8s.io/kube-proxy* or registry.crowdstrike.com/falcon-sensor* or *octopus-deploy/tentacle* or */sysdig/* )
Install detection rules in Elastic Security
Detect AWS EKS Privileged Pod Created in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).