detecting-s3-data-exfiltration-attempts

Featured

Detecting data exfiltration attempts from AWS S3 buckets by analyzing CloudTrail S3 data events, VPC Flow Logs, GuardDuty findings, Amazon Macie alerts, and S3 access patterns to identify unauthorized bulk downloads and cross-account data transfers.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Detecting S3 Data Exfiltration Attempts ## When to Use - When GuardDuty detects anomalous S3 access patterns such as bulk downloads from unusual IPs - When investigating suspected data breach involving S3-stored sensitive data - When building detection rules for S3 data loss prevention monitoring - When responding to Macie alerts about sensitive data being accessed or moved - When compliance requires monitoring and logging of all access to classified data stores **Do not use** for preventing data exfiltration (use S3 bucket policies, VPC endpoints, and SCPs), for data classification (use Amazon Macie discovery jobs), or for network-level exfiltration detection (use VPC Flow Logs with network analysis tools). ## Prerequisites - CloudTrail configured with S3 data event logging (`GetObject`, `PutObject`, `CopyObject`) - GuardDuty enabled with S3 Protection feature activated - Amazon Macie enabled for sensitive data discovery in target buckets - CloudWatch Logs or Athena for querying CloudTrail logs at scale - VPC endpoint policies configured for S3 access monitoring ## Workflow ### Step 1: Enable S3 Data Event Logging in CloudTrail Configure CloudTrail to capture all S3 object-level operations for forensic analysis. ```bash # Enable S3 data events on an existing trail aws cloudtrail put-event-selectors \ --trail-name management-trail \ --event-selectors '[{ "ReadWriteType": "All", "IncludeManagementEvents": true, "DataResources": [{ "Type": "AWS:...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category