Files
splunk-security_content/tests/endpoint/getcurrent_user_with_powershell.test.yml
2021-09-13 17:22:30 -04:00

12 lines
531 B
YAML

name: GetCurrent User with PowerShell Unit Test
tests:
- name: GetCurrent User with PowerShell
file: endpoint/getcurrent_user_with_powershell.yml
pass_condition: '| stats count | where count > 0'
earliest_time: '-24h'
latest_time: 'now'
attack_data:
- file_name: windows-sysmon.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1033/AD_discovery/windows-sysmon.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: xmlwineventlog