[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71H9QT7EQ93K95HFMRMRTQB":3,"skill-same:01M71H9QT7EQ93K95HFMRMRTQB":88},{"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":14,"repositoryHtmlUrl":64,"repositoryHomepageUrl":6,"ownerHtmlUrl":65,"ownerBlogUrl":6,"ownerDescription":66,"updatedAt":67,"install":68,"resources":81},"01M71H9QT7EQ93K95HFMRMRTQB","logs-eventlog-collect",null,"Configures Windows Event Logging with advanced audit policies to generate high-fidelity security events for threat detection and forensic investigation. Use when enabling audit policies for logon events, process creation, privilege use, and object access to feed SIEM detection rules. Activates for requests involving Windows audit policy, event log configuration, security logging, or detection-oriented logging.","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\u002Fwindows\u002Flogs\u002Feventlog\u002Fcollect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"logs eventlog collect","collect","logs","generate","de","audit-policy","event-logging","siem","log","windows-security","Bash","when","access","cybersecurity","endpoint-security","cm","creation","advanced","event log","detection-engineering","2026-11-10 10:12:30",false,"---\nname: logs-eventlog-collect\ndescription: Configures Windows Event Logging with advanced audit policies to generate high-fidelity security events for threat detection and forensic investigation. Use when enabling audit policies for logon events, process creation, privilege use, and object access to feed SIEM detection rules. Activates for requests involving Windows audit policy, event log configuration, security logging, or detection-oriented logging.\ndomain: cybersecurity\nsubdomain: endpoint-security\ntags:\n- endpoint\n- windows-security\n- event-logging\n- audit-policy\n- detection-engineering\nnist_csf:\n- PR.PS-01\n- PR.PS-02\n- DE.CM-01\n- PR.IR-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1070\ncapec: []\n---\n\n# Configuring Windows Event Logging for Detection\n\n## When to Use\n\nUse this skill when:\n- Configuring Windows Advanced Audit Policy for security monitoring\n- Enabling process creation auditing with command line logging (Event 4688)\n- Setting up logon\u002Flogoff auditing for authentication monitoring\n- Sizing event log storage and forwarding to SIEM platforms\n\n**Do not use** for Sysmon configuration (separate skill) or Linux audit logging.\n\n## Prerequisites\n\n- Windows Server or Windows 10\u002F11 systems with Group Policy management access\n- Active Directory environment with Group Policy Object (GPO) creation privileges\n- SIEM platform configured to receive Windows Event Log forwarding\n- Understanding of Windows security event IDs and audit categories\n\n## Workflow\n\n### Step 1: Configure Advanced Audit Policy via GPO\n\n```\nComputer Configuration → Windows Settings → Security Settings\n  → Advanced Audit Policy Configuration → Audit Policies\n\nRecommended settings:\nAccount Logon:\n  - Audit Credential Validation: Success, Failure\n  - Audit Kerberos Authentication: Success, Failure\n\nAccount Management:\n  - Audit Security Group Management: Success\n  - Audit User Account Management: Success, Failure\n\nLogon\u002FLogoff:\n  - Audit Logon: Success, Failure\n  - Audit Logoff: Success\n  - Audit Special Logon: Success\n  - Audit Other Logon\u002FLogoff Events: Success, Failure\n\nObject Access:\n  - Audit File Share: Success, Failure\n  - Audit Removable Storage: Success, Failure\n  - Audit SAM: Success\n\nPolicy Change:\n  - Audit Audit Policy Change: Success, Failure\n  - Audit Authentication Policy Change: Success\n\nPrivilege Use:\n  - Audit Sensitive Privilege Use: Success, Failure\n\nDetailed Tracking:\n  - Audit Process Creation: Success\n  - Audit DPAPI Activity: Success, Failure\n```\n\n### Step 2: Enable Command Line in Process Creation Events\n\n```powershell\n# Registry: Enable command line logging in Event 4688\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\Audit\" `\n  -Name ProcessCreationIncludeCmdLine_Enabled -Value 1 -PropertyType DWORD -Force\n\n# GPO: Computer Configuration → Administrative Templates → System → Audit Process Creation\n# \"Include command line in process creation events\" → Enabled\n```\n\n### Step 3: Configure Event Log Sizes\n\n```powershell\n# Increase Security log to 1 GB (default 20 MB is insufficient)\nwevtutil sl Security \u002Fms:1073741824\n\n# Increase PowerShell Operational log\nwevtutil sl \"Microsoft-Windows-PowerShell\u002FOperational\" \u002Fms:536870912\n\n# Set log retention to overwrite as needed\nwevtutil sl Security \u002Frt:false\n\n# Configure via GPO:\n# Computer Configuration → Administrative Templates → Windows Components\n#   → Event Log Service → Security\n# Maximum log file size (KB): 1048576\n```\n\n### Step 4: Configure Windows Event Forwarding (WEF)\n\n```powershell\n# On collector server:\nwecutil qc \u002Fq\n\n# Create subscription for high-value events:\n# Event IDs: 4624 (logon), 4625 (failed logon), 4688 (process create),\n# 4672 (special privilege), 4720 (user created), 4728 (group membership),\n# 7045 (service installed), 1102 (log cleared)\n\n# On source endpoints (GPO):\n# Configure WinRM: winrm quickconfig\n# Configure event forwarding: Computer Configuration → Admin Templates\n#   → Windows Components → Event Forwarding\n# Configure target Subscription Manager: Server=http:\u002F\u002Fcollector:5985\u002Fwsman\u002FSubscriptionManager\u002FWEC\n```\n\n### Step 5: Key Event IDs for Detection\n\n```\nAuthentication Events:\n  4624 - Successful logon (Type 2=Interactive, 3=Network, 10=RemoteInteractive)\n  4625 - Failed logon attempt\n  4648 - Logon using explicit credentials (RunAs, pass-the-hash indicator)\n  4672 - Special privileges assigned (admin logon)\n  4776 - NTLM credential validation\n\nProcess Events:\n  4688 - Process creation (with command line if enabled)\n  4689 - Process termination\n\nAccount Events:\n  4720 - User account created\n  4722 - User account enabled\n  4724 - Password reset attempted\n  4728 - Member added to security group\n  4732 - Member added to local group\n  4756 - Member added to universal group\n\nService\u002FSystem Events:\n  7045 - New service installed (persistence indicator)\n  1102 - Audit log cleared (evidence tampering)\n  4697 - Service installed in the system\n\nLateral Movement Indicators:\n  4648 + 4624(Type 3) - Credential-based lateral movement\n  5140 - Network share accessed\n  5145 - Network share access check (detailed file share)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Advanced Audit Policy** | Granular audit subcategories (58 subcategories vs. 9 basic categories) |\n| **Event ID 4688** | Process creation event; essential for tracking execution on endpoints |\n| **WEF** | Windows Event Forwarding; centralized log collection without third-party agents |\n| **Logon Type** | Numeric code indicating authentication method (2=interactive, 3=network, 10=RDP) |\n\n## Tools & Systems\n\n- **Windows Event Forwarding (WEF)**: Built-in centralized log collection\n- **NXLog**: Open-source log forwarding agent for Windows events\n- **Winlogbeat**: Elastic Agent for shipping Windows event logs to Elasticsearch\n- **Palantir WEF Configuration**: Open-source WEF subscription templates\n\n## Common Pitfalls\n\n- **Using basic audit policy instead of advanced**: Basic and advanced audit policies conflict. Always use advanced audit policy exclusively.\n- **Default log size too small**: 20 MB Security log fills in minutes on busy servers. Set minimum 1 GB.\n- **Missing command line logging**: Event 4688 without command line content has minimal detection value. Always enable ProcessCreationIncludeCmdLine_Enabled.\n- **Not forwarding logs**: Local event logs are lost when endpoints are wiped by ransomware. Forward to centralized SIEM immediately.\n","# Configuring Windows Event Logging for Detection\n\n## When to Use\n\nUse this skill when:\n- Configuring Windows Advanced Audit Policy for security monitoring\n- Enabling process creation auditing with command line logging (Event 4688)\n- Setting up logon\u002Flogoff auditing for authentication monitoring\n- Sizing event log storage and forwarding to SIEM platforms\n\n**Do not use** for Sysmon configuration (separate skill) or Linux audit logging.\n\n## Prerequisites\n\n- Windows Server or Windows 10\u002F11 systems with Group Policy management access\n- Active Directory environment with Group Policy Object (GPO) creation privileges\n- SIEM platform configured to receive Windows Event Log forwarding\n- Understanding of Windows security event IDs and audit categories\n\n## Workflow\n\n### Step 1: Configure Advanced Audit Policy via GPO\n\n```\nComputer Configuration → Windows Settings → Security Settings\n  → Advanced Audit Policy Configuration → Audit Policies\n\nRecommended settings:\nAccount Logon:\n  - Audit Credential Validation: Success, Failure\n  - Audit Kerberos Authentication: Success, Failure\n\nAccount Management:\n  - Audit Security Group Management: Success\n  - Audit User Account Management: Success, Failure\n\nLogon\u002FLogoff:\n  - Audit Logon: Success, Failure\n  - Audit Logoff: Success\n  - Audit Special Logon: Success\n  - Audit Other Logon\u002FLogoff Events: Success, Failure\n\nObject Access:\n  - Audit File Share: Success, Failure\n  - Audit Removable Storage: Success, Failure\n  - Audit SAM: Success\n\nPolicy Change:\n  - Audit Audit Policy Change: Success, Failure\n  - Audit Authentication Policy Change: Success\n\nPrivilege Use:\n  - Audit Sensitive Privilege Use: Success, Failure\n\nDetailed Tracking:\n  - Audit Process Creation: Success\n  - Audit DPAPI Activity: Success, Failure\n```\n\n### Step 2: Enable Command Line in Process Creation Events\n\n```powershell\n# Registry: Enable command line logging in Event 4688\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\Audit\" `\n  -Name ProcessCreationIncludeCmdLine_Enabled -Value 1 -PropertyType DWORD -Force\n\n# GPO: Computer Configuration → Administrative Templates → System → Audit Process Creation\n# \"Include command line in process creation events\" → Enabled\n```\n\n### Step 3: Configure Event Log Sizes\n\n```powershell\n# Increase Security log to 1 GB (default 20 MB is insufficient)\nwevtutil sl Security \u002Fms:1073741824\n\n# Increase PowerShell Operational log\nwevtutil sl \"Microsoft-Windows-PowerShell\u002FOperational\" \u002Fms:536870912\n\n# Set log retention to overwrite as needed\nwevtutil sl Security \u002Frt:false\n\n# Configure via GPO:\n# Computer Configuration → Administrative Templates → Windows Components\n#   → Event Log Service → Security\n# Maximum log file size (KB): 1048576\n```\n\n### Step 4: Configure Windows Event Forwarding (WEF)\n\n```powershell\n# On collector server:\nwecutil qc \u002Fq\n\n# Create subscription for high-value events:\n# Event IDs: 4624 (logon), 4625 (failed logon), 4688 (process create),\n# 4672 (special privilege), 4720 (user created), 4728 (group membership),\n# 7045 (service installed), 1102 (log cleared)\n\n# On source endpoints (GPO):\n# Configure WinRM: winrm quickconfig\n# Configure event forwarding: Computer Configuration → Admin Templates\n#   → Windows Components → Event Forwarding\n# Configure target Subscription Manager: Server=http:\u002F\u002Fcollector:5985\u002Fwsman\u002FSubscriptionManager\u002FWEC\n```\n\n### Step 5: Key Event IDs for Detection\n\n```\nAuthentication Events:\n  4624 - Successful logon (Type 2=Interactive, 3=Network, 10=RemoteInteractive)\n  4625 - Failed logon attempt\n  4648 - Logon using explicit credentials (RunAs, pass-the-hash indicator)\n  4672 - Special privileges assigned (admin logon)\n  4776 - NTLM credential validation\n\nProcess Events:\n  4688 - Process creation (with command line if enabled)\n  4689 - Process termination\n\nAccount Events:\n  4720 - User account created\n  4722 - User account enabled\n  4724 - Password reset attempted\n  4728 - Member added to security group\n  4732 - Member added to local group\n  4756 - Member added to universal group\n\nService\u002FSystem Events:\n  7045 - New service installed (persistence indicator)\n  1102 - Audit log cleared (evidence tampering)\n  4697 - Service installed in the system\n\nLateral Movement Indicators:\n  4648 + 4624(Type 3) - Credential-based lateral movement\n  5140 - Network share accessed\n  5145 - Network share access check (detailed file share)\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Advanced Audit Policy** | Granular audit subcategories (58 subcategories vs. 9 basic categories) |\n| **Event ID 4688** | Process creation event; essential for tracking execution on endpoints |\n| **WEF** | Windows Event Forwarding; centralized log collection without third-party agents |\n| **Logon Type** | Numeric code indicating authentication method (2=interactive, 3=network, 10=RDP) |\n\n## Tools & Systems\n\n- **Windows Event Forwarding (WEF)**: Built-in centralized log collection\n- **NXLog**: Open-source log forwarding agent for Windows events\n- **Winlogbeat**: Elastic Agent for shipping Windows event logs to Elasticsearch\n- **Palantir WEF Configuration**: Open-source WEF subscription templates\n\n## Common Pitfalls\n\n- **Using basic audit policy instead of advanced**: Basic and advanced audit policies conflict. Always use advanced audit policy exclusively.\n- **Default log size too small**: 20 MB Security log fills in minutes on busy servers. Set minimum 1 GB.\n- **Missing command line logging**: Event 4688 without command line content has minimal detection value. Always enable ProcessCreationIncludeCmdLine_Enabled.\n- **Not forwarding logs**: Local event logs are lost when endpoints are wiped by ransomware. Forward to centralized SIEM immediately.\n",{"name":5,"tags":44,"capec":46,"model":47,"tools":48,"domain":32,"maxTurns":52,"nist_csf":53,"subdomain":33,"description":7,"mitre_attack":58},[45,28,25,24,38],"endpoint",[],"sonnet",[49,29,50,51],"Read","Glob","Grep",20,[54,55,56,57],"PR.PS-01","PR.PS-02","DE.CM-01","PR.IR-01",[59,60],"T1059","T1070","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fwindows\u002Flogs\u002Feventlog\u002Fcollect","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":80},[70,73,76],{"tool":71,"command":72},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill logs-eventlog-collect",{"tool":74,"command":75},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill logs-eventlog-collect",{"tool":77,"command":78},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill logs-eventlog-collect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Flogs\u002Feventlog\u002Fcollect\u002FSKILL.md",true,[82],{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"index.json","REFERENCE","参考文档",678,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwindows\u002Flogs\u002Feventlog\u002Fcollect\u002Findex.json",[89,99,122,144,165,187],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":98},"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":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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",[],[106,107,108,109,110,111,112,32,113,114,115,116,117,118,119,120,121,34,23],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"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",[],[129,109,130,106,131,132,29,133,134,32,135,136,137,138,139,140,141,142,23,143],"exec","services wmi exec exploit","exploit","across","analysis","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"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",[],[151,152,153,154,155,47,156,157,158,159,140,23,160,161,133,162,29,32,163,164],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","analyze","collection","artifact-analysis","activity",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"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",[],[172,173,174,107,32,175,34,176,177,178,111,23,179,180,181,182,183,184,185,186],"processes","token","processes token impersonate detect","techniques","escalation","windows","attacks","via","impersonation","potato","exploitation","printspoofer","token-impersonation","seimpersonate","privilege-escalation",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"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",[],[194,172,195,107,196,197,112,23,179,198,199,200,133,111,32,175,201,34,202,177],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]