Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Badencript_Auto

autogenerated rule brought to you by yara-signator

MalwareBadencriptMalpedia 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: Badencript.

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

Summary generated from the rule's metadata and condition.

Rule source

win-badencript-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Badencript_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "ddb7f1a7-8259-5ec8-9b35-e98fb67b2310"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.badencript"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.badencript_auto.yar#L1-L118"
		license_url = "N/A"
		logic_hash = "4aaa48768d97770f6e85ee594f356b88c6dabd160111a6a927596e69e9ca03f4"
		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 = { 23c1 eb55 8b1c9d68d14000 56 6800080000 }
		$sequence_1 = { 8b0c8d48414100 c644112800 85f6 740c }
		$sequence_2 = { 660fd60f 8d7f08 8b048d04b54000 ffe0 }
		$sequence_3 = { 57 8d1c85383d4100 33c0 f00fb10b 8b15???????? 83cfff }
		$sequence_4 = { 7451 83e809 7443 83e801 0f8501010000 c745e0a40f4100 }
		$sequence_5 = { 660fd60f 8d7f08 8b048d04b54000 ffe0 f7c703000000 7413 }
		$sequence_6 = { c1fa06 6bc830 8b049548414100 f644082801 7414 8d4508 8945fc }
		$sequence_7 = { 6bc830 8b049548414100 f644082801 7421 57 e8???????? }
		$sequence_8 = { 83e03f c1fa06 6bc830 8b049548414100 f644082801 7414 }
		$sequence_9 = { 7313 8a8750304100 08441619 42 }

	condition:
		7 of them and filesize < 335872
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 23c1 eb55 8b1c9d68d14000 56 6800080000 }
$sequence_1hex{ 8b0c8d48414100 c644112800 85f6 740c }
$sequence_2hex{ 660fd60f 8d7f08 8b048d04b54000 ffe0 }
$sequence_3hex{ 57 8d1c85383d4100 33c0 f00fb10b 8b15???????? 83cfff }
$sequence_4hex{ 7451 83e809 7443 83e801 0f8501010000 c745e0a40f4100 }
$sequence_5hex{ 660fd60f 8d7f08 8b048d04b54000 ffe0 f7c703000000 7413 }
$sequence_6hex{ c1fa06 6bc830 8b049548414100 f644082801 7414 8d4508 8945fc }
$sequence_7hex{ 6bc830 8b049548414100 f644082801 7421 57 e8???????? }
$sequence_8hex{ 83e03f c1fa06 6bc830 8b049548414100 f644082801 7414 }
$sequence_9hex{ 7313 8a8750304100 08441619 42 }

Condition

7 of them and filesize < 335872

In plain words (Heuristic)

  • The file must be smaller than 335872 (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: ddb7f1a7-8259-5ec8-9b35-e98fb67b2310

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