Scoring PDF structure to detect malicious files

No ratings

Presented at SourceSeattle 2012 by

Today PDF is a big attack vector for malware. Antivirus/Client-side protections are struggling to detect malicious PDFs, and this represents a serious security concern. Detecting malicious PDFs is complex, however, because there are literally thousands of ways to write the same content. Encoding, javascript obfuscation, compression, and filters such as ASCIIHexDecode, ASCII85Decode, and CCITTFaxDecode all contribute to an attackers ability to hide malicious content. While deep analysis of these individual attributes is a daunting task, focusing on combinations of them offers a unique, behavioral approach to detection. In this talk, well discuss PDF structure, compare real malicious PDF samples to non-malicious content, and demonstrate how analyzing the file structure with a scoring system we can greatly aid in determining whether a file is malicious or not.