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

> 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.

- **Author:** Threadlinqs Team
- **Published:** 2026-11-30T05:39:03Z
- **Last updated:** 2026-11-30T05:39:03Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7052
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7052.png
- **ID:** TL-2026-7052
- **Severity:** INFO
- **Category:** THREAT_INTEL
- **Status:** MONITORING
- **Detections:** 9 (1 shown free below) · **IOCs:** 8

## Description

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

- T1190 Exploit Public-Facing Application
- T1078.004 Valid Accounts: Cloud Accounts
- T1610 Deploy Container
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1610 Deploy Container
- T1550.001 Use Alternate Authentication Material: Application Access Token
- T1611 Escape to Host
- T1098.006 Account Manipulation: Additional Container Cluster Roles
- T1552.005 Unsecured Credentials: Cloud Instance Metadata API
- T1552.007 Unsecured Credentials: Container API
- T1613 Container and Resource Discovery
- T1069.003 Permission Groups Discovery: Cloud Groups
- T1526 Cloud Service Discovery
- T1580 Cloud Infrastructure Discovery
- T1550.001 Use Alternate Authentication Material: Application Access Token

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**EKS Privileged, Host-Root-Mounted or Host-Namespace Pod Created (TL-2026-7052)** (`TL-2026-7052-SPL-001`)

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

````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

```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

```yaml
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

- EKS Pod Creation Denied by Pod Security Admission (hostPath / Privileged Attempt) (locked: unlock with TL Creds)
- EKS Role/ClusterRole Modification or Escalate-Verb Grant by Non-System Identity (locked: unlock with TL Creds)
- EKS Node-Role Credentials Used for Cloud Discovery from Non-Cluster IP (aws-cli) (locked: unlock with TL Creds)
- EKS Node-Role Credentials Used from Outside the Cluster Network (locked: unlock with TL Creds)
- Kubelet staticPodPath Added to [indicator] on EKS Node (locked: unlock with TL Creds)
- GuardDuty EKS and Runtime Findings: Privileged Container, Sensitive Mount, Reverse Shell, Credential Exfiltration (locked: unlock with TL Creds)
- EKS Static Pod Mirror Created by system:node Identity (kubernetes.io/config.source=file) (locked: unlock with TL Creds)
- EKS RBAC Reconnaissance via selfsubjectrulesreviews / selfsubjectaccessreviews Bursts (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sources

- [AWS EKS forensics: data sources and investigation tooling (Synacktiv)](https://www.synacktiv.com/en/publications/aws-eks-forensics-data-sources-and-investigation-tooling.html)
- [Charting your way in: Helm template injection (SSTIC 2026, Paul Barbé)](https://www.synacktiv.com/sites/default/files/2026-06/charting_your_way_in_sstic_2026.pdf)
- [Kubernetes Forensics 1/3: what the container (Synacktiv)](https://www.synacktiv.com/en/publications/kubernetes-forensics-13-what-the-container)
- [AWS Forensics: what you need to know (Synacktiv)](https://www.synacktiv.com/en/publications/aws-forensics-what-you-need-to-know)
- [Amazon EKS control plane logs](https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html)
- [Amazon GuardDuty EKS audit log finding types](https://docs.aws.amazon.com/guardduty/latest/ug/guardduty-finding-types-eks-audit-logs.html)
- [Amazon GuardDuty Runtime Monitoring](https://docs.aws.amazon.com/guardduty/latest/ug/runtime-monitoring.html)
- [Install the CloudWatch Observability EKS add-on](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/install-CloudWatch-Observability-EKS-addon.html)
- [EKS Pod Identity](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html)
- [Kubernetes: RBAC privilege escalation prevention](https://kubernetes.io/docs/reference/access-authn-authz/rbac/#privilege-escalation-prevention-and-bootstrapping)
- [Kubernetes: Static Pods](https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/)
- [Kubernetes: Kubelet Checkpoint API](https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/)
- [Microsoft Threat Matrix for Kubernetes](https://microsoft.github.io/Threat-Matrix-for-Kubernetes/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7052
