New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Analyzing Cloud Storage Access Patterns

Free

Detect anomalies in cloud storage access for security.

Get this skill

Free · Opens the source repo

What Analyzing Cloud Storage Access Patterns does

This skill is designed for security professionals and SOC analysts who need to analyze access patterns in cloud storage environments such as AWS S3, Google Cloud Storage (GCS), and Azure Blob Storage. It leverages data from CloudTrail, GCS audit logs, and Azure Storage Analytics to identify abnormal access behaviors that could indicate security incidents, such as data exfiltration attempts. By applying statistical baselines and time-series anomaly detection, users can effectively monitor and investigate suspicious activities.

The skill provides structured procedures to help users build access baselines based on hourly request volumes, user-specific object access counts, and historical source IP data. It identifies key anomalies like after-hours access, bulk downloads exceeding predefined thresholds, and new IP addresses that haven't been seen in the last 30 days. Additionally, it can flag spikes in ListBucket API calls, which may suggest reconnaissance activities.

To use this skill, users must be familiar with cloud security concepts and have the necessary permissions to access and analyze data in their cloud environments. The skill requires Python 3.8 or higher and specific dependencies to be installed. Once set up, users can execute the provided Python script to generate a prioritized report of findings, making it easier to respond to potential threats effectively.

This skill is particularly useful for organizations that require robust monitoring of their cloud storage access patterns to ensure data security and compliance. It aids in building detection rules and enhances threat-hunting capabilities in cloud environments.

When to use it

Use this skill when investigating security incidents or when building detection rules for cloud storage access anomalies.

When not to use it

This skill may not be suitable for environments without cloud storage or for users unfamiliar with cloud security concepts.

What you can build with it

Investigating Data Breaches

Use this skill to analyze access patterns when a data breach is suspected, identifying unusual access times and sources.

Building Detection Rules

Create rules for monitoring cloud storage access by establishing baselines and identifying anomalies for proactive security.

Validating Security Coverage

Check if your security monitoring adequately covers potential attack techniques related to cloud storage access.

How to install Analyzing Cloud Storage Access Patterns

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/analyzing-cloud-storage-access-patterns --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

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

  1. Install dependencies: pip install boto3 requests
  2. Query CloudTrail for S3 Data Events using AWS CLI or boto3.
  3. Build access baselines: hourly request volume, per-user object counts, source IP history.
  4. 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)
  5. 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"}}

Frequently asked questions about Analyzing Cloud Storage Access Patterns

Similar skills