[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9Q5EJNDFTGHKCFAC8D3YS":3,"skill-same:01M7A9Q5EJNDFTGHKCFAC8D3YS":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7A9Q5EJNDFTGHKCFAC8D3YS","performing-cloud-forensics-with-aws-cloudtrail",null,"Investigate AWS account compromise by querying CloudTrail with boto3's LookupEvents or AWS Athena SQL over S3-delivered logs, filtering on suspicious user agents, source IPs, and event names to reconstruct an attacker timeline. Use when tracing unauthorized API calls, S3 data exfiltration, IAM privilege escalation, or credential exposure, and building a forensic report of findings and remediation steps.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: performing-cloud-forensics-with-aws-cloudtrail\ndescription: Investigate AWS account compromise by querying CloudTrail with boto3's LookupEvents\n  or AWS Athena SQL over S3-delivered logs, filtering on suspicious user agents, source IPs, and\n  event names to reconstruct an attacker timeline. Use when tracing unauthorized API calls, S3\n  data exfiltration, IAM privilege escalation, or credential exposure, and building a forensic\n  report of findings and remediation steps.\ndomain: cybersecurity\nsubdomain: cloud-security\ntags:\n- cloud-security\n- aws\n- cloudtrail\n- forensics\n- incident-response\n- dfir\n- boto3\n- s3\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmitre_attack:\n- T1078.004\n- T1530\n- T1537\n- T1580\n- T1003\n---\n\n# Performing Cloud Forensics with AWS CloudTrail\n\n## When to Use\n\n- When investigating suspected AWS account compromise\n- After detecting unauthorized API calls or credential exposure\n- During incident response involving cloud infrastructure\n- When analyzing S3 data exfiltration or IAM privilege escalation\n- For post-incident forensic timeline reconstruction\n\n## Prerequisites\n\n- AWS account with CloudTrail enabled (management and data events)\n- IAM permissions for cloudtrail:LookupEvents, s3:GetObject, athena:StartQueryExecution\n- boto3 Python SDK installed\n- CloudTrail logs delivered to S3 with optional Athena table configured\n- AWS CLI configured with appropriate credentials\n\n## Workflow\n\n1. **Scope Investigation**: Identify timeframe, affected accounts, and compromised credentials.\n2. **Query CloudTrail**: Use boto3 lookup_events or Athena to retrieve relevant API events.\n3. **Filter by Indicators**: Search for suspicious user agents, source IPs, and event names.\n4. **Reconstruct Timeline**: Build chronological sequence of attacker actions from API calls.\n5. **Analyze Access Patterns**: Identify data access, IAM changes, and resource modifications.\n6. **Identify Persistence**: Check for new IAM users, access keys, roles, or Lambda functions.\n7. **Generate Report**: Produce forensic timeline with findings and remediation steps.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| LookupEvents | CloudTrail API to query management events (last 90 days) |\n| Athena Queries | SQL queries against CloudTrail logs in S3 for historical analysis |\n| User Agent Analysis | Identify tool signatures (AWS CLI, SDK, console, custom) |\n| AccessKeyId | Track activity by specific IAM access key |\n| EventName | AWS API action name (e.g., GetObject, CreateUser, AssumeRole) |\n| sourceIPAddress | Origin IP of API call for geolocation analysis |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| boto3 CloudTrail client | Programmatic CloudTrail event lookup |\n| AWS Athena | SQL-based analysis of CloudTrail S3 logs |\n| AWS CLI | Command-line CloudTrail queries |\n| jq | JSON processing for CloudTrail event parsing |\n| CloudTrail Lake | Advanced event data store with SQL query support |\n\n## Output Format\n\n```\nForensic Report: AWS-IR-[DATE]-[SEQ]\nAccount: [AWS Account ID]\nTimeframe: [Start] to [End]\nCompromised Credentials: [Access Key IDs]\nSuspicious Events: [Count]\nSource IPs: [List of attacker IPs]\nActions Taken: [API calls by attacker]\nData Accessed: [S3 objects, secrets, etc.]\nPersistence Mechanisms: [New users, keys, roles]\n```\n","# Performing Cloud Forensics with AWS CloudTrail\n\n## When to Use\n\n- When investigating suspected AWS account compromise\n- After detecting unauthorized API calls or credential exposure\n- During incident response involving cloud infrastructure\n- When analyzing S3 data exfiltration or IAM privilege escalation\n- For post-incident forensic timeline reconstruction\n\n## Prerequisites\n\n- AWS account with CloudTrail enabled (management and data events)\n- IAM permissions for cloudtrail:LookupEvents, s3:GetObject, athena:StartQueryExecution\n- boto3 Python SDK installed\n- CloudTrail logs delivered to S3 with optional Athena table configured\n- AWS CLI configured with appropriate credentials\n\n## Workflow\n\n1. **Scope Investigation**: Identify timeframe, affected accounts, and compromised credentials.\n2. **Query CloudTrail**: Use boto3 lookup_events or Athena to retrieve relevant API events.\n3. **Filter by Indicators**: Search for suspicious user agents, source IPs, and event names.\n4. **Reconstruct Timeline**: Build chronological sequence of attacker actions from API calls.\n5. **Analyze Access Patterns**: Identify data access, IAM changes, and resource modifications.\n6. **Identify Persistence**: Check for new IAM users, access keys, roles, or Lambda functions.\n7. **Generate Report**: Produce forensic timeline with findings and remediation steps.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| LookupEvents | CloudTrail API to query management events (last 90 days) |\n| Athena Queries | SQL queries against CloudTrail logs in S3 for historical analysis |\n| User Agent Analysis | Identify tool signatures (AWS CLI, SDK, console, custom) |\n| AccessKeyId | Track activity by specific IAM access key |\n| EventName | AWS API action name (e.g., GetObject, CreateUser, AssumeRole) |\n| sourceIPAddress | Origin IP of API call for geolocation analysis |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| boto3 CloudTrail client | Programmatic CloudTrail event lookup |\n| AWS Athena | SQL-based analysis of CloudTrail S3 logs |\n| AWS CLI | Command-line CloudTrail queries |\n| jq | JSON processing for CloudTrail event parsing |\n| CloudTrail Lake | Advanced event data store with SQL query support |\n\n## Output Format\n\n```\nForensic Report: AWS-IR-[DATE]-[SEQ]\nAccount: [AWS Account ID]\nTimeframe: [Start] to [End]\nCompromised Credentials: [Access Key IDs]\nSuspicious Events: [Count]\nSource IPs: [List of attacker IPs]\nActions Taken: [API calls by attacker]\nData Accessed: [S3 objects, secrets, etc.]\nPersistence Mechanisms: [New users, keys, roles]\n```\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":26,"description":7,"mitre_attack":42},[26,27,28,29,30,31,32,33],"cloud-security","aws","cloudtrail","forensics","incident-response","dfir","boto3","s3","mahipal","cybersecurity","1.0",[38,39,40,41],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01",[43,44,45,46,47],"T1078.004","T1530","T1537","T1580","T1003","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-forensics-with-aws-cloudtrail",{"tool":61,"command":62},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-forensics-with-aws-cloudtrail",{"tool":64,"command":65},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill performing-cloud-forensics-with-aws-cloudtrail","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FSKILL.md",true,[69,73,79],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fapi-reference.md","REFERENCE","参考文档",3244,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002Freferences\u002Fapi-reference.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",8840,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002Fscripts\u002Fagent.py",[86,93,100,107,114,121],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]