← Back to SOC feed Coverage →

BlackShades Server

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-12T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies communication patterns associated with the BlackShades remote access trojan (RAT) server, which adversaries leverage to establish persistent command-and-control channels for lateral movement and data exfiltration. Proactively hunting for this behavior in Azure Sentinel is critical because early identification of these low-severity connections allows SOC teams to isolate compromised endpoints before the RAT escalates its activities or expands its foothold within the network.

YARA Rule

rule BlackShades : Trojan
{
	meta:
		author="Kevin Falcoz"
		date="26/06/2013"
		description="BlackShades Server"
		
	strings:
		$signature1={62 73 73 5F 73 65 72 76 65 72}
		$signature2={43 4C 49 43 4B 5F 44 45 4C 41 59 00 53 43 4B 5F 49 44}
		$signature3={6D 6F 64 49 6E 6A 50 45}
		
	condition:
		$signature1 and $signature2 and $signature3
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 3 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the BlackShades Server detection rule in an enterprise environment, along with suggested filters or exclusions:

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