Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Magala_Auto

autogenerated rule brought to you by yara-signator

MalwareMagalaMalpedia 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: Magala.

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

Summary generated from the rule's metadata and condition.

Rule source

win-magala-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Magala_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "36529db5-9dd6-59f4-b278-62b271dedc5c"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.magala"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.magala_auto.yar#L1-L126"
		license_url = "N/A"
		logic_hash = "682f0a36108582151ac6d68c5838e48c5cfa62449984faabe748abfa61c11208"
		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 = { a1???????? 894108 a1???????? 89410c 33c0 8d8d9cfdffff c745cc00000000 }
		$sequence_1 = { 51 e8???????? 83c404 6a11 33c0 c745e800000000 68???????? }
		$sequence_2 = { 0f84ab000000 0f1f440000 6808020000 8d85f4fdffff 6a00 50 e8???????? }
		$sequence_3 = { 8b4e08 e8???????? 50 68???????? }
		$sequence_4 = { 6a00 8d45d4 50 ffd6 85c0 75e2 6aff }
		$sequence_5 = { 397d9c 0f84ca000000 c645fc07 8b45c4 85c0 7406 8b08 }
		$sequence_6 = { 8b4d0c 85c9 0f8409010000 56 33f6 }
		$sequence_7 = { e8???????? 6a07 6a1a 8d85ccfbffff 50 8d8d9cfbffff e8???????? }
		$sequence_8 = { c645fc03 50 8d4db0 e8???????? 8d4dd4 c645fc02 }
		$sequence_9 = { 7906 c70700000000 85f6 7406 8b06 }

	condition:
		7 of them and filesize < 589824
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ a1???????? 894108 a1???????? 89410c 33c0 8d8d9cfdffff c745cc00000000 }
$sequence_1hex{ 51 e8???????? 83c404 6a11 33c0 c745e800000000 68???????? }
$sequence_2hex{ 0f84ab000000 0f1f440000 6808020000 8d85f4fdffff 6a00 50 e8???????? }
$sequence_3hex{ 8b4e08 e8???????? 50 68???????? }
$sequence_4hex{ 6a00 8d45d4 50 ffd6 85c0 75e2 6aff }
$sequence_5hex{ 397d9c 0f84ca000000 c645fc07 8b45c4 85c0 7406 8b08 }
$sequence_6hex{ 8b4d0c 85c9 0f8409010000 56 33f6 }
$sequence_7hex{ e8???????? 6a07 6a1a 8d85ccfbffff 50 8d8d9cfbffff e8???????? }
$sequence_8hex{ c645fc03 50 8d4db0 e8???????? 8d4dd4 c645fc02 }
$sequence_9hex{ 7906 c70700000000 85f6 7406 8b06 }

Condition

7 of them and filesize < 589824

In plain words (Heuristic)

  • The file must be smaller than 589824 (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: 36529db5-9dd6-59f4-b278-62b271dedc5c

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