PrintNightmare (print spooler)
Identify hosts exposing MS-RPRN and MS-PAR, exploit the print spooler, and disable it.
PrintNightmare
Detection
Detect potentially vulnerable targets with the following command:
rpcdump.py @<TARGET> | egrep 'MS-RPRN|MS-PAR'These protocol identifiers indicate exposed print RPC interfaces, not a PrintNightmare diagnosis. Check the Windows build, updates and Point and Print policy before assessing applicability:
Protocol: [MS-PAR]: Print System Asynchronous Remote ProtocolProtocol: [MS-RPRN]: Print System Remote Protocol
Remote exploitation
- https://github.com/cube0x0/CVE-2021-1675
- https://www.thedutchhacker.com/how-to-exploit-the-printnightmare-cve-2021-34527/
Local exploitation
Remediation
Apply the relevant vendor updates and policy hardening. Where printing is not needed, disabling the spooler reduces exposure but interrupts print services:
Stop-Service Spooler
REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\Spooler" /v "Start" /t REG_DWORD /d "4" /fProvenance and confidence
- Version
- 2
- Sources reviewed
- 2026-11-23
- Confidence
- medium — Legacy RTFM; v2 editorial review on 2026-11-23 distinguishes print RPC exposure from a vulnerability diagnosis and notes spooler downtime. No host test.
Also searched as: printnightmare, serveur d'impression, spooler, cve-2021-34527