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 12,642 stars 1468 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
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
3 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

analyzing-cloud-storage-access-patterns

Detect abnormal access patterns in AWS S3, GCS, and Azure Blob Storage by analyzing CloudTrail Data Events, GCS audit logs, and Azure Storage Analytics. Identifies after-hours bulk downloads, access from new IP addresses, unusual API calls (GetObject spikes), and potential data exfiltration using statistical baselines and time-series anomaly detection.

12,642 Updated today
mukul975
AI & Automation Solid

detecting-aws-cloudtrail-anomalies

Detect unusual API call patterns in AWS CloudTrail logs using boto3, statistical baselining, and behavioral analysis to identify credential compromise, privilege escalation, and unauthorized resource access.

12,642 Updated today
mukul975
AI & Automation Featured

hunting-for-data-exfiltration-indicators

Hunt for data exfiltration through network traffic analysis, detecting unusual data flows, DNS tunneling, cloud storage uploads, and encrypted channel abuse.

12,642 Updated today
mukul975
AI & Automation Listed

hunting-for-data-exfiltration-indicators

Hunt for data exfiltration through network traffic analysis, detecting unusual data flows, DNS tunneling, cloud storage uploads, and encrypted channel abuse.

6 Updated today
26zl
AI & Automation Featured

performing-cloud-forensics-with-aws-cloudtrail

Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.

12,642 Updated today
mukul975