diff --git a/detections/experimental/endpoint/w3wp_spawning_shell.yml b/detections/endpoint/w3wp_spawning_shell.yml similarity index 100% rename from detections/experimental/endpoint/w3wp_spawning_shell.yml rename to detections/endpoint/w3wp_spawning_shell.yml diff --git a/tests/endpoint/w3wp_spawning_shell.test.yml b/tests/endpoint/w3wp_spawning_shell.test.yml new file mode 100644 index 0000000000..4d09a0e73d --- /dev/null +++ b/tests/endpoint/w3wp_spawning_shell.test.yml @@ -0,0 +1,12 @@ +name: W3WP Spawning Shell Unit Test +tests: +- name: W3WP Spawning Shell + file: endpoint/w3wp_spawning_shell.yml + pass_condition: '| stats count | where count > 0' + earliest_time: '-24h' + latest_time: 'now' + attack_data: + - file_name: windows-sysmon.log + data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1505.003/windows-sysmon.log + source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational + sourcetype: xmlwineventlog \ No newline at end of file