SUSP_OBFUSC_JS_Sept21_2
Description
Detects JavaScript obfuscation as used in MalDocs by FIN7 group
Query · yara
strings:
$s1 = "=new RegExp(String.fromCharCode(" ascii
$s2 = ".charCodeAt(" ascii
$s3 = ".substr(0, " ascii
$s4 = "var shell = new ActiveXObject(" ascii
$s5 = "= new Date().getUTCMilliseconds();" ascii
$s6 = ".deleteFile(WScript.ScriptFullName);" ascii
condition:
filesize < 6000KB
and (
4 of them
)