Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Nightshade_C2_Auto

autogenerated rule brought to you by yara-signator

MalwareNightshade C2Malpedia signator rulesCreative Commons Attribution-ShareAlike 4.0Compiles with YARA-X
Author
Felix Bilstein - yara-signator at cocacoding dot com
Date
2026-05-04
Modified
2026-05-18
Score / Quality
75 / 75

What this rule detects

autogenerated rule brought to you by yara-signator

Associated malware family: Nightshade C2.

It defines 10 patterns (0 text, 10 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

win-nightshade-c2-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Nightshade_C2_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "3a013c55-9475-5a91-b423-49431172c7d5"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.nightshade_c2"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.nightshade_c2_auto.yar#L1-L132"
		license_url = "N/A"
		logic_hash = "d5caecbd40f88b16a3cfb1034ff1c4e785b22070242bd631775bbe4afd9f4f1d"
		score = 75
		quality = 75
		tags = "FILE"
		version = "1"
		tool = "yara-signator v0.6.0"
		signator_config = "callsandjumps;datarefs;binvalue"
		malpedia_rule_date = "20260422"
		malpedia_hash = "a182e35da64e6d71cb55f125c4d4225196523f14"
		malpedia_version = "20260504"
		malpedia_license = "CC BY-SA 4.0"
		malpedia_sharing = "TLP:WHITE"

	strings:
		$sequence_0 = { 85c0 742a 488d1503a00200 488d4c2420 e8???????? 85c0 7415 }
		$sequence_1 = { 7502 eb3c 837c244000 7402 eb33 448b442450 488b542468 }
		$sequence_2 = { 4883ec28 488b442430 488b4c2430 8b09 8b4008 2bc1 f30f2ac0 }
		$sequence_3 = { ff15???????? 90 ebcc ba02000000 488b4c2440 ff15???????? }
		$sequence_4 = { b954040000 f3aa 488d842460020000 488bf8 33c0 b918040000 f3aa }
		$sequence_5 = { eb0b 8b442440 83c002 89442440 8b8424d8000000 39442440 0f83b9030000 }
		$sequence_6 = { 488b8c24a0000000 483bc8 732b 4863442450 48634c2450 488d1588ca0200 4c8b442440 }
		$sequence_7 = { 85c0 7479 488b542438 488d0d0ce50100 e8???????? 85c0 }
		$sequence_8 = { 85c0 7552 e8???????? e8???????? 85c0 740c 488d0d46060000 }
		$sequence_9 = { 0fb78c24a6000000 8bc1 99 83e207 03c2 c1f803 8b8c2488000000 }

	condition:
		7 of them and filesize < 458752
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 85c0 742a 488d1503a00200 488d4c2420 e8???????? 85c0 7415 }
$sequence_1hex{ 7502 eb3c 837c244000 7402 eb33 448b442450 488b542468 }
$sequence_2hex{ 4883ec28 488b442430 488b4c2430 8b09 8b4008 2bc1 f30f2ac0 }
$sequence_3hex{ ff15???????? 90 ebcc ba02000000 488b4c2440 ff15???????? }
$sequence_4hex{ b954040000 f3aa 488d842460020000 488bf8 33c0 b918040000 f3aa }
$sequence_5hex{ eb0b 8b442440 83c002 89442440 8b8424d8000000 39442440 0f83b9030000 }
$sequence_6hex{ 488b8c24a0000000 483bc8 732b 4863442450 48634c2450 488d1588ca0200 4c8b442440 }
$sequence_7hex{ 85c0 7479 488b542438 488d0d0ce50100 e8???????? 85c0 }
$sequence_8hex{ 85c0 7552 e8???????? e8???????? 85c0 740c 488d0d46060000 }
$sequence_9hex{ 0fb78c24a6000000 8bc1 99 83e207 03c2 c1f803 8b8c2488000000 }

Condition

7 of them and filesize < 458752

In plain words (Heuristic)

  • The file must be smaller than 458752 (a cheap guard that skips large files).
  • At least 7 patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Felix Bilstein - yara-signator at cocacoding dot com

Source repository: Malpedia signator rules @ c901f97b7d

Licence: Creative Commons Attribution-ShareAlike 4.0 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 3a013c55-9475-5a91-b423-49431172c7d5

Metadata

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20260422
malpedia_hasha182e35da64e6d71cb55f125c4d4225196523f14
malpedia_version20260504
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE