963d01ba89
* [New Rule] Kubernetes Suspicious Assignment of Controller Service Account Issues -- #2034 Summary -- 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. * Update privilege_escalation_suspicious_assignment_of_controller_service_account.toml updated query after testing * Update non-ecs-schema.json added new field used in query update Co-authored-by: Colson Wilhoit <48036388+DefSecSentinel@users.noreply.github.com>