mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
83 lines
3.5 KiB
YAML
83 lines
3.5 KiB
YAML
name: Remote WMI Command Attempt
|
|
id: 272df6de-61f1-4784-877c-1fbc3e2d0838
|
|
version: 5
|
|
date: '2024-05-17'
|
|
author: Rico Valdez, Michael Haag, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic detects the execution of `wmic.exe` with the `node`
|
|
switch, indicating an attempt to spawn a local or remote process. This detection
|
|
leverages data from Endpoint Detection and Response (EDR) agents, focusing on process
|
|
creation events and command-line arguments. This activity is significant as it may
|
|
indicate lateral movement or remote code execution attempts by an attacker. If confirmed
|
|
malicious, the attacker could gain remote control over the targeted system, execute
|
|
arbitrary commands, and potentially escalate privileges or persist within the environment.
|
|
data_source:
|
|
- Sysmon EventID 1
|
|
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
|
|
as lastTime from datamodel=Endpoint.Processes where `process_wmic` Processes.process=*node*
|
|
by Processes.dest Processes.user Processes.parent_process Processes.process_name
|
|
Processes.process Processes.process_id Processes.parent_process_id | `drop_dm_object_name(Processes)`
|
|
| `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `remote_wmi_command_attempt_filter`'
|
|
how_to_implement: The detection is based on data that originates from Endpoint Detection
|
|
and Response (EDR) agents. These agents are designed to provide security-related
|
|
telemetry from the endpoints where the agent is installed. To implement this search,
|
|
you must ingest logs that contain the process GUID, process name, and parent process.
|
|
Additionally, you must ingest complete command-line executions. These logs must
|
|
be processed using the appropriate Splunk Technology Add-ons that are specific to
|
|
the EDR product. The logs must also be mapped to the `Processes` node of the `Endpoint`
|
|
data model. Use the Splunk Common Information Model (CIM) to normalize the field
|
|
names and speed up the data modeling process.
|
|
known_false_positives: Administrators may use this legitimately to gather info from
|
|
remote systems. Filter as needed.
|
|
references:
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1047/T1047.yaml
|
|
- https://www.microsoft.com/en-us/security/blog/2023/05/24/volt-typhoon-targets-us-critical-infrastructure-with-living-off-the-land-techniques/
|
|
- https://thedfirreport.com/2023/05/22/icedid-macro-ends-in-nokoyawa-ransomware/
|
|
tags:
|
|
analytic_story:
|
|
- Graceful Wipe Out Attack
|
|
- Volt Typhoon
|
|
- Living Off The Land
|
|
- IcedID
|
|
- Suspicious WMI Use
|
|
- CISA AA23-347A
|
|
asset_type: Endpoint
|
|
confidence: 60
|
|
impact: 60
|
|
message: A wmic.exe process $process$ contain node commandline $process$ in host
|
|
$dest$
|
|
mitre_attack_id:
|
|
- T1047
|
|
observable:
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
required_fields:
|
|
- _time
|
|
- Processes.user
|
|
- Processes.process_name
|
|
- Processes.parent_process_name
|
|
- Processes.dest
|
|
- Processes.parent_process
|
|
- Processes.parent_process_id
|
|
- Processes.process_id
|
|
risk_score: 36
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data:
|
|
https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1047/atomic_red_team/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|