SecretsManager
Secret Managers Enumeration and Exploitation
Secrets Manager helps manage access to applications, services and IT resources
Enumeration
List all secrets that are stored by Secrets Manager
aws secretsmanager list-secretsDescribe about a specified secret
aws secretsmanager describe-secret --secret-id [secret-name]Resource-based policy attached to the specified secret
aws secretsmanager get-resource-policy --secret-id [secret-id]Key Management Server, KMS
All keys available in KMS
aws kms list-keysDescribe about a specified key
aws kms describe-key --key-id [key-id]List of policies attached to specified key
aws kms list-key-policies --key-id [key-id]Information about a policy
aws kms get-key-policy --policy-name [policy-name] --key-id [key-id]Credential access
Secret Manager
KMS
Decrypt the encrypted secret by KMS key
IAM & exploitation
Get secret
Interesting Book
Interesting BooksAdvanced Penetration Testing: Hacking AWS 2 This book delves deeper into analyzing the security of various AWS services and shows techniques and tactics used by an attacker to breach an AWS environment
Hands-On AWS Penetration Testing with Kali Linux Set up a virtual lab and pentest major AWS services, including EC2, S3, Lambda, and Cloud
Last updated