EC2 Instance and Security Group Enumeration
EC2 enumeration maps running compute, attached roles, network exposure, and snapshot history. Security groups define what traffic is allowed — misconfigurations here directly translate to exploitation paths.
Instances
Security Groups
High-value findings: ports 22, 3389, 5985, 5986, 3306, 5432, 6379, 27017 open to 0.0.0.0/0.
EBS Snapshots
Instance Metadata Service Version
--------------------------------------- | DescribeInstances | +----------------------+--------------+ | ID | IMDSv2 | +----------------------+--------------+ | i-0abc123456789 | optional | | i-0def987654321 | required | +----------------------+--------------+
optional = IMDSv1 enabled (vulnerable to SSRF). required = IMDSv2 only.
See IMDSv1 Enabled Detection and SSRF to IMDS Credential Theft.
Was this helpful?
Your feedback helps improve this page.