# cube0x0/CVE-2021-1675

C# and Impacket implementation of PrintNightmare CVE-2021-1675/CVE-2021-34527

Repository: https://github.com/cube0x0/CVE-2021-1675
Canonical: https://ross.abutalabs.com/products/cve-2021-1675
Language: C#
License Family: other
Last push: 2021-07-20T15:28:13+00:00

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

## Adoption (not part of the score)
Stars 1999, forks 574 (observed 2026-08-28T04:06:03.763289+00:00)

## What it is
A proof-of-concept exploit tool implementing the PrintNightmare vulnerabilities (CVE-2021-1675/CVE-2021-34527) in both C# and Python (Impacket). It enables remote or local execution of malicious DLLs against Windows Print Spooler services, including fully patched Domain Controllers with certain registry misconfigurations.

## Use cases
- test if a domain controller is vulnerable to PrintNightmare
- demonstrate CVE-2021-1675 remote code execution in a pentest
- check whether PointAndPrint registry settings leave a patched machine exploitable
- execute a malicious DLL remotely via the Print Spooler
- run the exploit locally for privilege escalation testing
- verify Print Spooler patch effectiveness during a security assessment

## When to choose
- you need a working PrintNightmare PoC for authorized penetration testing
- you want an Impacket-based Python implementation that runs from Linux
- you are validating Windows Print Spooler hardening and patch status
- you need both local and remote DLL execution variants of the exploit

## When to avoid
- you need a hardened, maintained security tool - this is a PoC with no license and limited upkeep
- you are looking for a defensive scanner rather than an exploit
- your target is not Windows with the Print Spooler service running
- unauthorized use - this tool performs exploitation and is illegal outside authorized testing

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: penetration-testing, security, cli
- domain: security, penetration-testing, windows
- platform: python, windows, cli
- tags: printnightmare, cve-2021-1675, cve-2021-34527, exploit, poc, impacket, remote-code-execution, active-directory, lpe, linux

## Member repositories
- cube0x0/CVE-2021-1675 (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:03.763289+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-30T03:02:10.147203+00:00, confidence not recorded.
  - readme: https://github.com/cube0x0/CVE-2021-1675 (fetched 2026-08-28T04:06:03.763289+00:00, sha 262b702ca4d2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
