pstgdump
Description
Detects a tool used by APT groups - file pstgdump.exe
Query · yara
strings:
$x1 = "\\Release\\pstgdump.pdb" ascii
$x2 = "Failed to dump all protected storage items - see previous messages for details" fullword ascii
$x3 = "ptsgdump [-h][-q][-u Username][-p Password]" fullword ascii
$x4 = "Attempting to impersonate domain user '%s' in domain '%s'" fullword ascii
$x5 = "Failed to impersonate user (ImpersonateLoggedOnUser failed): error %d" fullword ascii
$x6 = "Unable to obtain handle to PStoreCreateInstance in pstorec.dll" fullword ascii
condition:
(uint16(0) == 0x5a4d and filesize < 200KB and 1 of ($x*)) or (3 of them)