Create hunting_for_log4shell.test.yml

This commit is contained in:
mhaag-spl
2021-12-14 19:00:04 -07:00
parent 82b45a1cf9
commit cea91f725e
@@ -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