Static Analysis of Malicious PDFs
PDF documents are made of objects and streams. Sometimes attackers use PDF documents to embed malicious scripts in it.
These documents when opened execute the scripts which in turn try and connect to the attacker's webserver to download malicious executables.
Below is such an example. Let's analyze this PDF statically:
The javacript is obfuscated.
Beautifying it makes it easier to read.
These indicate that attacker is trying to exploit some vulnerability and is probably spraying the memory with shellcode.
SonicWall Capture Labs Threat Research team have researched these PDFs and released following signatures to protect their customers.
- SPY :Malformed-File pdf
- GAV: Pdfka.AK