| 1 |
type: trigger |
| 2 |
format: 2.0 |
| 3 |
|
| 4 |
|
| 5 |
name: baudneo/zoneminder_cve-2022-39285 |
| 6 |
description: "Detect cve-2022-39285 exploitation attempts" |
| 7 |
filter: | |
| 8 |
evt.Meta.log_type in ["http_access-log", "http_error-log"] |
| 9 |
and |
| 10 |
( |
| 11 |
( Upper(evt.Meta.http_verb) == "POST" and |
| 12 |
Upper(evt.Meta.http_path) matches Upper('^(?P<path>/.*index.php)?.*(?P<file_query>file=.*</td></tr(?P<payload>.*)>)') |
| 13 |
) |
| 14 |
or |
| 15 |
Upper(evt.Parsed.rawrequest) matches Upper('^(?P<verb>POST) (?P<path>/.*index.php)?.*(?P<file_query>file=.*</td></tr(?P<payload>.*)>)') |
| 16 |
) |
| 17 |
groupby: "evt.Meta.source_ip" |
| 18 |
blackhole: 2m |
| 19 |
labels: |
| 20 |
type: exploit |
| 21 |
remediation: true |