From cybersecurity-skills
Investigates AWS account compromises by querying CloudTrail logs via boto3 or Athena to reconstruct attacker timelines, identify compromised credentials, and analyze API call patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cybersecurity-skills:performing-cloud-forensics-with-aws-cloudtrailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- When investigating suspected AWS account compromise
| Concept | Description |
|---|---|
| LookupEvents | CloudTrail API to query management events (last 90 days) |
| Athena Queries | SQL queries against CloudTrail logs in S3 for historical analysis |
| User Agent Analysis | Identify tool signatures (AWS CLI, SDK, console, custom) |
| AccessKeyId | Track activity by specific IAM access key |
| EventName | AWS API action name (e.g., GetObject, CreateUser, AssumeRole) |
| sourceIPAddress | Origin IP of API call for geolocation analysis |
| Tool | Purpose |
|---|---|
| boto3 CloudTrail client | Programmatic CloudTrail event lookup |
| AWS Athena | SQL-based analysis of CloudTrail S3 logs |
| AWS CLI | Command-line CloudTrail queries |
| jq | JSON processing for CloudTrail event parsing |
| CloudTrail Lake | Advanced event data store with SQL query support |
Forensic Report: AWS-IR-[DATE]-[SEQ]
Account: [AWS Account ID]
Timeframe: [Start] to [End]
Compromised Credentials: [Access Key IDs]
Suspicious Events: [Count]
Source IPs: [List of attacker IPs]
Actions Taken: [API calls by attacker]
Data Accessed: [S3 objects, secrets, etc.]
Persistence Mechanisms: [New users, keys, roles]
npx claudepluginhub mukul975/anthropic-cybersecurity-skills --plugin cybersecurity-skillsInvestigates AWS account compromises by querying CloudTrail logs via boto3 or Athena to reconstruct attacker timelines, identify compromised credentials, and analyze API call patterns.
Investigates AWS account compromise using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.
Performs forensic investigations of AWS environments using CloudTrail logs, boto3, and Athena to reconstruct attacker timelines, identify compromised credentials, and analyze API patterns.