Lesson 1 of 9 · 20m
Cloud Attack Paths: Control Plane, Data Plane, Identity
Why cloud intrusions are usually control-plane operations, how attack paths form across services, and how to read an estate before touching it.
The first mistake new cloud testers make is treating AWS like a data center with better APIs. It is not a network of machines that happens to have IAM attached. It is an identity-driven control plane where a token can become infrastructure: read a secret, create a key, assume a role, invoke a Lambda, or modify a security group. The exploit is often not memory corruption. It is authorization logic behaving exactly as configured, just not as intended.
Three planes, three kinds of access
Control plane: aws ec2 create-key-pair, iam create-access-key, sts assume-role
Data plane: s3 cp, rds queries, application traffic, instance user data
Instance plane: process execution, local tokens, disks, container runtimeA traditional network intrusion starts on a host and reaches outward. A cloud intrusion often starts in the control plane and materializes hosts, access, or persistence only when convenient. Your first question on any finding should be: what identity can use this, and what can that identity become?
Attack paths are chains, not vulnerabilities
A single finding may look low impact. Chained together, it becomes a path:
public web app
→ SSRF
→ IMDS credential for instance role
→ role can ssm:SendCommand
→ command execution on private fleet
→ database credentials in parameter storeEvery hop is mundane. The path is severe because IAM joins the pieces. During reconnaissance, write paths as sentences: from X, using permission Y, I can reach Z. If you cannot say that sentence, you do not yet understand the finding.
Recon without guessing
Authorized cloud testing begins with inventory, not scanning everything blindly:
aws sts get-caller-identity
aws iam get-account-summary
aws organizations list-accounts 2>/dev/null || true
aws ec2 describe-regions --query 'Regions[].RegionName' --output textMap regions, accounts, identity providers, roles, instance profiles, secrets, and logging coverage. In mature estates the interesting question is rarely "is port 22 open?" It is "why does this CI role trust that repository, and where else can it go?"
Scoping is part of the exploit model
Cloud APIs are fast and global. A careless command can touch production in six regions. Keep an explicit account, region, and service scope; prefer read-only enumeration until you have approval for state-changing validation. Never test destructive persistence mechanisms just because the API permits them.
Field notes
AccessDeniedis information too: it tells you the boundary shape, especially when error messages distinguish missing permission from missing resource.- Resource ARNs reveal account IDs, regions, naming conventions, and sometimes environment ownership. Treat them as reconnaissance data.
- The control plane remembers intent. Creating and deleting a resource still leaves CloudTrail events, so noisy validation is not invisible validation.
- In reports, show the path end-to-end. A permission name alone convinces nobody who owns the risk.
Was this lesson helpful?