Difference between revisions of "Training PDF"
From BruCON 2017
(Created page with "=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 con...") |
(No difference)
|
Revision as of 11:08, 11 April 2013
Contents
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
Technical Requirements
A Windows laptop.
Pre-Requisite Knowledge
- fluent with the Windows command prompt
- notions of Python programming
- notions of shellcode development
Detailed Agenda
Day 1
- Extensive introduction to the PDF language
- Identification of PDF files with pdfid
- Analysis of PDF files with pdf-parser (20 exercises)
Day 2
- 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