Elastic medium stable eql
AWS EKS Anonymous User Create/Update/Patch Pods Request
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.
Detection Logic
any where data_stream.dataset == "aws.eks_audit" and (
aws.eks.audit.user.username in ("system:anonymous", "system:unauthenticated") or
aws.eks.audit.impersonatedUser.username in ("system:anonymous", "system:unauthenticated") or
aws.eks.audit.user.username == null or
aws.eks.audit.user.username == ""
) and aws.eks.audit.level in ("RequestResponse", "ResponseComplete", "Request") and aws.eks.audit.verb in ("create", "update", "patch") and
aws.eks.audit.objectRef.resource == "pods" Field Validations
Loading…
Comments (0)
Loading comments...