[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71CN7AJE3YN4HP18YTPWCBH":3,"skill-same:01M71CN7AJE3YN4HP18YTPWCBH":93},{"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":66,"commitSha":67,"skillDirectory":68,"forksCount":14,"repositoryHtmlUrl":69,"repositoryHomepageUrl":6,"ownerHtmlUrl":70,"ownerBlogUrl":6,"ownerDescription":71,"updatedAt":72,"install":73,"resources":86},"01M71CN7AJE3YN4HP18YTPWCBH","logs-cloudtrailforensics-detect",null,"Perform forensic investigation of AWS environments using CloudTrail logs to reconstruct attacker activity, identify compromised credentials, and analyze API call patterns.","DCx7C5\u002Fai-marketplace","DCx7C5","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42419559?v=4","01M71C01G2AZV3NTNGWAWSHJPP","DC","01M71C01GQW6G50S2BYMS7PP3E",0,"MIT","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Flogs\u002Fcloudtrailforensics\u002Fdetect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"logs cloudtrailforensics detect","detect","logs","de","s3","cloudtrail","t1078","credentials","id","analyze","sc","api","Bash","cybersecurity","boto3","call","incident","cm","pr","dfir","2026-11-10 10:12:30",false,"---\nname: logs-cloudtrailforensics-detect\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\nnist_csf:\n- PR.IR-01\n- ID.AM-08\n- GV.SC-06\n- DE.CM-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1003\n- T1041\n- T1078.004\n- T1530\ncapec: []\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":44,"capec":49,"model":50,"tools":51,"domain":32,"maxTurns":55,"nist_csf":56,"subdomain":45,"description":7,"mitre_attack":61},[45,46,24,47,48,38,33,23],"cloud-security","aws","forensics","incident-response",[],"sonnet",[52,31,53,54],"Read","Glob","Grep",20,[57,58,59,60],"PR.IR-01","ID.AM-08","GV.SC-06","DE.CM-01",[62,63,64,65],"T1003","T1041","T1078.004","T1530","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fcloud\u002Flogs\u002Fcloudtrailforensics\u002Fdetect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":74,"prompt":84,"zipAvailable":85},[75,78,81],{"tool":76,"command":77},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill logs-cloudtrailforensics-detect",{"tool":79,"command":80},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill logs-cloudtrailforensics-detect",{"tool":82,"command":83},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill logs-cloudtrailforensics-detect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Flogs\u002Fcloudtrailforensics\u002Fdetect\u002FSKILL.md",true,[87],{"path":88,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":92},"index.json","REFERENCE","参考文档",675,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud\u002Flogs\u002Fcloudtrailforensics\u002Fdetect\u002Findex.json",[94,104,125,147,167,189],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":98,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M73MDK3NT5XHNYTQ5P5172V9","devel-jb-algorithmic-art","- Embed algorithms inline in the HTML artifact (don't create separate .","Apache-2.0","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fdevel-jb-algorithmic-art\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M71HAPZ01KQ30RKTB0FFSQ05","services-wmi-persistence-detect","Detect WMI event subscription persistence by enumerating ActiveScriptEventConsumer, CommandLineEventConsumer, and permanent subscriptions in the WMI repository.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fpersistence\u002Fdetect\u002FSKILL.md",[],[111,20,112,113,114,115,116,32,47,117,118,119,120,121,122,123,124,36,22],"services","services wmi persistence detect","wmi","persistence","process-forensics","process","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"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},"01M71HAK6JTTTS229T17WJMMCG","services-wmi-exec-exploit","Perform lateral movement across Windows networks using WMI-based remote execution techniques including Impacket wmiexec.py, CrackMapExec, and native WMI commands for stealthy post-exploitation during red team engagements.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fservices\u002Fwmi\u002Fexec\u002Fexploit\u002FSKILL.md",[],[132,113,133,111,134,135,31,136,137,32,138,139,140,141,142,143,144,145,22,146],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M71HAG6MHKNQV8KDZKMT4886","registry-artifact-extract","Extract and analyze Windows Registry hives to uncover user activity, installed software, autostart entries, and evidence of system compromise.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fregistry\u002Fartifact\u002Fextract\u002FSKILL.md",[],[154,155,156,157,158,50,159,160,161,162,143,22,163,28,136,164,31,32,165,166],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","collection","artifact-analysis","activity",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":39},"01M71HACR4A8XTWTTSXK4124AA","processes-token-impersonate-detect","Detect Windows token impersonation and privilege abuse including SeImpersonatePrivilege exploitation via Potato attacks and token stealing techniques.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Ftoken\u002Fimpersonate\u002Fdetect\u002FSKILL.md",[],[174,175,176,20,32,177,36,178,179,180,115,22,181,182,183,184,185,186,187,188],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"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},"01M71HAABSB4Z6QFSXEG00R4RK","processes-thread-injection-detect","Detect Windows thread injection techniques including CreateRemoteThread, QueueUserAPC, NtCreateThreadEx, and thread hijacking via process memory analysis.","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Fprocesses\u002Fthread\u002Finjection\u002Fdetect\u002FSKILL.md",[],[196,174,197,20,198,199,116,22,181,200,201,30,136,115,32,177,202,36,203,179],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","process-injection","memory"]