Windows_Trojan_CobaltStrike_a56b820f
Description
Identifies Timestomp module from Cobalt Strike
Query · yara
strings:
$a1 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\timestomp.x64.o" ascii fullword
$a2 = "Z:\\devcenter\\aggressor\\external\\pxlib\\bin\\timestomp.x86.o" ascii fullword
$b1 = "__imp_KERNEL32$GetFileTime" ascii fullword
$b2 = "__imp_KERNEL32$SetFileTime" ascii fullword
$b3 = "__imp_KERNEL32$CloseHandle" ascii fullword
$b4 = "__imp_KERNEL32$CreateFileA" ascii fullword
$b5 = "__imp_BeaconDataExtract" ascii fullword
$b6 = "__imp_BeaconPrintf" ascii fullword
$b7 = "__imp_BeaconDataParse" ascii fullword
$b8 = "__imp_BeaconDataExtract" ascii fullword
$c1 = "__imp__KERNEL32$GetFileTime" ascii fullword
$c2 = "__imp__KERNEL32$SetFileTime" ascii fullword
$c3 = "__imp__KERNEL32$CloseHandle" ascii fullword
$c4 = "__imp__KERNEL32$CreateFileA" ascii fullword
$c5 = "__imp__BeaconDataExtract" ascii fullword
$c6 = "__imp__BeaconPrintf" ascii fullword
$c7 = "__imp__BeaconDataParse" ascii fullword
$c8 = "__imp__BeaconDataExtract" ascii fullword
condition:
1 of ($a*) or 5 of ($b*) or 5 of ($c*)