Skip to content
AWS
Platform

AWS

Enumeration, exploitation, and post-exploitation techniques targeting AWS environments. Covers IAM abuse, metadata service, S3 misconfigurations, credential harvesting, and lateral movement across accounts and services.

38 guides 6 phases
1 min read Created: May 24, 2026 Updated: Jul 13, 2026

Amazon Web Services (AWS) is the largest cloud platform, hosting infrastructure for organizations of every size. Cloud pentesting on AWS targets a fundamentally different attack surface than traditional networks: identity and access management (IAM) policies replace firewall rules, API calls replace network protocols, and misconfigured permissions replace open ports as the primary entry points.

AWS-specific attacks focus on IAM privilege escalation (overly permissive policies, assumable roles, cross-account trust), exposed storage (public S3 buckets, EBS snapshots), compute exploitation (EC2 instance metadata service, Lambda function injection, container escapes), and credential harvesting (environment variables, instance profiles, SSM Parameter Store, Secrets Manager). The metadata service at 169.254.169.254 remains one of the most exploited endpoints in cloud environments.

This section covers AWS pentesting techniques: enumeration of IAM users, roles, policies, and resource configurations, exploitation of misconfigured permissions and exposed services, privilege escalation through policy abuse, role chaining, and cross-service pivoting, and post-exploitation including data exfiltration from S3, RDS, and DynamoDB. Core tooling includes Pacu, enumerate-iam, ScoutSuite, Prowler, and the AWS CLI.

Reconnaissance

AWS recon covering S3, IAM, CloudFront, and asset exposure mapping

4

AWS Account ID and IAM Discovery

Techniques for enumerating AWS Account IDs and IAM principals using unauthenticated and authenticated methods to map cloud identity attack surface.

May 24, 2026 • 3 min read

AWS Asset Exposure Mapping

Identify and enumerate publicly exposed AWS assets including S3 buckets, EC2 instances, APIs, and misconfigured IAM policies to map an organisation's attack surface.

May 24, 2026 • 3 min read

Route53 and CloudFront Reconnaissance

Enumerate AWS Route53 DNS records and CloudFront distributions to map target infrastructure, identify origins, uncover misconfigurations, and expose hidden endpoints.

May 24, 2026 • 5 min read

S3 Bucket Discovery

Techniques for discovering exposed AWS S3 buckets through permutation, DNS enumeration, and metadata analysis to identify misconfigured storage assets.

May 24, 2026 • 1 min read

Enumeration

Guides covering AWS service enum across IAM, EC2, S3, and more

28

CloudFormation Stack Enumeration

Enumerate AWS CloudFormation stacks, resources, outputs, and parameters to map infrastructure, expose sensitive configs, and identify attack paths.

May 24, 2026 • 2 min read
2 steps

EC2

May 24, 2026

EC2 Instance and Security Group Enumeration

Enumerate AWS EC2 instances and security groups using CLI and SDK techniques to map attack surface, expose misconfigurations, and identify lateral movement opportunities.

May 24, 2026 • 2 min read

Vulnerability Discovery

Find EC2 SSRF flaws to steal IAM creds via metadata endpoint

1

IMDSv1 Enabled Detection

Detects EC2 instances with IMDSv1 enabled, exposing metadata endpoints to SSRF attacks. Covers enumeration, risk assessment, and remediation via IMDSv2 enforcement.

Aug 10, 2026 • 3 min read

Exploitation

Guides on OIDC trust abuse and SSRF-based IMDS credential theft in AWS

2

SSRF to IMDS Credential Theft

Exploit SSRF vulnerabilities to query AWS IMDSv1/v2 endpoints, extract IAM role credentials, and escalate privileges within the target AWS environment.

Aug 10, 2026 • 2 min read

OIDC Federation Abuse

Exploit trust relationships in OIDC federation to assume IAM roles via manipulated identity tokens, bypassing traditional credential-based authentication in AWS.

Aug 10, 2026 • 4 min read

Privilege Escalation

IAM PassRole and Lambda abuse guides for AWS priv esc

1

IAM PassRole Lambda Escalation

Exploits iam:PassRole and lambda:CreateFunction to escalate privileges by deploying a Lambda function that assumes a higher-privileged IAM role.

Aug 10, 2026 • 3 min read

Setup

Covers cred types, tool install, and CLI config for AWS pentests

2

AWS Pentesting Tools & Configuration

Covers AWS pentesting environment setup, including tool installation, credential configuration, IAM permissions, and CLI/SDK preparation for cloud security assessments.

May 24, 2026 • 3 min read