From BruCON 2017
Hacking PDF by Didier Stevens
PDF exploits and malicious PDF documents have been on the radar for several years now. But do you know how to detect them? And how they are constructed?
This training will teach you how to analyze PDF files and create your own PDF hacks. PDF files that execute code, but also PDF documents to embed, obfuscate and hide all types of content. Didier Stevens will teach you how to use his Python tools to analyze PDF documents and to create your own PDF documents from scratch. With a bit of knowledge of the Python programming language, Didier Stevens will teach you how to use his PDF Python module to create all sorts of “interesting” PDF files. And for good measure, we also throw in a bit of shellcode programming. Didier Stevens will reveal you shellcode he specially designed for PDF files. This shellcode has never been released publicly.
This is not a training on exploit development, but we will see with several exercises how exploits need to be packaged in PDF files. We focus on the PDF language, not on reversing PDF readers.
Attendees will receive a personal license to Didier Stevens Labs’ “PDF Workshop” videos and a Teensy USB development board.
Who Should Attend
This training is for technical IT security professionals like pentesters, but also for interested hackers.
Key Learning Objectives
- Deep understanding of the Portable Document Format
- Analysis of (malicious) PDF files
- Creation of PDF files from scratch for pentesting purposes and other fun
A Windows laptop.
- fluent with the Windows command prompt
- notions of Python programming
- notions of shellcode development
- Extensive introduction to the PDF language
- Identification of PDF files with pdfid
- Analysis of PDF files with pdf-parser (20 exercises)
- Creation of PDF files (10 exercises total)
- Generation of PDF files to embed payloads
- Development of shellcode specially designed to be used in PDF documents
- Packaging of a classic PDF exploit with heapspray
- Development of a /Launch action exploit
Security, MCITP Windows Server 2008, RHCT, CCNP Security, OSWP) is an IT Security Consultant currently working at a large Belgian financial corporation. Didier is a pioneer in malicious PDF document research, and has developed several tools to help with the analysis of malicious PDF documents. In 2012, Didier founded his own company Didier Stevens Labs. You can find his open source security tools on his IT security related blog.
24 & 25 September (09:00 - 17:00)