singtreb/sword-riding/analyzing-cloud-storage-access-patterns
Claude Code and agent skill by singtreb/sword-riding
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Detect abnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS
Install
npx vskill@latest install singtreb/sword-riding/analyzing-cloud-storage-access-patternsSKILL.md
The same SKILL.md was published earlier as singtreb/sword-riding/analyzing-cloud-storage-access-patterns.
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
Detection Gaps & Validation
- The events may not exist at all: S3
GetObject/PutObjectare data events, off by default. Confirm withaws cloudtrail get-event-selectors --trail-name Xshowing aDataResourcesentry forAWS::S3::Object. GCS object reads need Data Access audit logs (DATA_READ) explicitly enabled per-service; Azure needs Storage Analytics / diagnostic settings on the storage account. - Exfil paths that dodge per-IP baselines: presigned URLs log the signer's identity/IP, not the downloader;
CopyObject/ S3 replication to an attacker-owned bucket never hitsGetObjectfrom their IP; access via VPC gateway endpoint shows an internalvpce-source; CloudFront/OAC fronting masks the real client IP. - Volume framed as "normal": slow-drip exfil under your
>100 GetObject/hrthreshold, orListBucketrecon spread across days, evades count-based rules. Watch bytes-out and distinct-key fan-out, not just call counts. - Baseline poisoning: an attacker active during the 30-day learning window becomes part of "normal." Seed baselines from a known-clean period.
- Validate the rule fires: replay a known-bad pattern (e.g., 150
GetObjectfrom a new IP in <1h against a canary key) and confirm a finding is generated; tune FPs by excluding backup/replication service principals and known batch jobs byuserIdentity.arn.
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.
Examples
CloudTrail S3 Data Event
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/tools/skills/data/cloud-security/analyzing-cloud-storage-access-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/singtreb/sword-riding/analyzing-cloud-storage-access-patterns)