servpw
Description
Detects a tool used by APT groups - file servpw.exe
Query · yara
strings:
$s1 = "Unable to open target process: %d, pid %d" fullword ascii
$s2 = "LSASS.EXE" fullword wide
$s3 = "WriteProcessMemory failed: %d" fullword ascii
$s4 = "lsremora64.dll" fullword ascii
$s5 = "CreateRemoteThread failed: %d" fullword ascii
$s6 = "Thread code: %d, path: %s" fullword ascii
condition:
(uint16(0) == 0x5a4d and filesize < 200KB and 3 of them) or (all of them)