Files
splunk-security_content/detections/child_processes_of_spoolsv_exe.yml
Patrick Bareiss 9a50a74ee7 bug in generate
2020-05-14 10:00:55 +02:00

42 lines
1.8 KiB
YAML

name: Child Processes of Spoolsv exe
id: aa0c4aeb-5b18-41c4-8c07-f1442d7599df
version: 3
date: '2020-03-16'
description: This search looks for child processes of spoolsv.exe. This activity is
associated with a POC privilege-escalation exploit associated with CVE-2018-8440.
Spoolsv.exe is the process associated with the Print Spooler service in Windows
and typically runs as SYSTEM.
how_to_implement: You must be ingesting endpoint data that tracks process activity,
including parent-child relationships from your endpoints to populate the Endpoint
data model in the Processes node. The command-line arguments are mapped to the "process"
field in the Endpoint data model. Update the `children_of_spoolsv_filter` macro
to filter out legitimate child processes spawned by spoolsv.exe.
type: ESCU
references: []
author: Rico Valdez, Splunk
search: '| tstats `security_content_summariesonly` count values(Processes.process_name)
as process_name values(Processes.process) as process min(_time) as firstTime max(_time)
as lastTime from datamodel=Endpoint.Processes where Processes.parent_process_name=spoolsv.exe
AND Processes.process_name!=regsvr32.exe by Processes.dest Processes.parent_process
Processes.user | `drop_dm_object_name(Processes)` | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` | `child_processes_of_spoolsv_exe_filter` '
known_false_positives: Some legitimate printer-related processes may show up as children
of spoolsv.exe. You should confirm that any activity as legitimate and may be added
as exclusions in the search.
tags:
analytics_story:
- Windows Privilege Escalation
mitre_attack_id:
- T1068
kill_chain_phases:
- Exploitation
cis20:
- CIS 5
- CIS 8
nist:
- PR.AC
- PR.PT
- DE.CM
security_domain: endpoint
asset_type: Endpoint