pentesting, updated
Identify exploit and malware indicators in a PDF
Match extracted PDF content against known exploit shellcode patterns and malware signatures.
Goal
Decide whether a suspicious PDF is an actual exploit delivery and identify which vulnerability or family it targets.
How to test
yara -r rules/ suspect.pdf # match known PDF-exploit rule sets
pdfid.py -e suspect.pdf # extended indicator summary
Cross-reference any /OpenAction -> /JS chain with public PDF CVEs (Adobe Reader JBIG2/FlateDecode heap overflows, Collab.collectEmailInfo, etc.) and check the producer field against the CVE’s affected versions.
What to look for
A YARA hit on a maintained exploit/malware rule set, shellcode-shaped byte patterns (NOP sleds, \x90 runs) inside a decoded stream, or a /Launch action pointing at an OS command.
Notes
This is identification, not detonation — never open the file to “confirm” a finding; static indicators are sufficient for a report.