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:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "ddb7f1a7-8259-5ec8-9b35-e98fb67b2310"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.badencript"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.badencript_auto.yar#L1-L118"
= "N/A"
= "4aaa48768d97770f6e85ee594f356b88c6dabd160111a6a927596e69e9ca03f4"
= 75
= 75
= "FILE"
= "1"
= "yara-signator v0.6.0"
= "callsandjumps;datarefs;binvalue"
= "20260422"
= "a182e35da64e6d71cb55f125c4d4225196523f14"
= "20260504"
= "CC BY-SA 4.0"
= "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)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 23c1 eb55 8b1c9d68d14000 56 6800080000 } | |
| $sequence_1 | hex | { 8b0c8d48414100 c644112800 85f6 740c } | |
| $sequence_2 | hex | { 660fd60f 8d7f08 8b048d04b54000 ffe0 } | |
| $sequence_3 | hex | { 57 8d1c85383d4100 33c0 f00fb10b 8b15???????? 83cfff } | |
| $sequence_4 | hex | { 7451 83e809 7443 83e801 0f8501010000 c745e0a40f4100 } | |
| $sequence_5 | hex | { 660fd60f 8d7f08 8b048d04b54000 ffe0 f7c703000000 7413 } | |
| $sequence_6 | hex | { c1fa06 6bc830 8b049548414100 f644082801 7414 8d4508 8945fc } | |
| $sequence_7 | hex | { 6bc830 8b049548414100 f644082801 7421 57 e8???????? } | |
| $sequence_8 | hex | { 83e03f c1fa06 6bc830 8b049548414100 f644082801 7414 } | |
| $sequence_9 | hex | { 7313 8a8750304100 08441619 42 } |
Condition
7 of them and filesize < 335872In 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.
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)
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
| 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 |
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04