Privilege Escalation (TA0004)(external, opens in a new tab or window)
endpoint(external, opens in a new tab or window)
windows(external, opens in a new tab or window)
system(external, opens in a new tab or window)
crowdstrike(external, opens in a new tab or window)
sentinel_one_cloud_funnel(external, opens in a new tab or window)
text code block:process where host.os.type == "windows" and event.type == "start" and process.parent.name : "spoolsv.exe" and process.command_line != null and (?process.Ext.token.integrity_level_name : "System" or ?winlog.event_data.IntegrityLevel : "System") and /* exclusions for FP control below */ not process.name : ("splwow64.exe", "PDFCreator.exe", "acrodist.exe", "spoolsv.exe", "msiexec.exe", "route.exe", "WerFault.exe") and not process.command_line : "*\\WINDOWS\\system32\\spool\\DRIVERS*" and not (process.name : "net.exe" and process.command_line : ("*stop*", "*start*")) and not (process.name : ("cmd.exe", "powershell.exe") and process.command_line : ("*.spl*", "*\\program files*", "*route add*")) and not (process.name : "netsh.exe" and process.command_line : ("*add portopening*", "*rule name*")) and not (process.name : "regsvr32.exe" and process.command_line : "*PrintConfig.dll*") and not process.executable : ( "?:\\Program Files (x86)\\CutePDF Writer\\CPWriter2.exe", "?:\\Program Files (x86)\\GPLGS\\gswin32c.exe", "?:\\Program Files (x86)\\Acro Software\\CutePDF Writer\\CPWSave.exe", "?:\\Program Files (x86)\\Acro Software\\CutePDF Writer\\CPWriter2.exe", "?:\\Program Files (x86)\\CutePDF Writer\\CPWSave.exe", "?:\\Program Files (x86)\\TSplus\\UniversalPrinter\\CPWriter2.exe", "?:\\Program Files\\Seagull\\Printer Drivers\\Packages\\*\\DriverEnvironmentSetup.exe", "?:\\Windows\\system32\\CNAB4RPD.EXE", /* Crowdstrike specific condition as it uses NT Object paths */ "\\Device\\HarddiskVolume*\\Program Files (x86)\\CutePDF Writer\\CPWriter2.exe", "\\Device\\HarddiskVolume*\\Program Files (x86)\\GPLGS\\gswin32c.exe", "\\Device\\HarddiskVolume*\\Program Files (x86)\\Acro Software\\CutePDF Writer\\CPWSave.exe", "\\Device\\HarddiskVolume*\\Program Files (x86)\\Acro Software\\CutePDF Writer\\CPWriter2.exe", "\\Device\\HarddiskVolume*\\Program Files (x86)\\CutePDF Writer\\CPWSave.exe", "\\Device\\HarddiskVolume*\\Program Files (x86)\\TSplus\\UniversalPrinter\\CPWriter2.exe", "\\Device\\HarddiskVolume*\\Program Files\\Seagull\\Printer Drivers\\Packages\\*\\DriverEnvironmentSetup.exe", "\\Device\\HarddiskVolume*\\Windows\\system32\\CNAB4RPD.EXE" )
Install detection rules in Elastic Security
Detect Unusual Print Spooler Child Process in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).