VBS_WMIExec_Tool_Apr17_1
Description
Tools related to Operation Cloud Hopper
Query · yara
strings:
$x1 = "strNetUse = \"cmd.exe /c net use \\\\\" & host" fullword ascii
$x2 = "localcmd = \"cmd.exe /c \" & command " ascii
$x3 = "& \" > \" & TempFile & \" 2>&1\" '2>&1 err" fullword ascii
$x4 = "strExec = \"cmd.exe /c \" & cmd & \" >> \" & resultfile & \" 2>&1\" '2>&1 err" fullword ascii
$x5 = "TempFile = objShell.ExpandEnvironmentStrings(\"%TEMP%\") & \"\\wmi.dll\"" fullword ascii
$a1 = "WMIEXEC ERROR: Command -> " ascii
$a2 = "WMIEXEC : Command result will output to" fullword ascii
$a3 = "WMIEXEC : Target ->" fullword ascii
$a4 = "WMIEXEC : Login -> OK" fullword ascii
$a5 = "WMIEXEC : Process created. PID:" fullword ascii
condition:
( filesize < 40KB and 1 of them ) or 3 of them