Files
splunk-security_content/tests/endpoint/powershell_enable_powershell_remoting.test.yml
T
Michael Haag 1cbcdd9dfb pwsh is life
2023-03-24 09:45:22 -06:00

14 lines
624 B
YAML

name: PowerShell Enable PowerShell Remoting Unit Test
tests:
- name: PowerShell Enable PowerShell Remoting
file: endpoint/powershell_enable_powershell_remoting.yml
pass_condition: '| stats count | where count > 0'
earliest_time: -24h
latest_time: now
attack_data:
- file_name: 4104-psremoting-windows-powershell.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/atomic_red_team/4104-psremoting-windows-powershell.log
source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
sourcetype: xmlwineventlog
update_timestamp: true