[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71F5VW3XV8TR2WMJ55WPAP4":3,"skill-same:01M71F5VW3XV8TR2WMJ55WPAP4":89},{"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":62,"commitSha":63,"skillDirectory":64,"forksCount":14,"repositoryHtmlUrl":65,"repositoryHomepageUrl":6,"ownerHtmlUrl":66,"ownerBlogUrl":6,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M71F5VW3XV8TR2WMJ55WPAP4","pdf-peepdf-analyze",null,"Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects.","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\u002Fpdf\u002Fpeepdf\u002Fanalyze\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"PDF","analyze","peepdf","pdf peepdf analyze","malicious","analysis","Bash","documents","cybersecurity","t1059","objects","static","cm","reverse-engineering","static-analysis","t1566","reverse","dfir","pdf-parser","pdfid","2026-11-10 10:12:30",false,"---\nname: pdf-peepdf-analyze\ndescription: Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects.\ndomain: cybersecurity\nsubdomain: malware-analysis\ntags:\n- malware-analysis\n- pdf\n- peepdf\n- pdfid\n- pdf-parser\n- static-analysis\n- reverse-engineering\n- dfir\nnist_csf:\n- DE.AE-02\n- RS.AN-03\n- ID.RA-01\n- DE.CM-01\nmodel: sonnet\nmaxTurns: 20\ntools: [Read, Bash, Glob, Grep]\nmitre_attack:\n- T1059\n- T1566\ncapec: []\n---\n\n# Analyzing Malicious PDF with peepdf\n\n## When to Use\n\n- When triaging suspicious PDF attachments from phishing emails\n- During malware analysis of PDF-based exploit documents\n- When extracting embedded JavaScript, shellcode, or executables from PDFs\n- For forensic examination of weaponized document artifacts\n- When building detection signatures for PDF-based threats\n\n## Prerequisites\n\n- Python 3.8+ with peepdf-3 installed (pip install peepdf-3)\n- pdfid.py and pdf-parser.py from Didier Stevens suite\n- Isolated analysis environment (VM or sandbox)\n- Optional: PyV8 for JavaScript emulation within peepdf\n- Optional: Pylibemu for shellcode analysis\n\n## Workflow\n\n1. **Triage with pdfid**: Scan PDF for suspicious keywords (\u002FJS, \u002FJavaScript, \u002FOpenAction, \u002FLaunch, \u002FEmbeddedFile).\n2. **Interactive Analysis**: Open PDF in peepdf interactive mode to explore object structure.\n3. **Identify Suspicious Objects**: Locate objects containing JavaScript, streams, or encoded data.\n4. **Extract Content**: Dump suspicious streams and decode filters (FlateDecode, ASCIIHexDecode).\n5. **Deobfuscate JavaScript**: Analyze extracted JS for shellcode, heap sprays, or exploit code.\n6. **Check VirusTotal**: Use peepdf vtcheck to cross-reference file hash with AV detections.\n7. **Generate IOCs**: Extract URLs, domains, hashes, and shellcode signatures.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| \u002FOpenAction | Automatic action executed when PDF is opened |\n| \u002FJavaScript \u002FJS | Embedded JavaScript code in PDF objects |\n| \u002FLaunch | Action that launches external applications |\n| \u002FEmbeddedFile | File embedded within the PDF structure |\n| FlateDecode | zlib compression filter used to hide content |\n| Object Streams | PDF objects stored in compressed streams |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| peepdf \u002F peepdf-3 | Interactive PDF analysis with JS emulation |\n| pdfid.py | Quick triage scanning for suspicious keywords |\n| pdf-parser.py | Deep object-level PDF parsing |\n| VirusTotal | Hash lookup and AV detection cross-reference |\n| CyberChef | Decode and transform extracted payloads |\n\n## Output Format\n\n```\nAnalysis Report: PDF-MAL-[DATE]-[SEQ]\nFile: [filename.pdf]\nSHA-256: [hash]\nSuspicious Keywords: [\u002FJS, \u002FOpenAction, etc.]\nObjects with JavaScript: [Object IDs]\nExtracted URLs: [List]\nShellcode Detected: [Yes\u002FNo]\nEmbedded Files: [Count and types]\nVirusTotal Detections: [X\u002FY engines]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n","# Analyzing Malicious PDF with peepdf\n\n## When to Use\n\n- When triaging suspicious PDF attachments from phishing emails\n- During malware analysis of PDF-based exploit documents\n- When extracting embedded JavaScript, shellcode, or executables from PDFs\n- For forensic examination of weaponized document artifacts\n- When building detection signatures for PDF-based threats\n\n## Prerequisites\n\n- Python 3.8+ with peepdf-3 installed (pip install peepdf-3)\n- pdfid.py and pdf-parser.py from Didier Stevens suite\n- Isolated analysis environment (VM or sandbox)\n- Optional: PyV8 for JavaScript emulation within peepdf\n- Optional: Pylibemu for shellcode analysis\n\n## Workflow\n\n1. **Triage with pdfid**: Scan PDF for suspicious keywords (\u002FJS, \u002FJavaScript, \u002FOpenAction, \u002FLaunch, \u002FEmbeddedFile).\n2. **Interactive Analysis**: Open PDF in peepdf interactive mode to explore object structure.\n3. **Identify Suspicious Objects**: Locate objects containing JavaScript, streams, or encoded data.\n4. **Extract Content**: Dump suspicious streams and decode filters (FlateDecode, ASCIIHexDecode).\n5. **Deobfuscate JavaScript**: Analyze extracted JS for shellcode, heap sprays, or exploit code.\n6. **Check VirusTotal**: Use peepdf vtcheck to cross-reference file hash with AV detections.\n7. **Generate IOCs**: Extract URLs, domains, hashes, and shellcode signatures.\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| \u002FOpenAction | Automatic action executed when PDF is opened |\n| \u002FJavaScript \u002FJS | Embedded JavaScript code in PDF objects |\n| \u002FLaunch | Action that launches external applications |\n| \u002FEmbeddedFile | File embedded within the PDF structure |\n| FlateDecode | zlib compression filter used to hide content |\n| Object Streams | PDF objects stored in compressed streams |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| peepdf \u002F peepdf-3 | Interactive PDF analysis with JS emulation |\n| pdfid.py | Quick triage scanning for suspicious keywords |\n| pdf-parser.py | Deep object-level PDF parsing |\n| VirusTotal | Hash lookup and AV detection cross-reference |\n| CyberChef | Decode and transform extracted payloads |\n\n## Output Format\n\n```\nAnalysis Report: PDF-MAL-[DATE]-[SEQ]\nFile: [filename.pdf]\nSHA-256: [hash]\nSuspicious Keywords: [\u002FJS, \u002FOpenAction, etc.]\nObjects with JavaScript: [Object IDs]\nExtracted URLs: [List]\nShellcode Detected: [Yes\u002FNo]\nEmbedded Files: [Count and types]\nVirusTotal Detections: [X\u002FY engines]\nRisk Level: [Critical\u002FHigh\u002FMedium\u002FLow]\n```\n",{"name":5,"tags":44,"capec":47,"model":48,"tools":49,"domain":27,"maxTurns":53,"nist_csf":54,"subdomain":45,"description":7,"mitre_attack":59},[45,46,21,38,37,33,32,36],"malware-analysis","pdf",[],"sonnet",[50,25,51,52],"Read","Glob","Grep",20,[55,56,57,58],"DE.AE-02","RS.AN-03","ID.RA-01","DE.CM-01",[60,61],"T1059","T1566","main","a91f1293287ffa9f4f1b8f486cd6e835a1568c84","skills\u002Fmalware\u002Fpdf\u002Fpeepdf\u002Fanalyze","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace","https:\u002F\u002Fgithub.com\u002FDCx7C5","#Python","2026-09-01 11:21:00",{"source":8,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add DCx7C5\u002Fai-marketplace --skill pdf-peepdf-analyze",{"tool":75,"command":76},"bunx","bunx skills add DCx7C5\u002Fai-marketplace --skill pdf-peepdf-analyze",{"tool":78,"command":79},"pnpm","pnpm dlx skills add DCx7C5\u002Fai-marketplace --skill pdf-peepdf-analyze","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware\u002Fpdf\u002Fpeepdf\u002Fanalyze\u002FSKILL.md",true,[83],{"path":84,"resourceType":85,"resourceTypeDesc":86,"sizeBytes":87,"sourceHtmlUrl":88},"index.json","REFERENCE","参考文档",622,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fmalware\u002Fpdf\u002Fpeepdf\u002Fanalyze\u002Findex.json",[90,100,124,145,165,187],{"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":94,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"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",[],[107,108,109,110,111,112,113,27,114,115,116,117,118,119,120,121,122,31,123],"services","detect","services wmi persistence detect","wmi","persistence","process-forensics","process","forensics","t1546.003","event-subscription","subscription","repository","commandline-consumer","subscriptions","event","activescript","de",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"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",[],[131,110,132,107,133,134,25,24,135,27,136,137,138,139,140,141,142,143,123,144],"exec","services wmi exec exploit","exploit","across","team","traffic","remote","crackmapexec","Impacket","lateral-movement","read","lateral movement","command","native",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"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",[],[152,153,154,155,156,48,157,158,159,160,141,123,161,20,24,162,25,27,163,164],"extract","registry artifact extract","registry","artifact","digital-forensics","regripper","windows-registry","evidence-collection","software","uncover","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,108,27,175,31,176,177,178,112,123,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,108,196,197,113,123,179,198,199,200,24,112,27,175,201,31,202,177],"thread","injection","processes thread injection detect","thread-injection","nt-api","apc-injection","api","process-injection","memory"]