Windows_Trojan_CobaltStrike_59b44767
Description
Identifies getsystem module from Cobalt Strike
Query · yara
strings:
$a1 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\getsystem.x86.o" ascii fullword
$a2 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\getsystem.x64.o" ascii fullword
$b1 = "getsystem failed." ascii fullword
$b2 = "_isSystemSID" ascii fullword
$b3 = "__imp__NTDLL$NtQuerySystemInformation@16" ascii fullword
$c1 = "getsystem failed." ascii fullword
$c2 = "$pdata$isSystemSID" ascii fullword
$c3 = "$unwind$isSystemSID" ascii fullword
$c4 = "__imp_NTDLL$NtQuerySystemInformation" ascii fullword
condition:
1 of ($a*) or 3 of ($b*) or 3 of ($c*)