Winexe_RemoteExec
Description
Winexe tool for remote execution (also used by Sofacy group)
Query · yara
strings:
$s1 = "error Cannot LogonUser(%s,%s,%s) %d" ascii fullword
$s2 = "error Cannot ImpersonateNamedPipeClient %d" ascii fullword
$s3 = "\\\\.\\pipe\\ahexec" fullword ascii
$s4 = "\\\\.\\pipe\\wmcex" fullword ascii
$s5 = "implevel" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 115KB and (
3 of them or
pe.imphash() == "2f8a475933ac82b8e09eaf26b396b54d"
)