type: trigger format: 2.0 #debug: true # file=http%3A%2F%2F10.0.10.107%2Fzm%2F</td></tr><script src='/zm/?view=options%26tab=users%26action=delete%26markUids%5B%5D=6%26deleteBtn=Delete'</script>&line=70 name: baudneo/zoneminder_cve-2022-39285 description: "Detect cve-2022-39285 exploitation attempts" filter: | evt.Meta.log_type in ["http_access-log", "http_error-log"] and ( ( Upper(evt.Meta.http_verb) == "POST" and Upper(evt.Meta.http_path) matches Upper('^(?P/.*index.php)?.*(?Pfile=.*</td></tr(?P.*)>)') ) or Upper(evt.Parsed.rawrequest) matches Upper('^(?PPOST) (?P/.*index.php)?.*(?Pfile=.*</td></tr(?P.*)>)') ) groupby: "evt.Meta.source_ip" blackhole: 2m labels: type: exploit remediation: true