[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HN359HS978MQM7WAF9040G":3,"skill-same:01M6HN359HS978MQM7WAF9040G":100},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":61,"commitSha":62,"skillDirectory":63,"forksCount":64,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":6,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6HN359HS978MQM7WAF9040G","performing-cloud-forensics-with-aws-cloudtrail",null,"Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.","HenriqueMC17\u002Fagente-core","HenriqueMC17","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206460478?v=4","01M6HB63HBBF18AC4H09XTB549","Henrique Monteiro Cardoso","01M6HB63NGSQXWKWCFWW2B20W0",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"performing cloud forensics with aws cloudtrail","performing","aws cloudtrail","with","cloud forensics","aws","cloudtrail","forensics","cloud","dfir","boto3","cloud-forensics","cybersecurity","api","analyze","cm","call","incident","logs","pr","2026-11-10 10:12:30",false,"---\nname: performing-cloud-forensics-with-aws-cloudtrail\ndescription: Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.\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\ncategory: performing-cloud-forensics-with-aws-cloudtrail\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":44,"author":48,"domain":31,"license":15,"version":49,"category":5,"nist_csf":50,"subdomain":45,"description":7,"mitre_attack":55},[45,24,25,26,46,28,29,47],"cloud-security","incident-response","s3","mahipal","1.0",[51,52,53,54],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01",[56,57,58,59,60],"T1078.004","T1530","T1537","T1580","T1003","main","5eea5b3296f4673b5f481e8bcc1ba76281149f16","modules\u002Fperforming-cloud-forensics-with-aws-cloudtrail",0,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core","https:\u002F\u002Fgithub.com\u002FHenriqueMC17","Qualquer tecnologia suficientemente avançada é indistinguível da mágica.","2026-09-28 22:40:38",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add HenriqueMC17\u002Fagente-core --skill performing-cloud-forensics-with-aws-cloudtrail",{"tool":75,"command":76},"bunx","bunx skills add HenriqueMC17\u002Fagente-core --skill performing-cloud-forensics-with-aws-cloudtrail",{"tool":78,"command":79},"pnpm","pnpm dlx skills add HenriqueMC17\u002Fagente-core --skill performing-cloud-forensics-with-aws-cloudtrail","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FSKILL.md",true,[83,88,94],{"path":84,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002FLICENSE",{"path":89,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fapi-reference.md","REFERENCE","参考文档",3244,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002Freferences\u002Fapi-reference.md",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fagent.py","SCRIPT","脚本",8840,"https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fperforming-cloud-forensics-with-aws-cloudtrail\u002Fscripts\u002Fagent.py",[101,125,150,173,189,209],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6HPFF0RCN0X6WT5EBSV71GY","validating-backup-integrity-for-recovery","Validate backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to ensure backups are reliable for disaster recovery and ransomware response scenarios.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[],[108,109,110,111,112,113,31,114,115,116,46,117,118,119,120,121,122,36,123,124],"integrity","backup","recovery","validating backup integrity for recovery","for","testing","validate","verification","hash-verification","ransomware","detection","t1078","t1490","disaster-recovery","restore","disaster recovery","ransomware response",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M6HPFAWJVFK25Q33K3T7WQ8G","triaging-vulnerabilities-with-ssvc-framework","Triage and prioritize vulnerabilities using CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree framework to produce actionable remediation priorities.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[],[132,133,134,135,22,31,136,137,138,139,140,141,142,143,144,145,146,147,148,149],"vulnerabilities","framework","ssvc","triaging vulnerabilities with ssvc framework","triage and prioritize","CISA","vulnerability-management","risk-management","cvss","remediation","vulnerability","prioritization","decision-tree","prioritize","decision","priorities","actionable","tree",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M6HPF6JS9X72WP59094H3ASQ","triaging-security-incident","Performs initial triage of security incidents to determine severity, scope, and required response actions using the NIST SP 800-61r3 and SANS PICERL frameworks. Classifies incidents by type, assigns priority based on business impact, and routes...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident\u002FSKILL.md",[],[157,158,36,31,159,160,161,119,120,162,163,164,165,166,167,168,169,170,171,172],"security","triaging security incident","actions","soc","NIST","analysis","severity-classification","incident-triage","SANS-PICERL","SOC-operations","picerl","conversion","isolation","scope","impact","consistency",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":39},"01M6HPF2EX6ZYNYYHKBRJN7GEF","triaging-security-incident-with-ir-playbook","Classify and prioritize security incidents using structured IR playbooks to determine severity, assign response teams, and initiate appropriate response procedures.","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-incident-with-ir-playbook\u002FSKILL.md",[],[157,180,181,158,36,22,31,182,160,46,183,184,119,120,185,163,145,186,187,188],"playbook","triaging security incident with ir playbook","teams","IR-playbook","severity","classification","classify","incidents","initiate",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":39},"01M6HPEY9XPGE7X95AG4XJFQAW","triaging-security-alerts-in-splunk","Triages security alerts in Splunk Enterprise Security by classifying severity, investigating notable events, correlating related telemetry, and making escalation or closure decisions using SPL queries and the Incident Review dashboard. Use when...","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftriaging-security-alerts-in-splunk\u002FSKILL.md",[],[157,196,197,198,199,200,31,201,202,203,160,204,119,205,206,207,166,34,36,208],"security alerts","splunk","triaging security alerts in splunk","alerts","review","siem","dashboard","search","correlation-search","t1566","notable-events","incident-review","de",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"publishedAt":39},"01M6HPET6XGEPEJPN7V032JGZ0","tracking-threat-actor-infrastructure","Threat actor infrastructure tracking involves monitoring and mapping adversary-controlled assets including command-and-control (C2) servers, phishing domains, exploit kit hosts, bulletproof hosting, a","https:\u002F\u002Fgithub.com\u002FHenriqueMC17\u002Fagente-core\u002Fblob\u002Fmain\u002Fmodules\u002Ftracking-threat-actor-infrastructure\u002FSKILL.md",[],[216,217,218,219,31,220,221,222,223,224,225,205,226,227,34,228,208,229,230,231],"infrastructure","tracking threat actor infrastructure","tracking","threat","monitoring","mitre-attack","threat-actor","threat-intelligence","command-and-control","dns","command","exploit","intelligence","domains","kit","hosts"]