Skip to navigation

Threat reportThreat IntelligenceTL-2026-7052

AWS EKS Forensics: Data Sources and Investigation Tooling (Synacktiv CSIRT)

MONITORING

Synacktiv CSIRT maps the forensic data sources Amazon EKS exposes across the managed control plane, worker nodes and surrounding AWS services, and the tooling used to correlate them. It stresses that EKS enables little telemetry by default, so investigation outcomes depend on logging configured before an incident, and covers triage by EKS mode, evidence-preserving containment, acquisition priorities and pivoting by identity and source IP. First disclosed .

By

Key facts

IdentifiersTL-2026-7052
SeverityINFO
First disclosed
Affected productsAmazon Web Services Amazon EKS (standard node groups, EKS Auto Mode, Fargate)
ToolsArgoCD, aws-cli, kubectl
MITRE ATT&CK techniquesT1059.004 Command and Scripting Interpreter: Unix Shell, T1069.003 Permission Groups Discovery: Cloud Groups, T1078.004 Valid Accounts: Cloud Accounts, T1098.006 Account Manipulation: Additional Container Cluster Roles, T1190 Exploit Public-Facing Application, T1526 Cloud Service Discovery, T1550.001 Use Alternate Authentication Material: Application Access Token, T1552.005 Unsecured Credentials: Cloud Instance Metadata API, T1552.007 Unsecured Credentials: Container API, T1580 Cloud Infrastructure Discovery, T1610 Deploy Container, T1611 Escape to Host and 1 more in the attack flow
MotivationUNKNOWN
Target sectorstechnology, cloud services
Target regionsGlobal
Detection rules9 (1 shown free)
Sources13 cited sources

Detection coverage

As of 2026-11-30, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-7052 across Splunk SPL, Microsoft KQL and Sigma, covering 8 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: EKS Privileged, Host-Root-Mounted or Host-Namespace Pod Created (TL-2026-7052)

Detects successful creation of a pod in the EKS kube-apiserver audit log that runs a privileged container, mounts the node root filesystem (hostPath /), or shares the host PID/network namespace. This is the behaviour behind the GuardDuty findings PrivilegeEscalation:Kubernetes/PrivilegedContainer and Persistence:Kubernetes/ContainerWithSensitiveMount, and it is the usual way for a stolen kubectl, ArgoCD or ServiceAccount identity to reach the node (Deploy Container / Escape to Host). Requires the EKS audit control plane log type to be enabled and shipped to Splunk from /aws/eks/<cluster>/cluster.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1610, T1611
  • Data sources: aws_eks:kube-apiserver-audit, aws:cloudwatchlogs, AWSCloudWatch, kubernetes:audit
  • Severity: high
  • Confidence: high

Splunk SPL

index=aws_eks sourcetype="aws:cloudwatchlogs" source="/aws/eks/*/cluster" log_stream="kube-apiserver-audit-*" earliest=-24h verb=create
| spath
```comment: pod create (not exec/attach subresource) that is privileged, mounts node root, or joins host namespaces; kube-system excluded```
| search "objectRef.resource"=pods NOT "objectRef.subresource"=* "responseStatus.code"<400 NOT "objectRef.namespace"=kube-system ("requestObject.spec.containers{}.securityContext.privileged"=true OR "requestObject.spec.volumes{}.hostPath.path"="/" OR "requestObject.spec.hostPID"=true OR "requestObject.spec.hostNetwork"=true)
| stats count min(_time) as first_seen max(_time) as last_seen values("objectRef.namespace") as namespace values("objectRef.name") as pod values(userAgent) as user_agent by "user.username", sourceIPs{}
| convert ctime(first_seen) ctime(last_seen)

Microsoft KQL

AWSCloudWatch
| where TimeGenerated > ago(24h)
| where LogGroupName startswith '/aws/eks/' and LogStreamName startswith 'kube-apiserver-audit'
| extend a = parse_json(Message)
| where tostring(a.verb) == 'create' and tostring(a.objectRef.resource) == 'pods' and isempty(tostring(a.objectRef.subresource))
| where toint(a.responseStatus.code) < 400 and tostring(a.objectRef.namespace) != 'kube-system'
| where Message has '"privileged":true' or Message has '"hostPath":{"path":"/"' or Message has '"hostPID":true' or Message has '"hostNetwork":true'
| project TimeGenerated, LogGroupName, User = tostring(a.user.username), SourceIP = tostring(a.sourceIPs[0]), UserAgent = tostring(a.userAgent), Namespace = tostring(a.objectRef.namespace), Pod = tostring(a.objectRef.name)

