Files
splunk-security_content/detections/processes_created_by_netsh.yml
2020-05-06 17:42:38 +02:00

41 lines
1.8 KiB
YAML

name: Processes created by netsh
id: b89919ed-fe5f-492c-b139-95dbb162041e
version: 3
date: '2020-03-02'
description: This search looks for processes launching netsh.exe to execute various
commands via the netsh command-line utility. Netsh.exe is a command-line scripting
utility that allows you to, either locally or remotely, display or modify the network
configuration of a computer that is currently running. Netsh can be used as a persistence
proxy technique to execute a helper .dll when netsh.exe is executed. In this search,
we are looking for processes spawned by netsh.exe that are executing commands via
the command line.
how_to_implement: To successfully implement this search, you must be ingesting logs
with the process name, command-line arguments, and parent processes from your endpoints.
If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA.
type: ESCU
references: []
author: Bhavin Patel, Splunk
search: '| tstats `security_content_summariesonly` count values(Processes.process)
as process min(_time) as firstTime max(_time) as lastTime from datamodel=Endpoint.Processes
where Processes.parent_process="*C:\\Windows\\System32\\netsh.exe*" by Processes.user
Processes.dest Processes.parent_process Processes.parent_process_name Processes.process_name
| `drop_dm_object_name("Processes")` | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
| `processes_created_by_netsh_filter`'
known_false_positives: It is unusual for netsh.exe to have any child processes in
most environments. It makes sense to investigate the child process and verify whether
the process spawned is legitimate.
tags:
analytics_story:
- Netsh Abuse
mitre_attack_id:
- T1059
kill_chain_phases:
- Actions on Objectives
cis20:
- CIS 8
nist:
- PR.PT
- DE.CM
security_domain: endpoint
asset_type: Endpoint