Elastic high stable kql
AWS EKS Secret get or list with Suspicious User Agent
Detects read access to Kubernetes Secrets (get/list) with a user agent matching a curated set of non-standard or attacker-leaning clients, for example minimal HTTP tooling, common scripting stacks, default library fingerprints, or distribution-tagged strings associated with offensive-security Linux images. Legitimate in-cluster automation usually presents stable, purpose-specific user agents (for example controller or client-go variants used by known components).
Detection Logic
data_stream.dataset:"aws.eks_audit" and
event.action:(get or list) and event.outcome:success and
aws.eks.audit.objectRef.resource:"secrets" and
user_agent.original:(
curl* or python* or Python* or wget* or Go-http* or perl* or java* or node* or php* or
*distrib#kali* or *kali-amd64* or *kali-arm64* or Bun* or axios* or undici*
) and
source.ip:* False Positives
- ⚠ Operators may use ad hoc HTTP clients, scripts, or penetration-test images during approved exercises or break-glass maintenance; validate tickets, source IP, and identity before treating as compromise.
- ⚠ Internal automation built with generic libraries can resemble suspicious user agents; baseline known jobs and tune by service account, namespace, or stable source IP allowlists.
Field Validations
Loading…
Comments (0)
Loading comments...