Files
splunk-security_content/tests/endpoint/getcurrent_user_with_powershell_script_block.test.yml
T
tccontre f69fce02dc pwh_xml
2022-03-23 10:59:43 +01:00

13 lines
587 B
YAML

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