Skip to content
← RegistryDossier · 9 steps · 8 edges

SSRF → IMDS → AssumeRole chain → Org admin

A web SSRF leaks the EC2 instance role; iam:PassRole + sts:AssumeRole hops across two member accounts land you with AdministratorAccess in the organisation's management account.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: target is a multi-account AWS organisation. The compromised EC2 role has broad sts:AssumeRole and the trust policies on more privileged roles include wildcards or rely solely on external-id checks.

§ Steps

  1. 01
    Web SSRFLateral Movement
    W-SSRFServer-Side Request Forgery (SSRF)
  2. 02
    Steal EC2 role credentialsCredential Access
    C-IMDS-V1IMDSv1 Credential Theft
  3. 03
    Enumerate IAM (Pacu / enumerate-iam)Discovery
    T1087Account Discovery
  4. 04
    AssumeRole into member accountLateral Movement
    C-AWS-ASSUMEROLE-CHAINAWS sts:AssumeRole Chain
  5. 05
    iam:PassRole on a higher-priv rolePrivilege Escalation
    C-AWS-IAM-PASSROLEAWS iam:PassRole Chain
  6. 06
    Drop privileged LambdaExecution
    C-AWS-LAMBDA-EXECAWS Lambda Code Update → RCE
  7. 07
    AssumeRole into the management accountLateral Movement
    C-AWS-ASSUMEROLE-CHAINAWS sts:AssumeRole Chain
  8. 08
    Attach AdministratorAccess to selfPrivilege Escalation
    C-AWS-IAM-ADDUSER-POLICYAWS iam:AttachUserPolicy → AdminAccess
  9. 09
    Backdoor IAM user for re-entryPersistence
    C-AWS-IAM-BACKDOORAWS IAM Backdoor User / Access Key

§ References

§ Frequently asked

What is the "SSRF → IMDS → AssumeRole chain → Org admin" attack path?
A web SSRF leaks the EC2 instance role; iam:PassRole + sts:AssumeRole hops across two member accounts land you with AdministratorAccess in the organisation's management account. It chains 9 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Web SSRF (W-SSRF) — a lateral movement primitive. Assumed environment: target is a multi-account AWS organisation.
What is the final impact of this kill-chain?
The final step lands on Backdoor IAM user for re-entry (C-AWS-IAM-BACKDOOR), which falls under Persistence. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers