diff --git a/tests/endpoint/hunting_for_log4shell.test.yml b/tests/endpoint/hunting_for_log4shell.test.yml new file mode 100644 index 0000000000..2cc6e1d6d4 --- /dev/null +++ b/tests/endpoint/hunting_for_log4shell.test.yml @@ -0,0 +1,12 @@ +name: Hunting for Log4Shell Unit Test +tests: +- name: Hunting for Log4Shell + file: endpoint/hunting_for_log4shell.yml + pass_condition: '| stats count | where count > 0' + earliest_time: '-24h' + latest_time: 'now' + attack_data: + - file_name: log4shell-nginx.log + data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1190/java/log4shell-nginx.log + source: /var/log/nginx/access.log + sourcetype: nginx:plus:kv \ No newline at end of file