Elastic medium stable eql

AWS EKS Forbidden Creation Request

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.

View Source

Detection Logic

any where data_stream.dataset == "aws.eks_audit" and aws.eks.audit.verb == "create" and
aws.eks.audit.stage == "ResponseComplete" and `aws.eks.audit.annotations.authorization_k8s_io/decision` == "forbid" and
user.name != null and not user.name in ("system:kube-scheduler", "system:kube-controller-manager")

Field Validations

Loading…

Comments (0)

Loading comments...