Pirpi_1609_A
Description
Detects Pirpi Backdoor - and other malware (generic rule)
Query · yara
strings:
$x1 = "expand.exe1.gif" fullword ascii
$c1 = "expand.exe" fullword ascii
$c2 = "ctf.exe" fullword ascii
$s1 = "flvUpdate.exe" fullword wide
$s2 = "www.ThinkWorking.com" fullword wide
$s3 = "ctfnon.exe" fullword ascii
$s4 = "flv%d.exe" fullword ascii
$s5 = "HARDWARE\\DESCRIPTION\\System\\BIOS" fullword ascii
$s6 = "12811[%d].gif" fullword ascii
$s7 = "GetApp03" fullword wide
$s8 = "flvUpdate" fullword wide
$s9 = "%d-%4.4d%d" fullword ascii
$s10 = "http://%s/%5.5d.html" fullword ascii
$s11 = "flvbho.exe" fullword wide
$op1 = { 74 08 c1 cb 0d 03 da 40 eb }
$op2 = { 03 f5 56 8b 76 20 03 f5 33 c9 49 }
$op3 = { 03 dd 66 8b 0c 4b 8b 5e 1c 03 dd 8b 04 8b 03 c5 }
condition:
( uint16(0) == 0x5a4d and filesize < 200KB and ( $x1 or all of ($c*) or all of ($op*) ) ) or ( 8 of them )