Ir al contenido

PDFinfo

pdfinfo is a command-line utility (part of the poppler-utils package) designed to quickly extract metadata and information...

0views

pdfinfo is a command-line utility (part of the poppler-utils package) designed to quickly extract metadata and structural information from a PDF file.

It is a lightweight and specialized tool, focused exclusively on analyzing PDF documents. In the context of cybersecurity, its main utility lies in the Reconnaissance and Information Gathering (OSINT) phase when analyzing public or leaked documents.

  1. Technological Profiling: Its most valuable function is revealing the “Creator” and “Producer” fields. This indicates which programs were used to generate the PDF (e.g., Microsoft Word 2019, Adobe Acrobat 11.0, Google Chrome Skia). Knowing the software and its versions can expose an obsolete or vulnerable internal infrastructure.
  2. Metadata Extraction: We obtain basic information that can be sensitive, such as:
    • Author (may reveal usernames or employees).
    • Title, Subject, and Keywords (may filter internal project names).
    • Creation and Modification Dates (establish timelines).
  3. Structural Analysis: We report on the PDF version, the number of pages, and, crucially, whether the document is encrypted, password-protected, or has restrictions (such as preventing copying or printing).

The command displays a clean summary of the PDF properties.

Ventana de terminal
pdfinfo [nombre_del_archivo.pdf]

Practical Example:

If we want to analyze a document named manual_interno.pdf:

Ventana de terminal
pdfinfo manual_interno.pdf

Expected Result:

The tool will return a structured list of properties such as:

Ventana de terminal
Title: Informe Confidencial Q3
Author: j.perez
Creator: Microsoft® Word 2016
Producer: Adobe PDF Library 15.0
CreationDate: Tue Oct 10 09:30:15 2024
ModDate: Wed Oct 11 14:45:00 2024
Tagged: yes
Pages: 42
Encrypted: no
Page size: 595 x 842 pts (A4)
File size: 1234567 bytes
Optimized: yes
PDF version: 1.7