[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71CADCRSAJMH5TRNC1MRR4A":3,"skill-same:01M71CADCRSAJMH5TRNC1MRR4A":55},{"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":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M71CADCRSAJMH5TRNC1MRR4A","cloud-trail",null,"Cloud Trail.","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-trail\u002FSKILL.md",[],[19,20,21,22],"cloud","trail","cloud trail","cybersecurity","2026-11-10 10:12:30",false,"---\nname: cloud-trail\ndescription: \"Cloud Trail.\"\ndomain: cybersecurity\n---\n\n|\n| CloudTrail | AWS service that records API calls made to AWS services, providing an audit trail of actions taken by users, roles, and services |\n| Management Events | CloudTrail events for control plane operations like creating resources, modifying IAM, and configuring services |\n| Data Events | CloudTrail events for data plane operations like S3 object access and Lambda function invocations, providing granular activity logging |\n| Log File Validation | CloudTrail feature that creates a digest file for verifying that log files have not been tampered with after delivery |\n| CloudTrail Lake | Managed data lake for CloudTrail events enabling SQL-based queries without managing Athena tables or S3 data |\n| Organization Trail | Single trail that captures API activity across all accounts in an AWS Organization to a central S3 bucket |\n\n## Tools & Systems\n\n- **Amazon Athena**: Serverless SQL query engine for analyzing CloudTrail logs stored in S3 at scale\n- **CloudWatch Logs Insights**: Real-time log query service for interactive CloudTrail analysis within the last 30 days\n- **CloudTrail Lake**: Managed event data lake with built-in SQL query capabilities and 7-year retention\n- **Amazon Security Lake**: Centralized security data lake that normalizes CloudTrail data into OCSF format for SIEM consumption\n- **AWS CloudTrail**: Core audit logging service capturing all API activity across AWS accounts and services\n\n## Common Scenarios\n\n### Scenario: Investigating an IAM Credential Compromise Through CloudTrail\n\n**Context**: GuardDuty alerts on `UnauthorizedAccess:IAMUser\u002FMaliciousIPCaller` for a developer's access key. The security team needs to trace all actions taken by the compromised credential.\n\n**Approach**:\n1. Query CloudTrail for all events by the compromised AccessKeyId across all regions\n2. Build a timeline of API calls to understand the attack sequence\n3. Identify the initial access point (when did the key first appear from a malicious IP)\n4. Map all resources created, modified, or accessed by the attacker\n5. Check for persistence mechanisms (new users, access keys, Lambda functions, EC2 instances)\n6. Verify CloudTrail was not tampered with (check for StopLogging or UpdateTrail events)\n7. Document the full attack chain and scope of impact for the incident response report\n\n**Pitfalls**: CloudTrail events can take up to 15 minutes to appear in S3 and CloudWatch Logs. For real-time visibility during active incidents, use CloudTrail Lake or CloudWatch Logs Insights rather than Athena queries against S3. Cross-region attacks require querying multiple region partitions in Athena.\n\n## Output Format\n\n```\nCloudTrail Security Analysis Report\n======================================\nAccount: 123456789012\nAnalysis Period: 2026-02-16 to 2026-02-23\nTrail: org-security-trail (organization-wide)\n\nSECURITY EVENTS DETECTED:\n  Root account logins:                  2\n  Console logins without MFA:           7\n  Privilege escalation attempts:       12\n  CloudTrail configuration changes:     0\n  Security group modifications:        34\n  Unauthorized API calls:             156\n\nHIGH-PRIORITY FINDINGS:\n[CT-001] Console Login Without MFA\n  User: admin-user\n  Time: 2026-02-22T14:30:00Z\n  IP: 203.0.113.50\n  Action Required: Enforce MFA via IAM policy\n\n[CT-002] IAM Privilege Escalation\n  User: dev-user\n  Time: 2026-02-23T03:15:00Z\n  Events: CreatePolicyVersion -> AttachRolePolicy\n  IP: 185.x.x.x (suspicious)\n  Action Required: Investigate credential compromise\n\nALERTING STATUS:\n  CIS metric filters configured: 14 \u002F 14\n  CloudWatch alarms active: 14 \u002F 14\n  Alerts fired (last 7 days): 8\n```\n","|\n| CloudTrail | AWS service that records API calls made to AWS services, providing an audit trail of actions taken by users, roles, and services |\n| Management Events | CloudTrail events for control plane operations like creating resources, modifying IAM, and configuring services |\n| Data Events | CloudTrail events for data plane operations like S3 object access and Lambda function invocations, providing granular activity logging |\n| Log File Validation | CloudTrail feature that creates a digest file for verifying that log files have not been tampered with after delivery |\n| CloudTrail Lake | Managed data lake for CloudTrail events enabling SQL-based queries without managing Athena tables or S3 data |\n| Organization Trail | Single trail that captures API activity across all accounts in an AWS Organization to a central S3 bucket |\n\n## Tools & Systems\n\n- **Amazon Athena**: Serverless SQL query engine for analyzing CloudTrail logs stored in S3 at scale\n- **CloudWatch Logs Insights**: Real-time log query service for interactive CloudTrail analysis within the last 30 days\n- **CloudTrail Lake**: Managed event data lake with built-in SQL query capabilities and 7-year retention\n- **Amazon Security Lake**: Centralized security data lake that normalizes CloudTrail data into OCSF format for SIEM consumption\n- **AWS CloudTrail**: Core audit logging service capturing all API activity across AWS accounts and services\n\n## Common Scenarios\n\n### Scenario: Investigating an IAM Credential Compromise Through CloudTrail\n\n**Context**: GuardDuty alerts on `UnauthorizedAccess:IAMUser\u002FMaliciousIPCaller` for a developer's access key. The security team needs to trace all actions taken by the compromised credential.\n\n**Approach**:\n1. Query CloudTrail for all events by the compromised AccessKeyId across all regions\n2. Build a timeline of API calls to understand the attack sequence\n3. Identify the initial access point (when did the key first appear from a malicious IP)\n4. Map all resources created, modified, or accessed by the attacker\n5. Check for persistence mechanisms (new users, access keys, Lambda functions, EC2 instances)\n6. Verify CloudTrail was not tampered with (check for StopLogging or UpdateTrail events)\n7. Document the full attack chain and scope of impact for the incident response report\n\n**Pitfalls**: CloudTrail events can take up to 15 minutes to appear in S3 and CloudWatch Logs. For real-time visibility during active incidents, use CloudTrail Lake or CloudWatch Logs Insights rather than Athena queries against S3. Cross-region attacks require querying multiple region partitions in Athena.\n\n## Output Format\n\n```\nCloudTrail Security Analysis Report\n======================================\nAccount: 123456789012\nAnalysis Period: 2026-02-16 to 2026-02-23\nTrail: org-security-trail (organization-wide)\n\nSECURITY EVENTS DETECTED:\n  Root account logins:                  2\n  Console logins without MFA:           7\n  Privilege escalation attempts:       12\n  CloudTrail configuration changes:     0\n  Security group modifications:        34\n  Unauthorized API calls:             156\n\nHIGH-PRIORITY FINDINGS:\n[CT-001] Console Login Without MFA\n  User: admin-user\n  Time: 2026-02-22T14:30:00Z\n  IP: 203.0.113.50\n  Action Required: Enforce MFA via IAM policy\n\n[CT-002] IAM Privilege Escalation\n  User: dev-user\n  Time: 2026-02-23T03:15:00Z\n  Events: CreatePolicyVersion -> AttachRolePolicy\n  IP: 185.x.x.x (suspicious)\n  Action Required: Investigate credential compromise\n\nALERTING STATUS:\n  CIS metric filters configured: 14 \u002F 14\n  CloudWatch alarms active: 14 \u002F 14\n  Alerts fired (last 7 days): 8\n```\n",{"name":5,"domain":22,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fcloud-trail","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill cloud-trail",{"tool":41,"command":42},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill cloud-trail",{"tool":44,"command":45},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill cloud-trail","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud-trail\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"index.json","REFERENCE","参考文档",444,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcloud-trail\u002Findex.json",[56,66,91,114,136,158],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":60,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":65},"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":23},"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",[],[73,74,75,76,77,78,79,22,80,81,82,83,84,85,86,87,88,89,90],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","cm","de",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":23},"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",[],[98,76,99,73,100,101,102,103,104,22,105,106,107,108,109,110,111,112,90,113],"exec","services wmi exec exploit","exploit","across","Bash","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"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":23},"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",[],[121,122,123,124,125,126,127,128,129,130,110,90,131,132,103,133,102,22,134,135],"extract","registry artifact extract","registry","artifact","digital-forensics","sonnet","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":23},"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",[],[143,144,145,74,22,146,89,147,148,149,78,90,150,151,152,153,154,155,156,157],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":23},"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",[],[165,143,166,74,167,168,79,90,150,169,170,171,103,78,22,146,172,89,173,148],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]