File metadata refers to the information about a file e.g. author name, size, tags etc. This information can be very helpful for an attacker or pentester, especially when the file is corrupted or protected. The challenges in this section deal with extracting PDF metadata and analyzing the PE files.

What will you learn?

  • Extracting PDF metadata using pypdf2 Python library

  • Analyzing PE files using pefile Python library


  1. Pypdf2 documentation (

  2. PEfile library (

Labs Covered:

  • OSINT: PDF Metadata

    In this lab, you will learn to extract PDF metadata using the pypdf2 Python library.

  • Analyzing PE File

    In this lab, you will learn to analyze PE files using the pefile Python library.

User Avatar

OSINT: PDF Metadata

User Avatar

Analyzing PE File