Windows_Trojan_CobaltStrike_8a791eb7
Description
Identifies Registry module from Cobalt Strike
Query · yara
strings:
$a1 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\registry.x64.o" ascii fullword
$a2 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\registry.x86.o" ascii fullword
$b1 = "__imp_ADVAPI32$RegOpenKeyExA" ascii fullword
$b2 = "__imp_ADVAPI32$RegEnumKeyA" ascii fullword
$b3 = "__imp_ADVAPI32$RegOpenCurrentUser" ascii fullword
$b4 = "__imp_ADVAPI32$RegCloseKey" ascii fullword
$b5 = "__imp_BeaconFormatAlloc" ascii fullword
$b6 = "__imp_BeaconOutput" ascii fullword
$b7 = "__imp_BeaconFormatFree" ascii fullword
$b8 = "__imp_BeaconDataPtr" ascii fullword
$c1 = "__imp__ADVAPI32$RegOpenKeyExA" ascii fullword
$c2 = "__imp__ADVAPI32$RegEnumKeyA" ascii fullword
$c3 = "__imp__ADVAPI32$RegOpenCurrentUser" ascii fullword
$c4 = "__imp__ADVAPI32$RegCloseKey" ascii fullword
$c5 = "__imp__BeaconFormatAlloc" ascii fullword
$c6 = "__imp__BeaconOutput" ascii fullword
$c7 = "__imp__BeaconFormatFree" ascii fullword
$c8 = "__imp__BeaconDataPtr" ascii fullword
condition:
1 of ($a*) or 5 of ($b*) or 5 of ($c*)