AWS - Unauthenticated Enum & Access
Tip
学习并练习 AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
学习并练习 GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
学习并练习 Az Hacking:HackTricks Training Azure Red Team Expert (AzRTE)
支持 HackTricks
- 查看 subscription plans!
- 加入 💬 Discord group 或者 telegram group 或 关注 我们的 Twitter 🐦 @hacktricks_live.
- 通过向 HackTricks 和 HackTricks Cloud github 仓库 提交 PRs 来分享 hacking tricks。
AWS 凭证 Leaks
获取对 AWS 帐户的访问或信息的一种常见方式是通过 searching for leaks。你可以使用 google dorks 搜索泄露,检查组织及其成员在 Github 或其他平台上的 public repos,在 credentials leaks databases 中搜索……或者在你认为可能找到关于公司及其云基础设施信息的任何其他地方。
一些有用的 tools:
- https://github.com/carlospolop/leakos
- https://github.com/carlospolop/pastos
- https://github.com/carlospolop/gorks
AWS Unauthenticated Enum & Access
AWS 中有若干服务可能被配置成对整个互联网或比预期更多的人提供某种访问。请查看以下内容:
- Accounts Unauthenticated Enum
- API Gateway Unauthenticated Enum
- Cloudfront Unauthenticated Enum
- Codebuild Unauthenticated Access
- Cognito Unauthenticated Enum
- DocumentDB Unauthenticated Enum
- DynamoDB Unauthenticated Access
- EC2 Unauthenticated Enum
- Elastic Beanstalk Unauthenticated Enum
- Elasticsearch Unauthenticated Enum
- IAM Unauthenticated Enum
- Identity Center and SSO Unauthenticated Enum
- IoT Unauthenticated Enum
- Kinesis Video Unauthenticated Enum
- Lambda Unauthenticated Access
- Media Unauthenticated Enum
- MQ Unauthenticated Enum
- MSK Unauthenticated Enum
- RDS Unauthenticated Enum
- Redshift Unauthenticated Enum
- S3 Unauthenticated Enum
- Sagemaker Unauthenticated Enum
- SNS Unauthenticated Enum
- SQS Unauthenticated Enum
跨账户攻击
在演讲 Breaking the Isolation: Cross-Account AWS Vulnerabilities 中,展示了某些服务如何允许任何 AWS 账户访问它们,因为 AWS services without specifying accounts ID 被允许。
在演讲中他们举了几个示例,例如 S3 buckets allowing cloudtrail (of any AWS account) to write to them:
.png)
其他被发现易受影响的服务:
- AWS Config
- Serverless repository
工具
- cloud_enum: 多云 OSINT 工具。Find public resources 在 AWS、Azure 和 Google Cloud。支持的 AWS 服务:Open / Protected S3 Buckets, awsapps (WorkMail, WorkDocs, Connect, 等)
Tip
学习并练习 AWS Hacking:
HackTricks Training AWS Red Team Expert (ARTE)
学习并练习 GCP Hacking:HackTricks Training GCP Red Team Expert (GRTE)
学习并练习 Az Hacking:HackTricks Training Azure Red Team Expert (AzRTE)
支持 HackTricks
- 查看 subscription plans!
- 加入 💬 Discord group 或者 telegram group 或 关注 我们的 Twitter 🐦 @hacktricks_live.
- 通过向 HackTricks 和 HackTricks Cloud github 仓库 提交 PRs 来分享 hacking tricks。
HackTricks Cloud

