# deepzec/Bad-Pdf

Steal Net-NTLM Hash using Bad-PDF

Repository: https://github.com/deepzec/Bad-Pdf
Canonical: https://ross.abutalabs.com/products/bad-pdf
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: ntlm-hashes, badpdf, vulnerability, ntlm-hash-extraction, cve-2018-4993
Last push: 2025-10-20T04:08:48+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 48, release rhythm 8, longevity 100
- inputs: {"age_days": 3048, "days_push": 317, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1151, forks 223 (observed 2026-08-28T04:03:46.734930+00:00)

## What it is
Bad-PDF is a Python tool that generates malicious PDF files exploiting CVE-2018-4993 to steal NTLMv1/NTLMv2 hashes from Windows machines via Responder listener. It is intended for educational and penetration-testing purposes.

## Use cases
- steal ntlm hashes via malicious pdf
- test pdf readers for cve-2018-4993
- capture ntlmv2 hashes with responder
- red team credential harvesting exercise
- demonstrate ntlm credentials theft via pdf

## When to choose
- you need to demonstrate or test the CVE-2018-4993 NTLM hash theft vector
- you run authorized penetration tests or security awareness demos on Windows environments
- you already use Responder on Kali Linux for hash capture

## When to avoid
- the target Adobe Acrobat is patched (APSB18-09)
- you lack authorization to test the target systems
- you need a general-purpose PDF generation or parsing tool

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, penetration-testing, pdf
- domain: security, penetration-testing, pdf
- platform: python, cli
- tags: ntlm-hash-extraction, credential-theft, cve-2018-4993, responder, red-team, offensive-security, linux

## Member repositories
- deepzec/Bad-Pdf (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:46.734930+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:33:36.289693+00:00, confidence not recorded.
  - readme: https://github.com/deepzec/Bad-Pdf (fetched 2026-08-28T04:03:46.734930+00:00, sha 8beb72267ab2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
