All articlesCloud Security

Cloud Pentesting: The 5 AWS Attack Paths We Find Most Often

2025-12-04 8 min read

From IAM lateral movement to misconfigured S3 buckets — the AWS attack chains we exploit on real engagements.

IAM AssumeRole abuse

Over-permissive trust policies let one compromised principal pivot across accounts. We map AssumeRole chains end-to-end and exploit them.

Fix: deny iam:PassRole and sts:AssumeRole on overly broad principals; use ABAC and SCPs to fence cross-account access.

Public S3 & bucket policies

Block Public Access is the floor — bucket policies and ACLs still leak in nuanced ways, especially with cross-account delegation.

Continuous monitoring catches drift; one-shot reviews miss it.

SSRF → IMDSv1 → role escalation

An SSRF in a web app plus IMDSv1 still gives instant role takeover in 2026. We see it monthly.

Enforce IMDSv2-only at the account level and use service control policies to lock it.

Lambda environment leakage

Secrets in Lambda env vars get logged, dumped via verbose errors and shared across reused execution environments.

Use Secrets Manager or Parameter Store with KMS, never env vars for sensitive material.

CloudTrail blind spots

CloudTrail doesn't log data plane events by default (S3 GetObject, Lambda Invoke). Attackers know — and exploit it.

Enable data-event logging on critical buckets and functions; alert on AssumeRole spikes.

Get started

Ready to find what attackers will?

Talk to a senior pentester. Get a tailored scope, sample report and timeline within 24 hours.