Malicious PrintNightmare Privilege Escalation via Invoke-Nightmare

PremiumReviewedSigma · High · v1
Product
windows
Category
ps_script
Author
HuntRule
Published
2026-05-27
Updated
2026-08-28

ATT&CK techniques

Priv Esc
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects the Invoke-Nightmare PowerShell cmdlet used to exploit the PrintNightmare vulnerability for local privilege escalation, as observed in SnapMC intrusions before data theft. Invocation of this public exploit tooling reliably indicates an attempt to gain SYSTEM privileges through the print spooler.

Related detections9 linkedT1068 — drag to rearrange
Malicious Payload Download From copy.fail Exploit Host on Linux (via process_creation)
Suspicious su Execution From Uncommon Parent Process on Linux (via process_creation)
Possible noPac sAMAccountName Spoofing via Machine Account Rename
Possible macOS TCC Bypass via mdimport Loading Custom Spotlight Importer
Suspicious CLFS Base Log File Created in SkyPDF ProgramData Path during Zero-Day Exploitation (via file_event)
Malicious Cisco SD-WAN Tenant List Upload Script Execution (via process_creation)
Possible Cisco Catalyst SD-WAN Manager Tenant Upload Exploitation CVE-2026-20245 (via process_creation)
Suspicious Modification of CloudFiles BlockedApps Policy via registry_set
Suspicious Command Shell Spawned by lmadmin License Manager via process_creation
Malicious PrintNightmare Privilege Escalation via Invoke-Nightmare
Pivot detection · T1068 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.