Resource Library
Security BulletinsVisibilityRiskIncident ResponseFebruary 15, 2024

Security Brief - PrintNightmare

SECURITY BULLETIN

Detecting and Responding to PrintNightmare

ORDR Security Brief — CVE-2021-34527 (Windows Print Spooler Remote Code Execution)

Identify PrintNightmare-Vulnerable Systems

Step 1 — Navigate to the Security Tab. From Device Inventory in the ORDR console, open the Security tab to view organization-wide device risk and vulnerability data.

Device Inventory Snapshot

Value

Total Devices

12,139

Online / Offline

11,995 / 144

Limited Visibility

161,492

Critical / High Risk

2 / 15

Medium / Low Risk

553 / 3,890

Normal

7,679

Step 2 — Locate Vulnerable Assets. The Incident Summary panel surfaces a dedicated "PrintNightmare Vuln" counter alongside other vulnerability and advisory categories, and separately tracks Device Risk Summary counts.

Incident Summary Category

Count

External Communications

197

Internal Communications

18.9K

Vulnerabilities (incl. PrintNightmare Vuln: 1)

19

Advisories

163

Security Warnings

182

Step 3 — Uncover All Assets with a Running Vulnerable Print Spooler. Drilling into the PrintNightmare Vuln incident lists every affected device so the list can be exported and remediated per Microsoft’s guidance.

Field

Value

Incident Category

PrintNightmare Vuln

Incident Type

CVE-2021-34527: Windows Print Spooler Remote Code Execution

Devices Affected

3,843

Cleared

0

Microsoft's Recommended Remediation Steps

Microsoft recommends that customers follow these steps immediately:

  • In ALL cases, apply the CVE-2021-34527 security update. The update will not change existing registry settings.
  • After applying the security update, review the registry settings documented in the CVE-2021-34527 advisory.
  • If the registry keys documented do not exist, no further action is required.
  • If the registry keys documented exist, in order to secure your system, you must confirm that the following registry keys are set to 0 (zero) or are not present:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\Printers\PointAndPrint
    • NoWarningNoElevationOnInstall = 0 (DWORD) or not defined (default setting)
    • UpdatePromptSettings = 0 (DWORD) or not defined (default setting)
  • For more in-depth guidance, see Microsoft’s advisories "KB5005010: Restricting installation of new printer drivers after applying the July 6, 2021 updates" and "CVE-2021-34527."
  • If Microsoft’s investigation identifies additional issues, it will take action as needed to help protect customers.

Microsoft-Documented Workarounds (If a Patch Is Not Available)

Find Systems With Print Spoolers

  1. Users are urged to disable the "Print Spooler" service on servers that do not require it. Microsoft has provided a series of workarounds to be applied. Determine if the Print Spooler service is running (run as a Domain Admin).
  2. Run the following as a Domain Admin: Get-Service -Name Spooler
  3. If the Print Spooler is running or if the service is not set to disabled, select one of the following options to either disable the Print Spooler service, or to disable inbound remote printing through Group Policy.

Option 1: Disable Print Spooler

If disabling the Print Spooler service is appropriate for your enterprise, use the following PowerShell commands:

Stop-Service -Name Spooler -Force

Set-Service -Name Spooler -StartupType Disabled

Impact of workaround: Disabling the Print Spooler service disables the ability to print both locally and remotely.

Option 2: Disable Remote Printing

You can also configure the settings via Group Policy as follows: Computer Configuration / Administrative Templates / Printers

Disable the "Allow Print Spooler to accept client connections" policy to block remote attacks.

Impact of workaround: This policy will block the remote attack vector by preventing inbound remote printing operations. The system will no longer function as a print server, but local printing to a directly attached device will still be possible.

Detecting an Active PrintNightmare Attack

Beyond flagging vulnerable systems, ORDR distinguishes exposure from active exploitation. The Incident Summary panel separately tracks a "PrintNightmare Attack" counter alongside the "PrintNightmare Vuln" counter described above, giving teams an immediate signal when an exploit attempt is under way.

Identify the Offending Systems. Drilling into the PrintNightmare Attack incident reveals the specific devices involved:

Field

Value

Incident Category

PrintNightmare Attack

Incident Type

Microsoft Windows Print Spooler exploit attempt

Last Occurrence

8/16/2021 09:11 PM

Devices

2

Cleared

0


MAC Address

IP Address

Device Name

Group

Profile

Risk

Vuln

00:1C:23:66:9D:7F

192.168.1.157

dellwok-898.ordr.net

Workstations

Dell-Workstation

medium

critical

00:1C:23:65:91:7F

192.168.1.149

dellwork-298.ordr.net

Workstations

Dell-Workstation

medium

critical

Mitigate the Threat. Selecting the offending hosts exposes one-click remediation actions directly from the device list, including:

  • Add to Blocklist / Blocklist & Port Shut
  • Remove Blocklist / Remove Blocklist & Enable Ports
  • Generate Blocklist CLI
  • Fetch Installed Software Info
  • Change VLAN (enforce)
  • Initiate Scan
  • Delete Devices
  • Change Attributes
  • Analyze App Usage

Deploy the Generated Configuration. Generate Blocklist CLI produces switch-ready configuration that can be copied directly into network infrastructure, for example:

CLI for: 10.1.21.2

mac address-table static 0007.5f63.bdbc vlan 951 drop

interface GigabitEthernet1/0/31

shutdown

 

mac address-table static 0040.8c66.9b4d vlan 951 drop

interface GigabitEthernet1/0/15

shutdown

 

mac address-table static 0007.5f60.6b5c vlan 951 drop

interface GigabitEthernet1/0/27

shutdown

 

mac address-table static accc.8e65.37b8 vlan 951 drop

interface GigabitEthernet1/0/12

shutdown

 

mac address-table static accc.8e65.24bf vlan 951 drop

interface GigabitEthernet1/0/2

shutdown

Number of devices for which Config CLI could not be generated: 17

Frequently asked questions
What is PrintNightmare and why is it a critical vulnerability?
PrintNightmare (CVE-2021-1675/CVE-2021-34527) is a critical remote code execution vulnerability in Windows Print Spooler that allows attackers to execute arbitrary code with SYSTEM privileges. ORDR's security brief helps you identify affected print systems and implement detection strategies to prevent exploitation before threats materialize.
How can I find PrintNightmare vulnerable printers across my network?
ORDR's guidance provides specific detection criteria to discover vulnerable print systems in your environment without disrupting operations. The brief outlines visibility-first approaches that map your print infrastructure and highlight devices requiring immediate patching or remediation.
What should my incident response plan include for PrintNightmare threats?
ORDR recommends developing risk-prioritized response procedures that account for print system criticality, network exposure, and active threat assessment findings. The brief details how to detect exploit attempts in real-time and establish remediation workflows aligned with your organizational risk tolerance.

This resource is published by ORDR, the connected asset security company. ORDR delivers AI-powered visibility, risk assessment, and automated protection for IoT, OT, and IoMT devices across healthcare, manufacturing, government, and financial environments. Browse all resources →