Training PDF

Training PDF

From BruCON 2017

Revision as of 15:24, 11 May 2013 by Treyka (talk | contribs) (Trainer Biography)

Jump to: navigation, search

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

Trainer Biography

Didier Stevens (Microsoft MVP Consumer Security, CISSP, GSSP-C, MCSD .NET, MCSE/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.

300px-twitter-icon.jpg @DidierStevens

24 & 25 September (09:00 - 17:00)


Back to Training Overview