YARA rules for DarkComet
3 rules · scoped to tool · back to DarkComet
YARA rules whose family, name, or description matches this tool or its tooling. Use these for binary-pattern hunts.
rule DarkComet_Keylogger_File {
meta:
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
description = "Looks like a keylogger file created by DarkComet Malware"
date = "25.07.14"
score = 50
id = "65058450-3ae3-5b85-bcc5-8bc1fab14614"
strings:
$entry = /\n:: [A-Z]/
$timestamp = /\([0-9]?[0-9]:[0-9][0-9]:[0-9][0-9] [AP]M\)/
condition:
uint16(0) == 0x3A3A and #entry > 10 and #timestamp > 10
}
rule RAT_DarkComet
{
meta:
author = "Kevin Breen <kevin@techanarchy.net>"
date = "01.04.2014"
description = "Detects DarkComet RAT"
reference = "http://malwareconfig.com/stats/DarkComet"
maltype = "Remote Access Trojan"
filetype = "exe"
id = "e6fd0269-dd0c-58c0-a1a3-24c2aed916ee"
strings:
// Versions 2x
$a1 = "#BOT#URLUpdate"
$a2 = "Command successfully executed!"
$a3 = "MUTEXNAME" wide
$a4 = "NETDATA" wide
// Versions 3x & 4x & 5x
$b1 = "FastMM Borland Edition"
$b2 = "%s, ClassID: %s"
$b3 = "I wasn't able to open the hosts file"
$b4 = "#BOT#VisitUrl"
$b5 = "#KCMDDC"
condition:
all of ($a*) or all of ($b*)
}
rule ProjectM_DarkComet_1 {
meta:
description = "Detects ProjectM Malware"
license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
author = "Florian Roth (Nextron Systems)"
reference = "http://researchcenter.paloaltonetworks.com/2016/03/unit42-projectm-link-found-between-pakistani-actor-and-operation-transparent-tribe/"
date = "2016-03-26"
modified = "2023-01-27"
hash = "cc488690ce442e9f98bac651218f4075ca36c355d8cd83f7a9f5230970d24157"
id = "6de74d73-f9b2-5e7f-b15e-f850425d849c"
strings:
$x1 = "DarkO\\_2" fullword ascii
$a1 = "AVICAP32.DLL" fullword ascii
$a2 = "IDispatch4" fullword ascii
$a3 = "FLOOD/" fullword ascii
$a4 = "T<-/HTTP://" ascii
$a5 = "infoes" fullword ascii
condition:
( uint16(0) == 0x5a4d and filesize < 600KB and 4 of them ) or ( all of them )
}