← Back to SOC feed Coverage →

DarkRAT

yara LOW Yara-Rules
backdoorcommunity
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-13T23:00:01Z · Confidence: medium

Hunt Hypothesis

This hypothesis posits that adversaries are deploying the DarkRAT remote access trojan to establish persistence and exfiltrate sensitive data within Azure workloads. Proactive hunting is essential because the current low-severity classification may allow this stealthy malware to evade standard alerting thresholds, necessitating manual correlation of YARA matches with anomalous network egress patterns in Sentinel.

YARA Rule

rule DarkRAT : RAT
{
	meta:
		author = " Kevin Breen <kevin@techanarchy.net>"
		date = "2014/04"
		ref = "http://malwareconfig.com/stats/DarkRAT"
		maltype = "Remote Access Trojan"
		filetype = "exe"

	strings:
		$a = "@1906dark1996coder@"
		$b = "SHEmptyRecycleBinA"
		$c = "mciSendStringA"
		$d = "add_Shutdown"
		$e = "get_SaveMySettingsOnExit"
		$f = "get_SpecialDirectories"
		$g = "Client.My"

	condition:
		all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 7 string patterns in its detection logic.

False Positive Guidance

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

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