T1547.012 · Print Processors

Spoolsv Writing a DLL - Sysmon

  • Windows
  • Confirmed Technique

About this detection

The following analytic detects spoolsv.exe writing a .dll file, which is unusual behavior and may indicate exploitation of vulnerabilities like CVE-2021-34527 (PrintNightmare). This detection leverages Sysmon EventID 11 to monitor file creation events in the \spool\drivers\x64\ directory. This activity is significant because spoolsv.exe typically does not write DLL files, and such behavior could signify an ongoing attack. If confirmed malicious, this could allow an attacker to execute arbitrary code, escalate privileges, or maintain persistence on the compromised system.

Sysmon event coverage

  • FileCreate

Sysmon XML

Download XML

Loading configuration…