OilRig_RGDoor_Gen1
Description
Detects RGDoor backdoor used by OilRig group
Query · yara
strings:
$c1 = { 00 63 6D 64 24 00 00 00 00 72 00 00 00 00 00 00 00 75 70 6C 6F
61 64 24 }
$c2 = { 63 61 6E 27 74 20 6F 70 65 6E 20 66 69 6C 65 3A 20 00 00 00 00
00 00 00 64 6F 77 6E 6C 6F 61 64 24 }
$s1 = "MyNativeModule.dll" fullword ascii
$s2 = "RGSESSIONID=" fullword ascii
$s3 = "download$" fullword ascii
$s4 = ".?AVCHelloWorld@@" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 600KB and (
pe.imphash() == "47cb127aad6c7c9954058e61a2a6429a" or
1 of ($c*) or
2 of them
)