Skills for Real Engineers. Straight from my .agents directory.
analyzing-malicious-pdf-with-peepdf
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
Perform static analysis of malicious PDF documents using peepdf, pdfid,
How to install analyzing-malicious-pdf-with-peepdf
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-malicious-pdf-with-peepdf/
# into
~/.claude/skills/analyzing-malicious-pdf-with-peepdf/ (all projects)
.claude/skills/analyzing-malicious-pdf-with-peepdf/ (one project)
1# Analyzing Malicious PDF with peepdf23## When to Use45- When triaging suspicious PDF attachments from phishing emails6- During malware analysis of PDF-based exploit documents7- When extracting embedded JavaScript, shellcode, or executables from PDFs8- For forensic examination of weaponized document artifacts9- When building detection signatures for PDF-based threats1011## Prerequisites1213- Python 3.8+ with peepdf-3 installed (pip install peepdf-3)14- pdfid.py and pdf-parser.py from Didier Stevens suite15- Isolated analysis environment (VM or sandbox)16- Optional: PyV8 for JavaScript emulation within peepdf17- Optional: Pylibemu for shellcode analysis1819## Workflow20211. **Triage with pdfid**: Scan PDF for suspicious keywords (/JS, /JavaScript, /OpenAction, /Launch, /EmbeddedFile).222. **Interactive Analysis**: Open PDF in peepdf interactive mode to explore object structure.233. **Identify Suspicious Objects**: Locate objects containing JavaScript, streams, or encoded data.244. **Extract Content**: Dump suspicious streams and decode filters (FlateDecode, ASCIIHexDecode).255. **Deobfuscate JavaScript**: Analyze extracted JS for shellcode, heap sprays, or exploit code.266. **Check VirusTotal**: Use peepdf vtcheck to cross-reference file hash with AV detections.277. **Generate IOCs**: Extract URLs, domains, hashes, and shellcode signatures.2829## Key Concepts3031| Concept | Description |32|---------|-------------|33| /OpenAction | Automatic action executed when PDF is opened |34…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
