xRAT_1
Description
Detects Patchwork malware
Query · yara
strings:
$x1 = "\" -CHECK & PING -n 2 127.0.0.1 & EXIT" fullword wide
$x2 = "xClient.Core.Elevation" fullword ascii
$x3 = ">> Welcome to MAX-Shell :Session created" fullword wide
$x4 = "xClient.Properties.Resources.resources" fullword ascii
$x5 = "<description>My UAC Compatible application</description>" fullword ascii
$s1 = "ping -n 20 localhost > nul" fullword wide
$s2 = "DownloadAndExecute" fullword ascii
$s3 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36" fullword wide
$s4 = "Client.exe" fullword ascii
$s5 = "Microsoft -Defender" fullword wide
$s6 = "Microsoft- Defender" fullword wide
$s7 = "set_RunHidden" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 1000KB and (
1 of ($x*) or
3 of them
)