[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECM5NQVE8MNV3WMDYNFEEV":3,"skill-same:01M7ECM5NQVE8MNV3WMDYNFEEV":75},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M7ECM5NQVE8MNV3WMDYNFEEV","hunting-for-anomalous-powershell-execution",null,"Hunt for malicious PowerShell activity by analyzing Script Block Logging (Event 4104), Module Logging (Event 4103), and process creation events. The analyst parses Windows Event Log EVTX files to detect obfuscated commands, AMSI bypass attempts, encoded payloads, credential dumping keywords, and suspicious download cradles. Activates for requests involving PowerShell threat hunting, script block analysis, encoded command detection, or AMSI bypass identification.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fhunting-for-anomalous-powershell-execution\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hunting-for-anomalous-powershell-execution\ndescription: 'Hunt for malicious PowerShell activity by analyzing Script Block Logging\n  (Event 4104), Module Logging (Event 4103), and process creation events. The analyst\n  parses Windows Event Log EVTX files to detect obfuscated commands, AMSI bypass attempts,\n  encoded payloads, credential dumping keywords, and suspicious download cradles.\n  Activates for requests involving PowerShell threat hunting, script block analysis,\n  encoded command detection, or AMSI bypass identification.\n\n  '\ndomain: cybersecurity\nsubdomain: threat-hunting\ntags:\n- powershell\n- script-block-logging\n- event-4104\n- amsi\n- threat-hunting\n- evtx\n- obfuscation\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- DE.AE-07\n- ID.RA-05\nmitre_attack:\n- T1046\n- T1057\n- T1082\n- T1083\n- T1003\n---\n# Hunting for Anomalous PowerShell Execution\n\n## Overview\n\nPowerShell Script Block Logging (Event ID 4104) records the full deobfuscated script text\nexecuted on a Windows endpoint, making it the primary data source for hunting malicious\nPowerShell. Combined with Module Logging (4103) and process creation events, analysts can\ndetect encoded commands, AMSI bypass patterns, download cradles, credential theft tools,\nand fileless attack techniques even when the attacker uses obfuscation layers.\n\n\n## When to Use\n\n- When investigating security incidents that require hunting for anomalous powershell execution\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Windows Event Log exports (.evtx) from Microsoft-Windows-PowerShell\u002FOperational\n- Python 3.8+ with python-evtx and lxml libraries\n- Script Block Logging enabled via Group Policy\n- Understanding of common PowerShell attack techniques\n\n## Steps\n\n1. Parse EVTX files extracting Event 4104 script block text and metadata\n2. Reassemble multi-part script blocks using ScriptBlock ID correlation\n3. Scan script text for AMSI bypass indicators and obfuscation patterns\n4. Detect encoded command execution and base64 payloads\n5. Identify download cradles, credential dumping, and lateral movement commands\n6. Score and prioritize findings by threat severity\n\n## Expected Output\n\n```json\n{\n  \"total_events\": 1247,\n  \"suspicious_events\": 23,\n  \"amsi_bypass_attempts\": 2,\n  \"encoded_commands\": 8,\n  \"download_cradles\": 5,\n  \"credential_access\": 3\n}\n```\n","# Hunting for Anomalous PowerShell Execution\n\n## Overview\n\nPowerShell Script Block Logging (Event ID 4104) records the full deobfuscated script text\nexecuted on a Windows endpoint, making it the primary data source for hunting malicious\nPowerShell. Combined with Module Logging (4103) and process creation events, analysts can\ndetect encoded commands, AMSI bypass patterns, download cradles, credential theft tools,\nand fileless attack techniques even when the attacker uses obfuscation layers.\n\n\n## When to Use\n\n- When investigating security incidents that require hunting for anomalous powershell execution\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Windows Event Log exports (.evtx) from Microsoft-Windows-PowerShell\u002FOperational\n- Python 3.8+ with python-evtx and lxml libraries\n- Script Block Logging enabled via Group Policy\n- Understanding of common PowerShell attack techniques\n\n## Steps\n\n1. Parse EVTX files extracting Event 4104 script block text and metadata\n2. Reassemble multi-part script blocks using ScriptBlock ID correlation\n3. Scan script text for AMSI bypass indicators and obfuscation patterns\n4. Detect encoded command execution and base64 payloads\n5. Identify download cradles, credential dumping, and lateral movement commands\n6. Score and prioritize findings by threat severity\n\n## Expected Output\n\n```json\n{\n  \"total_events\": 1247,\n  \"suspicious_events\": 23,\n  \"amsi_bypass_attempts\": 2,\n  \"encoded_commands\": 8,\n  \"download_cradles\": 5,\n  \"credential_access\": 3\n}\n```\n",{"name":5,"tags":24,"author":32,"domain":33,"license":15,"version":34,"nist_csf":35,"subdomain":29,"description":40,"mitre_attack":41},[25,26,27,28,29,30,31],"powershell","script-block-logging","event-4104","amsi","threat-hunting","evtx","obfuscation","mahipal","cybersecurity","1.0",[36,37,38,39],"DE.CM-01","DE.AE-02","DE.AE-07","ID.RA-05","Hunt for malicious PowerShell activity by analyzing Script Block Logging (Event 4104), Module Logging (Event 4103), and process creation events. The analyst parses Windows Event Log EVTX files to detect obfuscated commands, AMSI bypass attempts, encoded payloads, credential dumping keywords, and suspicious download cradles. Activates for requests involving PowerShell threat hunting, script block analysis, encoded command detection, or AMSI bypass identification.\n",[42,43,44,45,46],"T1046","T1057","T1082","T1083","T1003","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fhunting-for-anomalous-powershell-execution",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill hunting-for-anomalous-powershell-execution",{"tool":61,"command":62},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill hunting-for-anomalous-powershell-execution",{"tool":64,"command":65},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill hunting-for-anomalous-powershell-execution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fhunting-for-anomalous-powershell-execution\u002FSKILL.md",true,[69],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fapi-reference.md","REFERENCE","参考文档",4224,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fhunting-for-anomalous-powershell-execution\u002Freferences\u002Fapi-reference.md",[76,85,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":86,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":84},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":84},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":84},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"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":80,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":84},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":80,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":84},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]