← Back to SOC feed Coverage →

DarkComet

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-07-12T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies potential post-exploitation command-and-control activities associated with the DarkComet malware, which often establishes persistent connections to exfiltrate sensitive data from Azure workloads. Proactively hunting for these specific behavioral patterns in Azure Sentinel is critical because early identification of DarkComet’s low-severity indicators can prevent lateral movement and mitigate data loss before more severe impacts occur.

YARA Rule

rule DarkComet_2 : rat
{
	meta:
		description = "DarkComet" 
		author = "Jean-Philippe Teissier / @Jipe_"
		date = "2013-01-12"
		filetype = "memory"
		version = "1.0" 

	strings:
		$a = "#BEGIN DARKCOMET DATA --"
		$b = "#EOF DARKCOMET DATA --"
		$c = "DC_MUTEX-"
		$k1 = "#KCMDDC5#-890"
		$k2 = "#KCMDDC51#-890"

	condition:
		any of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 5 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the DarkComet detection rule in an enterprise environment, including suggested filters and exclusions:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/RAT_DarkComet.yar