Files
splunk-security_content/dev/endpoint/get_wmiobject_group_discovery.yml
2023-01-20 13:24:15 +01:00

65 lines
2.1 KiB
YAML

name: Get WMIObject Group Discovery
id: 5434f670-155d-11ec-8cca-acde48001122
version: 1
date: '2021-09-14'
author: Michael Haag, Splunk
status: production
type: Hunting
description: The following hunting analytic identifies the use of `Get-WMIObject Win32_Group`
being used with PowerShell to identify local groups on the endpoint. \ Typically,
by itself, is not malicious but may raise suspicion based on time of day, endpoint
and username. \ During triage, review parallel processes and identify any further
suspicious behavior.
data_source:
- Sysmon Event ID 1
search:
selection1:
processes.process_name: cmd.exe
selection2:
Image|endswith: powershell.exe
selection3:
CommandLine: '*Win32_Group*'
selection4:
CommandLine: '*Get-WMIObject*'
condition: (selection1 or selection2) and selection3 and selection4
how_to_implement: To successfully implement this search you need to be ingesting information
on process that include the name of the process responsible for the changes from
your endpoints into the `Endpoint` datamodel in the `Processes` node. In addition,
confirm the latest CIM App 4.20 or higher is installed and the latest TA for the
endpoint product.
known_false_positives: False positives may be present. Tune as needed.
references:
- https://attack.mitre.org/techniques/T1069/001/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1069.001/T1069.001.md
tags:
analytic_story:
- Active Directory Discovery
asset_type: Endpoint
confidence: 50
impact: 30
message: System group discovery on $dest$ by $user$.
mitre_attack_id:
- T1069
- T1069.001
observable:
- name: dest
type: Endpoint
role:
- Victim
- name: user
type: User
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
risk_score: 15
security_domain: endpoint
tests:
- name: True Positive Test
attack_data:
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1069.001/atomic_red_team/windows-sysmon.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: xmlwineventlog