Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How should security teams investigate an EKS privilege…
Threats, Abuse & Incident Response

How should security teams investigate an EKS privilege escalation after a CloudTrail alert shows new IAM key creation?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 30, 2026 Domain: Threats, Abuse & Incident Response

Start by anchoring the investigation to the alert window, then identify the actor from the ARN and trace related CloudTrail, EKS audit, and authenticator events together. Look for user creation, policy attachment, role assumption, pod creation, and secrets access. The goal is to build a timeline that shows how initial access expanded into lateral movement and persistence across the cluster.

How to trace the first access path behind the key creation alert

Start with the cloudtrail event window, then build outward from the principal ARN that created the key. Correlate that identity with adjacent CloudTrail activity, EKS audit logs, and authenticator events so you can tell whether the key was created by an already-compromised user, a delegated role, or a chain that moved from cloud control plane access into the cluster.

The most important early judgement is whether the key creation is the origin of the problem or just one step in a wider compromise. If you can align the timestamp with subsequent user creation, policy attachment, role assumption, or namespace activity, you usually get a better answer than investigating the IAM event in isolation.

For the access path itself, the investigation should treat the cloud identity and the cluster identity as one timeline, not two separate incidents. The point is to show how a valid API action turned into interactive reach inside EKS, because that is usually where privilege escalation becomes operationally useful to an attacker.

Which events usually show that escalation has crossed into the cluster

Look for the sequence that connects control-plane access to Kubernetes actions: new IAM access key creation, followed by policy or trust changes, then role assumption, then pod creation or modification, and finally access to Kubernetes Secrets or other sensitive configuration. A cluster compromise is rarely proven by one log line alone; it is proven by a chain of actions that fits a single operator or automation path.

Review EKS audit events for changes to service accounts, cluster roles, role bindings, and workloads that request elevated permissions. If the cloud identity used to create the key later appears in authenticator logs or in a mapped role used by kubectl, that is a strong sign the actor moved from AWS-side access into Kubernetes-side privilege.

Use the event sequence to distinguish initial access from persistence. Key creation may be the first durable foothold, but the more telling evidence is whether the actor used that foothold to create additional identities, widen permissions, or plant workloads that survive a password or session reset.

Why this pattern matters for containment and recovery

This investigation is not just about finding a bad key. It is about understanding whether the attacker can still authenticate, whether they reached cluster-level permissions, and whether they copied material that would let them return later. That makes credential scope, session validity, and workload access just as important as the original alert.

Teams often underestimate how quickly a cloud identity event can become a cluster event. Once an actor can assume a role that has EKS visibility or namespace write access, they may be able to create new pods, query mounted secrets, or pivot through service-linked permissions that look harmless in isolation.

In practice, the key question is whether the observed activity produced new trusted access paths. If the answer is yes, then the investigation should expand to every identity, role, and secret touched by that path, because persistence usually comes from the expanded trust boundary rather than from the original key alone.

Risk and Threat Considerations

New IAM key creation during an EKS incident often means the actor has already achieved enough privilege to maintain access outside the session that first triggered detection. The risk is not limited to AWS account abuse; the same identity may be able to move into the cluster, harvest Secrets, and create durable workloads that outlive the original alert window.

Failure mechanism: The attacker uses valid cloud credentials to create or reuse an access path, then leverages attached policies or assumed roles to reach Kubernetes objects, workloads, or secrets that enable lateral movement and persistence.

Impact: The environment can shift from a single compromised identity to a multi-layer compromise involving AWS IAM, EKS access, and sensitive application data, which raises both containment effort and the likelihood of re-entry after remediation.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1078 — Valid AccountsTracks use of valid cloud credentials and assumed identities in the intrusion chain.
Recommendation — Map the actor's cloud actions to valid-account abuse and hunt for follow-on access across AWS and EKS.
NIST SP 800-53 Rev 5AU-6 — Audit Review, Analysis, and ReportingCloudTrail and EKS audit correlation depends on audit analysis and event linkage.
IA-5 — Authenticator ManagementNew access key creation directly concerns lifecycle and control of authenticators and secrets.
AC-2 — Account ManagementThe incident pivots on account creation, key creation, and identity lifecycle abuse.
Recommendation — Correlate IAM, EKS, and authenticator logs under AU-6 to reconstruct the privilege-escalation timeline. Rotate or revoke exposed authenticators and verify no additional keys, tokens, or sessions remain active. Review account and key lifecycle events for unauthorized creation, changes, and dormant access paths.

Practitioner Guidance

What to verify: Confirm whether the key creation was followed by policy attachment, trust-policy edits, role assumption, or new cluster access within the same alert window. If those actions line up, treat the key as part of an active intrusion chain rather than as an isolated IAM hygiene issue.

Decision rule: If the same principal can reach both AWS control-plane actions and EKS-authenticated activity, prioritise containment of that identity and blast-radius assessment before spending time on root-cause theories. The investigation should answer “what did this identity reach?” before “how was it first obtained?”

What practitioners underestimate: Secrets access is often the most important pivot point, because once an attacker can read mounted or referenced credentials, the compromise can continue even after the original IAM key is revoked. Preserve the relevant logs and object state long enough to reconstruct that downstream access path.

Practitioner takeaway: The useful endpoint is not “a key was created,” but “how far that key let the actor travel.” Build the timeline so you can prove whether the compromise stopped at IAM or expanded into EKS persistence and secret exposure.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 30, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org