analyzing-cloud-storage-access-patterns
它能做什么
这个工具可以帮你发现云存储(如 AWS S3、Google Cloud Storage 或 Azure Blob Storage)中的异常活动。它会查找非工作时间的大量下载、来自新地点的访问,或访问量突然激增等情况。
适用场景
- ✓怀疑数据可能已经从云端被窃取时。
- ✓想要为异常活动设置自动告警时。
- ✓调查云安全问题时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-cloud-storage-access-patterns/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析我的 S3 存储桶 'important-data' 过去 24 小时的访问情况,告诉我是否有可疑之处。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会将云存储的正常使用情况与当前使用情况进行比对,查找偏离常规的模式,比如短时间内大量下载,或在异常时间段内的访问。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Analyzing Cloud Storage Access Patterns
When to Use
- When investigating security incidents that require analyzing cloud storage access patterns
- When building detection rules or threat hunting queries for this domain
- When SOC analysts need structured procedures for this analysis type
- When validating security monitoring coverage for related attack techniques
Prerequisites
- Familiarity with cloud security concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Instructions
- Install dependencies:
pip install boto3 requests - Query CloudTrail for S3 Data Events using AWS CLI or boto3.
- Build access baselines: hourly request volume, per-user object counts, source IP history.
- Detect anomalies:
- After-hours access (outside 8am-6pm local time)
- Bulk downloads: >100 GetObject calls from single principal in 1 hour
- New source IPs not seen in the prior 30 days
- ListBucket enumeration spikes (reconnaissance indicator)
- Generate prioritized findings report.
python scripts/agent.py --bucket my-sensitive-data --hours-back 24 --output s3_access_report.json
Examples
CloudTrail S3 Data Event
{"eventName": "GetObject", "requestParameters": {"bucketName": "sensitive-data", "key": "financials/q4.xlsx"},
"sourceIPAddress": "203.0.113.50", "userIdentity": {"arn": "arn:aws:iam::123456789012:user/analyst"}}
常见问题
它支持分析哪些云服务?
支持 AWS S3、Google Cloud Storage(GCS)和 Azure Blob Storage。
什么是“异常”?
异常是指偏离正常行为的活动,比如非工作时间的大量下载,或者来自之前从未出现过的 IP 地址的访问。
我需要是云安全专家才能使用吗?
具备基本的云安全知识会有帮助,但这个工具的设计目标就是简化分析过程。
详情
作者的原始描述
Detect abnormal access in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics for after-hours bulk downloads, new-IP access, and API-call spikes (e.g. GetObject) via statistical baselines and time-series anomaly detection. Use when investigating suspected cloud data exfiltration or building related detection rules.
热度
- GitHub 星标
- 35k
- 排名
- #7604
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。