Files
splunk-security_content/tests/endpoint/getdomaincontroller_with_powershell_script_block.test.yml
T
mhaag-spl 05aef331c8 policy+dc
2022-05-02 13:14:49 -06:00

13 lines
592 B
YAML

name: GetDomainController with PowerShell Script Block Unit Test
tests:
- name: GetDomainController with PowerShell Script Block
file: endpoint/getdomaincontroller_with_powershell_script_block.yml
pass_condition: '| stats count | where count > 0'
earliest_time: -24h
latest_time: now
attack_data:
- file_name: sbl_xml.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/powershell_script_block_logging/sbl_xml.log
source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: Xmlwineventlog