Sigma

title: EKS Privileged or Host-Mounted Pod Created
id: 7c1e4a52-3b0d-4f6a-9d21-5a8e0c7b1f01
status: experimental
description: Detects creation of a pod that runs a privileged container, mounts the node root filesystem or shares host PID/network namespaces in the Kubernetes (EKS) audit log. Corresponds to GuardDuty PrivilegeEscalation:Kubernetes/PrivilegedContainer and Persistence:Kubernetes/ContainerWithSensitiveMount.
references:
  - https://www.synacktiv.com/en/publications/aws-eks-forensics-data-sources-and-investigation-tooling.html
  - https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-finding-types-eks-audit-logs.html
author: Threadlinqs Team
date: 2026-11-30
tags:
  - attack.privilege-escalation
  - attack.t1611
  - attack.execution
  - attack.t1610
logsource:
  product: kubernetes
  service: audit
detection:
  selection:
    verb: create
    objectRef.resource: pods
  filter_subresource:
    objectRef.subresource|exists: true
  filter_system_ns:
    objectRef.namespace: kube-system
  filter_failed:
    responseStatus.code|gte: 400
  risky_privileged:
    requestObject.spec.containers.securityContext.privileged: true
  risky_hostpath:
    requestObject.spec.volumes.hostPath.path: '/'
  risky_hostns:
    - requestObject.spec.hostPID: true
    - requestObject.spec.hostNetwork: true
  condition: selection and 1 of risky_* and not 1 of filter_*
falsepositives:
  - CNI, CSI, monitoring and node-agent DaemonSets deployed outside kube-system
  - Platform engineers debugging with kubectl debug node/
level: high

Known false positives:

  • CNI, CSI, log-collector and security-agent DaemonSets that legitimately run privileged or with hostPath outside kube-system
  • Platform engineers running kubectl debug node/ as a last-resort node access step during an incident

Tuning notes: Allow-list known privileged DaemonSets by namespace plus objectRef.name or service-account, and add additional system namespaces (for example amazon-cloudwatch) after baselining. Keep the audit log type enabled and retained; if Splunk extracts the audit JSON from a nested message field, adjust the spath input accordingly.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • EKS Pod Creation Denied by Pod Security Admission (hostPath / Privileged Attempt) · unlock with TL Creds
  • EKS Role/ClusterRole Modification or Escalate-Verb Grant by Non-System Identity · unlock with TL Creds
  • EKS Node-Role Credentials Used for Cloud Discovery from Non-Cluster IP (aws-cli) · unlock with TL Creds
  • EKS Node-Role Credentials Used from Outside the Cluster Network · unlock with TL Creds
  • Kubelet staticPodPath Added to [indicator] on EKS Node · unlock with TL Creds
  • GuardDuty EKS and Runtime Findings: Privileged Container, Sensitive Mount, Reverse Shell, Credential Exfiltration · unlock with TL Creds
  • EKS Static Pod Mirror Created by system:node Identity (kubernetes.io/config.source=file) · unlock with TL Creds
  • EKS RBAC Reconnaissance via selfsubjectrulesreviews / selfsubjectaccessreviews Bursts · unlock with TL Creds

Indicators of compromise

As of 2026-11-30, Threadlinqs Intelligence tracks 8 indicators of compromise for TL-2026-7052.

8 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

This is defensive DFIR guidance published on 2026-08-24 by Théo Letailleur of the Synacktiv CSIRT, part of a Kubernetes forensics series. It is not a vulnerability or an active campaign: no CVE, CVSS score, named threat actor or network IOC is stated, and no exploitation is claimed. It is retained as a detection-engineering and forensics reference for Amazon EKS environments. Third-party runtime tools (Falco, Sysdig, Wiz) are explicitly out of scope; the article covers AWS-native evidence only.

The article starts with triage by compute mode. Standard EKS (managed or self-managed node groups) allows SSH or SSM access to EC2 workers. EKS Auto Mode uses immutable Bottlerocket AMIs with no SSH/SSM, nodes live at most 21 days, and node-level access needs a privileged debug pod. Fargate runs one micro-VM per pod with no node access, and DaemonSet collectors such as Fluent Bit and the GuardDuty runtime agent do not run. Triage questions are which mode is in use, which telemetry is enabled, and whether the suspicious pod was already deleted or restarted.

