Suspicious_JS_script_content
Description
Detects suspicious statements in JavaScript files
Query · yara
strings:
$x1 = "new ActiveXObject('WScript.Shell')).Run('cmd /c " ascii
$x2 = ".Run('regsvr32 /s /u /i:" ascii
$x3 = "new ActiveXObject('WScript.Shell')).Run('regsvr32 /s" fullword ascii
$x4 = "args='/s /u /i:" ascii
condition:
( filesize < 10KB and 1 of them )