Discover AWS IAM Users
Exposure of AWS IAM Usernames can further aid attackers efforts to access an AWS account. Exposure leaves users vulnerable to attacks such as phishing and password-spraying.
What is the risk of exposed AWS IAM Usernames?
Exposing an AWS IAM username is not a direct threat but simplifies attackers' efforts to access an AWS account. With this information, they can initiate phishing campaigns or password-spraying attacks, potentially obtaining valid credentials and accessing the account
Methods to Discover AWS IAM Usernames
Using AWS Access Key ID
With just a valid AWS Access Key ID, we can use an AWS CLI command
You must have valid access keys configured for this to work (
aws configure
) but then, you can find the AWS Account ID with any valid Access Key ID
Last updated