Files
splunk-security_content/detections/wmi_permanent_event_subscription.yml
2020-07-22 10:34:54 +02:00

36 lines
1.3 KiB
YAML

name: WMI Permanent Event Subscription
id: 71bfdb13-f200-4c6c-b2c9-a2e07adf437d
version: 1
date: '2018-10-23'
description: This search looks for the creation of WMI permanent event subscriptions.
how_to_implement: To successfully implement this search, you must be ingesting the
Windows WMI activity logs. This can be done by adding a stanza to inputs.conf on
the system generating logs with a title of [WinEventLog://Microsoft-Windows-WMI-Activity/Operational].
type: ESCU
references: []
author: Rico Valdez, Splunk
search: '`wmi` EventCode=5861 Binding | rex field=Message "Consumer =\s+(?<consumer>[^;|^$]+)"
| search consumer!="NTEventLogEventConsumer=\"SCM Event Log Consumer\"" | stats
count min(_time) as firstTime max(_time) as lastTime by ComputerName, consumer,
Message | `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)`
| rename ComputerName as dest | `wmi_permanent_event_subscription_filter`'
known_false_positives: Although unlikely, administrators may use event subscriptions
for legitimate purposes.
tags:
analytics_story:
- Suspicious WMI Use
mitre_attack_id:
- T1047
kill_chain_phases:
- Actions on Objectives
cis20:
- CIS 3
- CIS 5
nist:
- PR.PT
- PR.AT
- PR.AC
- PR.IP
security_domain: endpoint
asset_type: Endpoint