EXPL_Log4j_CVE_2021_44228_Dec21_Hard
Description
Detects indicators in server logs that indicate the exploitation of CVE-2021-44228
Query · yara
strings:
$x1 = /\$\{jndi:(ldap|ldaps|rmi|dns|iiop|http|nis|nds|corba):\/[\/]?[a-z-\.0-9]{3,120}:[0-9]{2,5}\/[a-zA-Z\.]{1,32}\}/
$x2 = "Reference Class Name: foo"
$fp1r = /(ldap|rmi|ldaps|dns):\/[\/]?(127\.0\.0\.1|192\.168\.|172\.[1-3][0-9]\.|10\.)/
$fpg2 = "<html"
$fpg3 = "<HTML"
$fp1 = "/QUALYSTEST" ascii
$fp2 = "w.nessus.org/nessus"
$fp3 = "/nessus}"
condition:
1 of ($x*) and not 1 of ($fp*)