mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
name: PowerShell Get LocalGroup Discovery
|
|
id: b71adfcc-155b-11ec-9413-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-localgroup`
|
|
being used with PowerShell to identify local groups on the endpoint. During triage,
|
|
review parallel processes and identify any further suspicious behavior.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
CommandLine: '*get-localgroup*'
|
|
Image|endswith:
|
|
- cmd.exe
|
|
- powershell.exe
|
|
condition: (selection1)
|
|
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: Local 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
|