Susp_PowerShell_Sep17_2
Description
Detects suspicious PowerShell script in combo with VBS or JS
Query · yara
strings:
$x1 = ".Run \"powershell.exe -nop -w hidden -e " ascii
$x2 = "FileExists(path + \"\\..\\powershell.exe\")" fullword ascii
$x3 = "window.moveTo -4000, -4000" fullword ascii
$s1 = "= CreateObject(\"Wscript.Shell\")" fullword ascii
condition:
filesize < 20KB and (
( uint16(0) == 0x733c and 1 of ($x*) )
or 2 of them
)