UBoatRAT
Description
Detects UBoat RAT Samples
Query · yara
strings:
$s1 = "URLDownloadToFileA" ascii
$s2 = "GetModuleFileNameW" ascii
$s4 = "WININET.dll" ascii
$s5 = "urlmon.dll" ascii
$s6 = "WTSAPI32.dll" ascii
$s7 = "IPHLPAPI.DLL" ascii
$op1 = { 0E 1F BA 0E 00 B4 09 CD 21 B8 01 4C CD 21 54 68
69 73 20 70 72 6F 67 72 61 6D 20 63 61 6E 6E 6F
74 20 62 65 20 72 75 6E 20 69 6E 20 44 4F 53 20
6D 6F 64 65 2E 0D 0D 0A 24 00 00 00 00 00 00 00 }
$vprotect = { 2E 76 6D 70 30 }
condition:
/* MZ and PE */
uint16(0) == 0x5a4d and uint32(uint32(0x3c)) == 0x4550 and
/* Expected file size */
filesize < 1400KB and filesize > 800KB and (
/* Imports */
all of ($s*) and
/* Specific header - possibly Yoda protector*/
$op1 at 64 and
uint16(uint32(0x3c) + 11) == 0x59 and
/* Vprotect */
$vprotect in (600..700)
)