AWS - Accounts Unauthenticated Enum

Support HackTricks

खाता आईडी

यदि आपके पास एक लक्ष्य है, तो लक्षित खातों से संबंधित खाता आईडी की पहचान करने के तरीके हैं।

ब्रूट-फोर्स

आप संभावित खाता आईडी और उपनामों की एक सूची बनाते हैं और उन्हें जांचते हैं।

# Check if an account ID exists
curl -v https://<acount_id>.signin.aws.amazon.com
## If response is 404 it doesn't, if 200, it exists
## It also works from account aliases
curl -v https://vodafone-uk2.signin.aws.amazon.com

You can automate this process with this tool.

OSINT

Look for urls that contains <alias>.signin.aws.amazon.com with an संगठन से संबंधित उपनाम.

Marketplace

If a vendor has मार्केटप्लेस में उदाहरण, you can get the owner id (account id) of the AWS account he used.

Snapshots

  • Public EBS snapshots (EC2 -> Snapshots -> Public Snapshots)

  • RDS public snapshots (RDS -> Snapshots -> All Public Snapshots)

  • Public AMIs (EC2 -> AMIs -> Public images)

Errors

Many AWS error messages (even access denied) will give that information.

References

Support HackTricks

Last updated