Files
splunk-security_content/tests/endpoint/getadcomputer_with_powershell_script_block.test.yml
T
2021-09-01 17:36:43 -04:00

12 lines
570 B
YAML

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