Telemetry is mostly disabled by default. EKS control plane logs (api, audit, authenticator, controllerManager, scheduler) must be enabled per cluster (for example with aws eks update-cluster-config --logging) and land in the log group /aws/eks/[cluster]/cluster in streams such as kube-apiserver-audit-* and authenticator-*. The audit log is the central source: user.username, verb, objectRef.*, responseStatus.code, sourceIPs, userAgent and requestObject, which holds the full pod manifest on creation. Data plane logs come from the amazon-cloudwatch-observability add-on (CloudWatch agent plus Fluent Bit DaemonSet) into /aws/containerinsights/[cluster]/application, host (dmesg, secure, messages), dataplane (journald for kubelet, kube-proxy and the container runtime) and performance. AWS-level sources are GuardDuty EKS Protection (audit-log analysis through its own stream, independent of control plane logging, though CloudWatch audit logging is still needed for analysis and retention) and optional Runtime Monitoring (eBPF), CloudTrail (eks.amazonaws.com and eks-auth.amazonaws.com for Pod Identity), and VPC Flow Logs, which have no native Kubernetes context and require correlating ENI IPs with a time-stamped inventory. Workload identities are the node IAM role, IRSA and EKS Pod Identity.

The article describes CloudWatch Logs Insights hunts for: mutating verbs (create/update/patch/delete) grouped by identity, source IP and user agent; RBAC reconnaissance bursts of selfsubjectaccessreviews and selfsubjectrulesreviews (akin to kubectl auth can-i --list); role and clusterrole modification and use of the escalate verb; Pod Security Admission denials (HTTP 403, for example hostPath volumes); system:node: identities inspecting their own permissions, which a legitimate kubelet does not do; Traefik ingress logs for real client source IPs (the example was ArgoCD sync requests); and host logs (sshd, sudo, systemd, kubelet stop/start). GuardDuty findings it cites as leads are PrivilegeEscalation:Kubernetes/PrivilegedContainer, Persistence:Kubernetes/ContainerWithSensitiveMount, Execution:Runtime/ReverseShell, UnauthorizedAccess:IAMUser/InstanceCredentialExfiltration.OutsideAWS/.InsideAWS and Execution:Kubernetes/AnomalousBehavior.WorkloadDeployed. It notes GuardDuty rules are undisclosed and not extensible, Runtime Monitoring does not support Fargate, and findings are leads, not verdicts. In CloudTrail, node-role activity is isolated by filtering on the node role ARN and excluding node subnets and the NAT gateway egress IP; bursts of Describe*/List*/Get* from non-cluster IPs with aws-cli user agents indicate cloud discovery with a stolen token.

Attacker behaviours referenced as investigation scenarios include Helm template injection through a GitOps controller (ArgoCD, per an SSTIC 2026 talk by Paul Barbé), RBAC enumeration, role/clusterrole editing with the escalate verb, hostPath pod creation blocked by Pod Security Admission, privileged pods and root filesystem mounts (node root / bound to /mnt), reverse shells, theft of IMDS node credentials and ServiceAccount tokens replayed from external IPs, and node persistence through static pods. EKS AMIs do not set staticPodPath by default, so an attacker must add it (for example /etc/kubernetes/kubelet/manifests) in /etc/kubernetes/kubelet/config.json and restart kubelet; this prerequisite is itself an observable artefact. The kubelet then creates a mirror pod, created by a system:node: identity, with annotation kubernetes.io/config.source = file (versus api) and a name containing the node's instance IP.

Acquisition priority is live pod and node-local tokens first (memory, process state, writable layer and projected tokens under /var/lib/kubelet/pods/*/kubernetes.io~projected/*/token are lost on restart), then Kubernetes context via an administrator kubectl session (get pod -o yaml, RBAC, events, ServiceAccounts), then CloudWatch logs, which are durable. kubectl debug node/<node> mounts the host under /host but adds a pod and fresh audit entries. The kubelet checkpoint API (beta since v1.30) is unusable on EKS at the time of writing because EKS-optimized AMIs do not ship CRIU. Containment guidance: avoid kubectl delete or restarts, isolate with NetworkPolicies and Security Groups while keeping liveness/readiness probes satisfied, and revoke or rotate stolen node-role credentials and ServiceAccount tokens, since network isolation alone does not stop replay from elsewhere. The investigation approach pivots on two keys across all layers, the acting identity and the source IP: GuardDuty or an anomaly is the entry point, then audit-log reconstruction, then application and host logs, then a CloudTrail check for crossover into AWS. In-container command execution is visible only through runtime monitoring or third-party agents. Hardening recommendations are audit logging with adequate retention, Container Insights, GuardDuty EKS Protection and Runtime Monitoring, CloudTrail, permission boundaries on node and pod IAM roles, restricted Pod Security Admission, and least-privilege ServiceAccounts. Observed techniques can be mapped to the Microsoft Threat Matrix for Kubernetes. The article's thesis is that most of an investigation's outcome is decided before the incident.

