Skip to Content
AWS Security

AWS Security

AWS security assessment techniques including IAM exploitation, S3 enumeration, privilege escalation, and AWS-specific attack vectors for penetration testing.

Dec 9, 2025
Updated Nov 22, 2026
2 min read

Overview

Amazon Web Services (AWS) is the largest cloud provider, and on most cloud engagements it's the environment you'll be testing.

Notes in this section

AWS services that matter for testing

AreaServiceWhy it matters
IdentityIAMUsers, groups, roles, policies
IdentitySTSTemporary security credentials
IdentitySSOSingle sign-on integration
IdentityOrganizationsMulti-account management
ComputeEC2Virtual machines with the instance metadata service
ComputeLambdaServerless functions with execution roles to abuse
ComputeECS/EKSContainer services
StorageS3Object storage, the most common misconfiguration
StorageEBSBlock storage and its snapshots
StorageEFSFile system shares
NetworkVPCVirtual private cloud
NetworkSecurity groupsInstance firewall rules
NetworkNACLsNetwork access control lists

Common AWS misconfigurations

MisconfigurationWhat it looks like
Overly permissive IAM policies*:* actions and resources
Public S3 bucketsACLs or bucket policies allowing public access
Exposed credentialsAccess keys in code or environment variables
Weak security groupsInbound rules from 0.0.0.0/0
Unencrypted resourcesS3, EBS or RDS without encryption

AWS enumeration commands

# List IAM users
aws iam list-users

# Get current identity
aws sts get-caller-identity

# List S3 buckets
aws s3 ls

# List EC2 instances
aws ec2 describe-instances

# Check IAM policies attached to user
aws iam list-attached-user-policies --user-name TARGET

Tools

ToolPurpose
PacuAWS exploitation framework
ProwlerConfiguration assessment against AWS best practices
ScoutSuiteMulti-cloud security auditing
enumerate-iamBrute-forces which API calls a set of keys can make
S3ScannerS3 bucket enumeration

On this page