[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EBGTYEEBP4KEQWAVZD8JRW":3,"skill-same:01M7EBGTYEEBP4KEQWAVZD8JRW":74},{"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":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M7EBGTYEEBP4KEQWAVZD8JRW","analyzing-malicious-pdf-with-peepdf",null,"Perform static analysis of malicious PDF documents using peepdf, pdfid, and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects. Use when triaging a suspicious PDF attachment from a phishing email, analyzing a PDF-based exploit document, or building detection signatures for weaponized PDF threats.","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-逆向工程\u002Fanalyzing-malicious-pdf-with-peepdf\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: analyzing-malicious-pdf-with-peepdf\ndescription: Perform static analysis of malicious PDF documents using peepdf, pdfid,\n  and pdf-parser to extract embedded JavaScript, shellcode, and suspicious objects.\n  Use when triaging a suspicious PDF attachment from a phishing email, analyzing a\n  PDF-based exploit document, or building detection signatures for weaponized PDF\n  threats.\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\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- DE.AE-02\n- RS.AN-03\n- ID.RA-01\n- DE.CM-01\nmitre_attack:\n- T1204.002\n- T1059.007\n- T1027\n- T1106\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":24,"author":33,"domain":34,"license":15,"version":35,"nist_csf":36,"subdomain":25,"description":7,"mitre_attack":41},[25,26,27,28,29,30,31,32],"malware-analysis","pdf","peepdf","pdfid","pdf-parser","static-analysis","reverse-engineering","dfir","mahipal","cybersecurity","1.0",[37,38,39,40],"DE.AE-02","RS.AN-03","ID.RA-01","DE.CM-01",[42,43,44,45],"T1204.002","T1059.007","T1027","T1106","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","03-逆向工程\u002Fanalyzing-malicious-pdf-with-peepdf",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":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malicious-pdf-with-peepdf",{"tool":60,"command":61},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malicious-pdf-with-peepdf",{"tool":63,"command":64},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill analyzing-malicious-pdf-with-peepdf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malicious-pdf-with-peepdf\u002FSKILL.md",true,[68],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fapi-reference.md","REFERENCE","参考文档",3318,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F03-逆向工程\u002Fanalyzing-malicious-pdf-with-peepdf\u002Freferences\u002Fapi-reference.md",[75,84,89,96,103,110],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":83},"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":85,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":83},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"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":79,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":83},"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":83},"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":83},"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":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":83},"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",[],[]]