CloudFormation Stack Enumeration
CloudFormation templates describe the entire infrastructure. Stack parameters often contain database passwords, API keys, and AMI IDs. Stack outputs expose endpoint URLs, ARNs, and resource IDs.
List Stacks
Describe a Stack
Outputs, parameters (values visible if not marked NoEcho), and resource list:
Stack outputs often expose:
Database endpoint URLs
S3 bucket names
Load balancer DNS names
API Gateway URLs
IAM role ARNs
Get Template
Retrieve the actual template (JSON or YAML) used to deploy the stack:
List Stack Resources
Maps logical resource names to actual AWS resource IDs:
This tells you exactly what IAM roles, EC2 instances, RDS instances, and Lambda functions belong to this stack.
Stack Events
Stack events show the history of what was deployed and any previous configurations:
StackSets
StackSets deploy stacks across multiple accounts and regions — evidence of a multi-account AWS Organization:
Enumerating StackSet instances reveals which accounts are managed from the current account — useful for identifying lateral movement targets.
Parameter Visibility
Parameters marked NoEcho: true are masked in the API response. However, if you can retrieve the template and the stack was deployed with hardcoded Default values, those defaults are visible in the template itself — NoEcho only masks the runtime value, not the template default.
Was this helpful?
Your feedback helps improve this page.