Loading...
Loading...
Professional Skills and Methodologies for Cloud Security Audits
npx skill4agent add ed1s0nz/cyberstrikeai cloud-security-audit# 列出所有IAM用户
aws iam list-users
# 列出所有IAM策略
aws iam list-policies
# 检查用户权限
aws iam list-user-policies --user-name username
aws iam list-attached-user-policies --user-name username
# 检查角色权限
aws iam list-role-policies --role-name rolename# 列出所有存储桶
aws s3 ls
# 检查存储桶策略
aws s3api get-bucket-policy --bucket bucketname
# 检查存储桶ACL
aws s3api get-bucket-acl --bucket bucketname
# 检查存储桶加密
aws s3api get-bucket-encryption --bucket bucketname# 列出所有安全组
aws ec2 describe-security-groups
# 检查开放端口
aws ec2 describe-security-groups --group-ids sg-xxx# 列出所有跟踪
aws cloudtrail describe-trails
# 检查日志文件完整性
aws cloudtrail get-trail-status --name trailname# 列出所有订阅
az account list
# 检查资源组
az group list# 列出所有NSG
az network nsg list
# 检查NSG规则
az network nsg rule list --nsg-name nsgname --resource-group rgname# 列出所有存储账户
az storage account list
# 检查访问策略
az storage account show --name accountname --resource-group rgname# 列出所有项目
gcloud projects list
# 检查IAM策略
gcloud projects get-iam-policy project-id# 列出所有实例
gcloud compute instances list
# 检查防火墙规则
gcloud compute firewall-rules list# 列出所有存储桶
gsutil ls
# 检查存储桶权限
gsutil iam get gs://bucketname# AWS审计
scout aws
# Azure审计
scout azure
# GCP审计
scout gcp# AWS安全审计
prowler -c check11,check12,check13
# 完整审计
prowler# 扫描AWS账户
cloudsploit scan aws
# 扫描Azure订阅
cloudsploit scan azure# AWS渗透测试框架
pacu