[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESN38FS3BMQNGAQC310983":3,"skill-same:01M6ESN38FS3BMQNGAQC310983":106},{"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":26,"publishedAt":47,"linkOnly":48,"markdownContent":49,"markdownBody":50,"frontMatter":51,"refName":67,"commitSha":68,"skillDirectory":69,"forksCount":14,"repositoryHtmlUrl":70,"repositoryHomepageUrl":71,"ownerHtmlUrl":72,"ownerBlogUrl":6,"ownerDescription":73,"updatedAt":74,"install":75,"resources":88},"01M6ESN38FS3BMQNGAQC310983","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.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"malicious","with","analyzing","analyzing malicious pdf with peepdf","peepdf","PDF","static-analysis","reverse-engineering","documents","pdfid","pdf-parser","dfir","javascript","cybersecurity","t1059","analysis","cm","007","objects","id","2026-11-10 10:12:30",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.\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":52,"author":55,"domain":40,"license":15,"version":56,"nist_csf":57,"subdomain":53,"description":7,"mitre_attack":62},[53,54,31,36,37,33,34,38],"malware-analysis","pdf","mahipal","1.0",[58,59,60,61],"DE.AE-02","RS.AN-03","ID.RA-01","DE.CM-01",[63,64,65,66],"T1204.002","T1059.007","T1027","T1106","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":76,"prompt":86,"zipAvailable":87},[77,80,83],{"tool":78,"command":79},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill analyzing-malicious-pdf-with-peepdf",{"tool":81,"command":82},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill analyzing-malicious-pdf-with-peepdf",{"tool":84,"command":85},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill analyzing-malicious-pdf-with-peepdf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf\u002FSKILL.md",true,[89,94,100],{"path":90,"resourceType":90,"resourceTypeDesc":91,"sizeBytes":92,"sourceHtmlUrl":93},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf\u002FLICENSE",{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fapi-reference.md","REFERENCE","参考文档",3318,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf\u002Freferences\u002Fapi-reference.md",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fagent.py","SCRIPT","脚本",8427,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fanalyzing-malicious-pdf-with-peepdf\u002Fscripts\u002Fagent.py",[107,143,152,161,183,208],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":126,"publishedAt":47},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[114,115,118,121],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":119,"categoryName":120,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[109,127,32,128,129,35,130,131,132,133,134,135,136,137,138,139,140,141,142,28],"docx","pptx","xlsx","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube",{"skillNo":144,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":151,"publishedAt":47},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[147,148,149,150],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":119,"categoryName":120,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[109,127,32,128,129,35,130,131,132,133,134,135,136,137,138,139,140,141,142,28],{"skillNo":153,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":160,"publishedAt":47},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[156,157,158,159],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":116,"categoryName":117,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":119,"categoryName":120,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":122,"categoryName":123,"taxonomyType":124,"taxonomyTypeDesc":125},[109,127,32,128,129,35,130,131,132,133,134,135,136,137,138,139,140,141,142,28],{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"publishedAt":47},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":190,"publishedAt":47},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[189],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[191,192,193,194,195,196,42,197,198,199,200,136,137,201,202,203,204,205,206,207],"oracle","what if oracle","go","run","ux","futures","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":209,"name":210,"nameZh":6,"description":211,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":111,"licenseFileUrl":6,"sourceHtmlUrl":212,"categories":213,"keywords":224,"publishedAt":47},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[214,217,220,221],{"categoryNo":215,"categoryName":216,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":218,"categoryName":219,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":222,"categoryName":223,"taxonomyType":124,"taxonomyTypeDesc":125},"01JBSEEDCAT000000000000036","内容创作者",[225,226,227,228,229,230,231,232,133,233,136,137,138,234,235,236,237,238,182,239],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]