⚠️ WARNING THIS IS A EXPERIMENTAL DETECTION
We have not been able to test, simulate or build datasets for it, use at your own risk!
This search looks for the creation of WMI permanent event subscriptions.
- Type: TTP
- Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Last Updated: 2018-10-23
- Author: Rico Valdez, Splunk
- ID: 71bfdb13-f200-4c6c-b2c9-a2e07adf437d
|T1047||Windows Management Instrumentation||Execution|
`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`
Associated Analytic Story
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].
Kill Chain Phase
- Actions on Objectives
Known False Positives
Although unlikely, administrators may use event subscriptions for legitimate purposes.
source | version: 1