Files
splunk-security_content/tests/endpoint/powershell_remove_windows_defender_directory.test.yml
2022-01-20 16:13:00 +01:00

12 lines
571 B
YAML

name: Powershell Remove Windows Defender Directory Unit Test
tests:
- name: Powershell Remove Windows Defender Directory
file: endpoint/powershell_remove_windows_defender_directory.yml
pass_condition: '| stats count | where count > 0'
earliest_time: '-24h'
latest_time: 'now'
attack_data:
- file_name: powershell.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1562.001/rmdir_defender_pwsh/powershell.log
source: WinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: WinEventLog