Freeenki_Infostealer_Nov17
Description
Detects Freenki infostealer malware
Query · yara
strings:
$x1 = "base64Encoded=\"TVqQAAMAAAAEAAAA" ascii
$x2 = "command =outFile &\" sysupdate\"" fullword ascii
$x3 = "outFile=sysDir&\"\\rundll32.exe\"" fullword ascii
$s1 = "SOFTWARE\\Clients\\StartMenuInternet\\firefox.exe\\shell\\open\\command" fullword wide
$s2 = "c:\\TEMP\\CrashReports\\" ascii
$s3 = "objShell.run command, 0, True" fullword ascii
$s4 = "sysDir = shell.ExpandEnvironmentStrings(\"%windir%\")" fullword ascii
$s5 = "'Wscript.echo \"Base64 encoded: \" + base64Encoded" fullword ascii
$s6 = "set shell = WScript.CreateObject(\"WScript.Shell\")" fullword ascii
$a1 = "\\Google\\Chrome\\User Data\\Default\\Login Data" ascii
$a2 = "SELECT username_value, password_value, signon_realm FROM logins" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 3000KB and (
1 of ($x*) or
3 of them or
all of ($a*)
)