mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
64 lines
2.1 KiB
YAML
64 lines
2.1 KiB
YAML
name: Get DomainPolicy with Powershell
|
|
id: b8f9947e-065a-11ec-aafb-acde48001122
|
|
version: 1
|
|
date: '2021-08-26'
|
|
author: Teoderick Contreras, Mauricio Velazco, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: This analytic looks for the execution of `powershell.exe` executing the
|
|
`Get-DomainPolicy` commandlet used to obtain the password policy in a Windows domain.
|
|
Red Teams and adversaries alike may use PowerShell to enumerate domain policies
|
|
for situational awareness and Active Directory Discovery.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
CommandLine: '*Get-DomainPolicy*'
|
|
Image|endswith:
|
|
- powershell*
|
|
- cmd.exe
|
|
condition: selection1
|
|
how_to_implement: To successfully implement this search, you need to be ingesting
|
|
logs with the process name, parent process, and command-line executions from your
|
|
endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the
|
|
Sysmon TA. Tune and filter known instances where renamed rundll32.exe may be used.
|
|
known_false_positives: Administrators or power users may use this command for troubleshooting.
|
|
references:
|
|
- https://github.com/S1ckB0y1337/Active-Directory-Exploitation-Cheat-Sheet
|
|
- https://powersploit.readthedocs.io/en/latest/Recon/Get-DomainPolicy/
|
|
- https://attack.mitre.org/techniques/T1201/
|
|
tags:
|
|
analytic_story:
|
|
- Active Directory Discovery
|
|
asset_type: Endpoint
|
|
confidence: 60
|
|
impact: 50
|
|
message: an instance of process $process_name$ with commandline $process$ in $dest$
|
|
mitre_attack_id:
|
|
- T1201
|
|
observable:
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: parent_process_name
|
|
type: Process
|
|
role:
|
|
- Parent Process
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 30
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1201/pwd_policy_discovery/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|