MITRE ATT&CK techniques by tactic:

Execution

T1059.004 Command and Scripting Interpreter: Unix Shell; T1610 Deploy Container

Discovery

T1069.003 Permission Groups Discovery: Cloud Groups; T1526 Cloud Service Discovery; T1580 Cloud Infrastructure Discovery; T1613 Container and Resource Discovery

Initial Access

T1078.004 Valid Accounts: Cloud Accounts; T1190 Exploit Public-Facing Application

Privilege Escalation

T1098.006 Account Manipulation: Additional Container Cluster Roles; T1611 Escape to Host

lateral-movement

T1550.001 Use Alternate Authentication Material: Application Access Token

Lateral Movement

T1550.001 Use Alternate Authentication Material: Application Access Token

Credential Access

T1552.005 Unsecured Credentials: Cloud Instance Metadata API; T1552.007 Unsecured Credentials: Container API

execution

T1610 Deploy Container

Remediation

Immediate actions

  • Enable all five EKS control plane log types (api, audit, authenticator, controllerManager, scheduler) with aws eks update-cluster-config --logging and set adequate retention on /aws/eks/[cluster]/cluster
  • Enable GuardDuty EKS Protection and, where supported, Runtime Monitoring (not supported on Fargate)
  • During an incident, do not kubectl delete or restart the suspect pod; collect live pod state and node-local ServiceAccount tokens first
  • Revoke or rotate stolen node-role credentials and leaked ServiceAccount tokens; network isolation alone does not stop replay

Workarounds

  • Isolate suspect pods with NetworkPolicies and Security Groups while keeping liveness and readiness probes satisfied
  • On Auto Mode nodes (no SSH/SSM) use a privileged debug pod (kubectl debug node/<node>) only as a last resort, as it creates new audit entries

Longer-term hardening

  • Deploy the amazon-cloudwatch-observability add-on (CloudWatch agent and Fluent Bit) for application, host and dataplane logs
  • Maintain a time-stamped pod/ENI IP inventory so VPC Flow Logs can be attributed to pods
  • Apply permission boundaries to node and pod IAM roles and use least-privilege ServiceAccounts
  • Enforce restricted Pod Security Admission on non-privileged namespaces
  • Retain ingress controller logs (for example Traefik) to keep client source IPs

Affected and fixed versions

  • Amazon Web Services — Amazon EKS (standard node groups, EKS Auto Mode, Fargate)

Timeline

  • Related research 'Charting your way in: Helm template injection' (Paul Barbé) presented at SSTIC 2026 and cited by the article as an application-layer initial-access example via ArgoCD; the PDF is hosted under Synacktiv's 2026-06 uploads (exact day not stated, month only).
  • Article sets acquisition priority (live pod and node tokens, then kubectl context, then CloudWatch logs) and containment guidance (no kubectl delete or restart, NetworkPolicy/Security Group isolation, rotate stolen credentials); notes the kubelet checkpoint API is unusable on EKS because AMIs lack CRIU.
  • Article details node persistence via static pods: staticPodPath added to [file path withheld] plus kubelet restart, yielding a mirror pod from a system:node: identity with kubernetes.io/config.source = file.
  • Article cites GuardDuty findings (PrivilegedContainer, ContainerWithSensitiveMount, ReverseShell, InstanceCredentialExfiltration, AnomalousBehavior.WorkloadDeployed) and Logs Insights hunts for RBAC reconnaissance, RBAC changes, PSA denials and static-pod persistence.
  • Article gives triage by EKS mode: standard EC2 nodes (SSH/SSM), Auto Mode (immutable Bottlerocket, no SSH/SSM, 21-day node lifetime) and Fargate (no node access, no DaemonSets, no Runtime Monitoring).
  • Article documents control plane logs, Container Insights, GuardDuty EKS Protection and Runtime Monitoring, CloudTrail and VPC Flow Log sources, and notes EKS ships little telemetry enabled by default.
  • Synacktiv CSIRT (Théo Letailleur) publishes 'AWS EKS forensics: data sources and investigation tooling', the first public disclosure of this guidance.
  • Retained by the Threadlinqs platform as a low-severity detection-engineering and forensics reference (no CVE, actor or exploitation claim).

Sources cited

AI-drafted from 13 cited sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats