[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71F23JN3GWKWS616VAQYHHH":3,"skill-same:01M71F23JN3GWKWS616VAQYHHH":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},"01M71F23JN3GWKWS616VAQYHHH","malware-static-packed",null,"Malware Static Packed.","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\u002Fmalware-static-packed\u002FSKILL.md",[],[19,20,21,22],"malware","static","malware static packed","cybersecurity","2026-11-10 10:12:30",false,"---\nname: malware-static-packed\ndescription: \"Malware Static Packed.\"\ndomain: cybersecurity\n---\n\n|\n| **Packing** | Compressing or encrypting executable code to reduce file size and hinder static analysis; the binary contains an unpacking stub that restores code at runtime |\n| **UPX** | Ultimate Packer for eXecutables; open-source executable packer commonly abused by malware authors because it is free and effective |\n| **Original Entry Point (OEP)** | The real starting address of the malware code before packing; the unpacking stub decompresses code then jumps to the OEP |\n| **Import Reconstruction** | Process of rebuilding the import address table after dumping an unpacked process from memory using tools like Scylla or ImpRec |\n| **PUSHAD\u002FPOPAD** | x86 instructions that save\u002Frestore all general-purpose registers; UPX uses this pattern to preserve register state during unpacking |\n| **Section Entropy** | Randomness measure of PE section data; packed sections show entropy > 7.0 while normal code sections average 5.0-6.5 |\n| **Magic Bytes** | Signature bytes within a file identifying its format; UPX uses \"UPX!\" which malware authors modify to prevent automated decompression |\n\n## Tools & Systems\n\n- **UPX**: Open-source executable packer with built-in decompression capability for properly packed files\n- **Detect It Easy (DIE)**: Packer, compiler, and linker detection tool that identifies protection on PE, ELF, and Mach-O files\n- **x64dbg\u002Fx32dbg**: Open-source Windows debugger used for manual unpacking through dynamic execution and breakpoint-based OEP finding\n- **Scylla**: Import reconstruction tool integrated with x64dbg for rebuilding IAT after memory dumping\n- **PE-bear**: PE file viewer and editor for inspecting and repairing PE headers after unpacking\n\n## Common Scenarios\n\n### Scenario: Unpacking Malware with Modified UPX Headers\n\n**Context**: A malware sample is identified as UPX-packed by section names (UPX0, UPX1) but `upx -d` fails with \"CantUnpackException: header corrupted\". The malware author modified the UPX magic bytes to prevent automated decompression.\n\n**Approach**:\n1. Open the binary in a hex editor and search for the UPX header area (typically at the end of packed data)\n2. Identify the modified magic bytes (e.g., \"UPX!\" changed to \"UPX\\x00\" or completely zeroed)\n3. Use the Python repair script to restore \"UPX!\" magic and correct section names\n4. Retry `upx -d` on the repaired binary\n5. If repair fails, fall back to manual unpacking with x64dbg (PUSHAD -> hardware BP on ESP -> POPAD -> JMP OEP)\n6. Validate the unpacked binary has proper imports and reasonable entropy values\n7. Import into Ghidra or IDA for full static analysis\n\n**Pitfalls**:\n- Assuming UPX is the only packer; the binary may be double-packed (UPX + custom layer)\n- Modifying the original packed sample instead of working on a copy\n- Not reconstructing imports after manual memory dump (the dumped binary will crash without IAT fix)\n- Forgetting to check for overlay data appended after the UPX-packed PE sections\n\n## Output Format\n\n```\nUNPACKING ANALYSIS REPORT\n===========================\nSample:           suspect.exe\nSHA-256:          e3b0c44298fc1c149afbf4c8996fb924...\nPacker:           UPX 3.96 (modified headers)\n\nPACKED BINARY\nSections:         UPX0 (entropy: 0.00) UPX1 (entropy: 7.89) .rsrc (entropy: 3.45)\nImports:          2 (kernel32.dll: LoadLibraryA, GetProcAddress)\nFile Size:        98,304 bytes\n\nUNPACKING METHOD\nMethod:           Header repair + UPX -d\nHeader Fix:       Restored UPX! magic at offset 0x1F000\nCommand:          upx -d suspect_fixed.exe -o unpacked.exe\nResult:           SUCCESS\n\nUNPACKED BINARY\nSections:         .text (entropy: 6.21) .rdata (entropy: 4.56) .data (entropy: 3.12) .rsrc (entropy: 3.45)\nImports:          147 (kernel32, user32, advapi32, wininet, ws2_32)\nFile Size:        245,760 bytes (2.5x expansion)\nOEP:              0x00401000\n\nVALIDATION\nPE Valid:         Yes\nImports Resolved: Yes (147 functions across 8 DLLs)\nExecutable:       Yes (runs without crash in sandbox)\n\nNEXT STEPS\n- Import unpacked.exe into Ghidra for full disassembly\n- Run YARA rules against unpacked binary\n- Submit unpacked binary to VirusTotal for improved detection\n```\n","|\n| **Packing** | Compressing or encrypting executable code to reduce file size and hinder static analysis; the binary contains an unpacking stub that restores code at runtime |\n| **UPX** | Ultimate Packer for eXecutables; open-source executable packer commonly abused by malware authors because it is free and effective |\n| **Original Entry Point (OEP)** | The real starting address of the malware code before packing; the unpacking stub decompresses code then jumps to the OEP |\n| **Import Reconstruction** | Process of rebuilding the import address table after dumping an unpacked process from memory using tools like Scylla or ImpRec |\n| **PUSHAD\u002FPOPAD** | x86 instructions that save\u002Frestore all general-purpose registers; UPX uses this pattern to preserve register state during unpacking |\n| **Section Entropy** | Randomness measure of PE section data; packed sections show entropy > 7.0 while normal code sections average 5.0-6.5 |\n| **Magic Bytes** | Signature bytes within a file identifying its format; UPX uses \"UPX!\" which malware authors modify to prevent automated decompression |\n\n## Tools & Systems\n\n- **UPX**: Open-source executable packer with built-in decompression capability for properly packed files\n- **Detect It Easy (DIE)**: Packer, compiler, and linker detection tool that identifies protection on PE, ELF, and Mach-O files\n- **x64dbg\u002Fx32dbg**: Open-source Windows debugger used for manual unpacking through dynamic execution and breakpoint-based OEP finding\n- **Scylla**: Import reconstruction tool integrated with x64dbg for rebuilding IAT after memory dumping\n- **PE-bear**: PE file viewer and editor for inspecting and repairing PE headers after unpacking\n\n## Common Scenarios\n\n### Scenario: Unpacking Malware with Modified UPX Headers\n\n**Context**: A malware sample is identified as UPX-packed by section names (UPX0, UPX1) but `upx -d` fails with \"CantUnpackException: header corrupted\". The malware author modified the UPX magic bytes to prevent automated decompression.\n\n**Approach**:\n1. Open the binary in a hex editor and search for the UPX header area (typically at the end of packed data)\n2. Identify the modified magic bytes (e.g., \"UPX!\" changed to \"UPX\\x00\" or completely zeroed)\n3. Use the Python repair script to restore \"UPX!\" magic and correct section names\n4. Retry `upx -d` on the repaired binary\n5. If repair fails, fall back to manual unpacking with x64dbg (PUSHAD -> hardware BP on ESP -> POPAD -> JMP OEP)\n6. Validate the unpacked binary has proper imports and reasonable entropy values\n7. Import into Ghidra or IDA for full static analysis\n\n**Pitfalls**:\n- Assuming UPX is the only packer; the binary may be double-packed (UPX + custom layer)\n- Modifying the original packed sample instead of working on a copy\n- Not reconstructing imports after manual memory dump (the dumped binary will crash without IAT fix)\n- Forgetting to check for overlay data appended after the UPX-packed PE sections\n\n## Output Format\n\n```\nUNPACKING ANALYSIS REPORT\n===========================\nSample:           suspect.exe\nSHA-256:          e3b0c44298fc1c149afbf4c8996fb924...\nPacker:           UPX 3.96 (modified headers)\n\nPACKED BINARY\nSections:         UPX0 (entropy: 0.00) UPX1 (entropy: 7.89) .rsrc (entropy: 3.45)\nImports:          2 (kernel32.dll: LoadLibraryA, GetProcAddress)\nFile Size:        98,304 bytes\n\nUNPACKING METHOD\nMethod:           Header repair + UPX -d\nHeader Fix:       Restored UPX! magic at offset 0x1F000\nCommand:          upx -d suspect_fixed.exe -o unpacked.exe\nResult:           SUCCESS\n\nUNPACKED BINARY\nSections:         .text (entropy: 6.21) .rdata (entropy: 4.56) .data (entropy: 3.12) .rsrc (entropy: 3.45)\nImports:          147 (kernel32, user32, advapi32, wininet, ws2_32)\nFile Size:        245,760 bytes (2.5x expansion)\nOEP:              0x00401000\n\nVALIDATION\nPE Valid:         Yes\nImports Resolved: Yes (147 functions across 8 DLLs)\nExecutable:       Yes (runs without crash in sandbox)\n\nNEXT STEPS\n- Import unpacked.exe into Ghidra for full disassembly\n- Run YARA rules against unpacked binary\n- Submit unpacked binary to VirusTotal for improved detection\n```\n",{"name":5,"domain":22,"description":7},"main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fmalware-static-packed","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 malware-static-packed",{"tool":41,"command":42},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill malware-static-packed",{"tool":44,"command":45},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill malware-static-packed","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware-static-packed\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"index.json","REFERENCE","参考文档",484,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware-static-packed\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"]