Malware Hunting: Discovering Evasive Techniques in PDF Documents
Filipi Pires demonstrates techniques for dissecting malicious PDF documents, extracting embedded JavaScript, and uncovering hidden exploit streams.
Summary
In this technical workshop at the DEF CON 30 Blue Team Village, security researcher Filipi Pires provides an in-depth breakdown of malicious PDF analysis, examining the evasion techniques employed by threat actors to deliver document-based exploits. He begins at 08:00 by discussing cyber resilience strategies, emphasizing that defensive teams must understand attacker delivery tradecraft to protect enterprise endpoints from weaponized email attachments.
Filipi deconstructs the internal architecture of the PDF specification at 16:00, explaining how objects, dictionaries, streams, and cross-reference (XREF) tables function together. At 24:00, he demonstrates inspecting raw file headers and strings to identify anomalous embedded scripts, followed by using diagnostic tools like PDFiD and pdf-parser at 32:00 to detect suspicious OpenAction triggers and embedded JavaScript.
At 40:00, Filipi analyzes advanced obfuscation methods, showing how attackers nest objects and apply multiple encoding layers (such as FlateDecode and hex encoding) to evade static antivirus scanners. He concludes at 48:00 by demonstrating how to extract and decode raw shellcode payloads from PDF streams, providing guidance on authoring robust YARA detection signatures for SOC and malware analysis teams. (AI summary — Gemini Flash)
Related talks
Blue Team Village·36 min
Project Obsidian
Project Obsidian walks through triaging and reverse engineering high volumes of malicious email attachments and phishing lures.
Demo Labs·20 min
Tomoaki Tani · Shusei Tomonaga
A demonstration of using MalConfScan with Cuckoo Sandbox to extract configuration data from malware families in memory.
Blue Team Village·17 min
Saurabh Chaudhary
Saurabh Chaudhary demonstrates crafting high-performance, modular YARA rules to detect complex malware variants and streamline threat hunting.


