Skip to main content

Overview

PrintNightmare exploits the Windows Print Spooler service to achieve LPE (Local Privilege Escalation) or RCE (Remote Code Execution) by loading a malicious DLL as SYSTEM.

Check if Vulnerable

Print Spooler running:
Missing patch:
If no results → vulnerable.

Local Privilege Escalation (LPE)

Using PowerShell (CVE-2021-1675)

Verifies by adding local admin. Then:

GitHub


Remote Code Execution (RCE)

Step 1 — Create Malicious DLL

Step 2 — Host DLL on SMB Share

Step 3 — Exploit

Step 4 — Catch Shell


Via Mimikatz

Local:

Metasploit


Post-Exploitation Cleanup

PrintNightmare can crash the Print Spooler service. In a real engagement, coordinate with the client before exploiting.