name: Potentially malicious code on commandline Unit Test tests: - name: Potentially malicious code on commandline file: endpoint/potentially_malicious_code_on_commandline.yml pass_condition: '| stats count | where count > 0' earliest_time: '-10y' latest_time: 'now' attack_data: - file_name: windows-sysmon.log data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/malicious_cmd_line_samples/windows-sysmon.log source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational sourcetype: xmlwineventlog