YARA · Malpedia signator rules
MALPEDIA_Win_Locky_Auto
autogenerated rule brought to you by yara-signator
- Author
- Felix Bilstein - yara-signator at cocacoding dot com
- Date
- 2024-10-31
- Modified
- 2024-11-11
- Score / Quality
- 75 / 75
What this rule detects
autogenerated rule brought to you by yara-signator
Associated malware family: Locky.
It defines 17 patterns (0 text, 17 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-locky-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Locky_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "9434ac8a-f19d-5097-9718-4e0bcd7c3bb7"
= "2024-10-31"
= "2024-11-11"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.locky"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.locky_auto.yar#L1-L181"
= "N/A"
= "cfd0780ce81a27b30c6ff7ba29e871c926663b6bd8e9b266836319c43aec3bb1"
= 75
= 75
= "FILE"
= "1"
= "yara-signator v0.6.0"
= "callsandjumps;datarefs;binvalue"
= "20241030"
= "26e26953c49c8efafbf72a38076855d578e0a2e4"
= "20241030"
= "CC BY-SA 4.0"
= "TLP:WHITE"
strings:
$sequence_0 = { 51 51 8b00 6a00 8d4d0c 51 ff750c }
$sequence_1 = { 760a 68???????? e8???????? a1???????? 2b05???????? 6a1c }
$sequence_2 = { 50 c745f8???????? e8???????? 8d85f0fdffff 50 }
$sequence_3 = { 99 83e207 8d3c02 33d2 42 c1ff03 663bca }
$sequence_4 = { 99 5e f7fe 8bf0 81fe48922409 760a 68???????? }
$sequence_5 = { 6a00 ff15???????? 85c0 751e ff15???????? c745f8???????? }
$sequence_6 = { 8907 8bc7 c9 c20400 ff15???????? 8945fc }
$sequence_7 = { 7314 8b4e1c 8b431c 3bc8 7c0a }
$sequence_8 = { 5b c21000 e9???????? 8bff 55 8bec 56 }
$sequence_9 = { 03d8 8b442408 f7e1 03d3 5b c21000 e9???????? }
$sequence_10 = { 66ab e9???????? 8d12 e9???????? }
$sequence_11 = { ebcf 90 8d36 90 }
$sequence_12 = { 5e c21000 8bff 55 8bec 33c0 8b4d08 }
$sequence_13 = { 6a61 e9???????? 90 58 }
$sequence_14 = { 6a63 e9???????? 90 8d36 }
$sequence_15 = { 66ab e9???????? 58 90 e9???????? 90 }
$sequence_16 = { 66ab 90 e9???????? 8d00 }
condition:
7 of them and filesize < 1122304
}
Strings (17 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 51 51 8b00 6a00 8d4d0c 51 ff750c } | |
| $sequence_1 | hex | { 760a 68???????? e8???????? a1???????? 2b05???????? 6a1c } | |
| $sequence_2 | hex | { 50 c745f8???????? e8???????? 8d85f0fdffff 50 } | |
| $sequence_3 | hex | { 99 83e207 8d3c02 33d2 42 c1ff03 663bca } | |
| $sequence_4 | hex | { 99 5e f7fe 8bf0 81fe48922409 760a 68???????? } | |
| $sequence_5 | hex | { 6a00 ff15???????? 85c0 751e ff15???????? c745f8???????? } | |
| $sequence_6 | hex | { 8907 8bc7 c9 c20400 ff15???????? 8945fc } | |
| $sequence_7 | hex | { 7314 8b4e1c 8b431c 3bc8 7c0a } | |
| $sequence_8 | hex | { 5b c21000 e9???????? 8bff 55 8bec 56 } | |
| $sequence_9 | hex | { 03d8 8b442408 f7e1 03d3 5b c21000 e9???????? } | |
| $sequence_10 | hex | { 66ab e9???????? 8d12 e9???????? } | |
| $sequence_11 | hex | { ebcf 90 8d36 90 } | |
| $sequence_12 | hex | { 5e c21000 8bff 55 8bec 33c0 8b4d08 } | |
| $sequence_13 | hex | { 6a61 e9???????? 90 58 } | |
| $sequence_14 | hex | { 6a63 e9???????? 90 8d36 } | |
| $sequence_15 | hex | { 66ab e9???????? 58 90 e9???????? 90 } | |
| $sequence_16 | hex | { 66ab 90 e9???????? 8d00 } |
Condition
7 of them and filesize < 1122304In plain words (Heuristic)
- The file must be smaller than 1122304 (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: 9434ac8a-f19d-5097-9718-4e0bcd7c3bb7
Metadata
| version | 1 |
|---|---|
| tool | yara-signator v0.6.0 |
| signator_config | callsandjumps;datarefs;binvalue |
| malpedia_rule_date | 20241030 |
| malpedia_hash | 26e26953c49c8efafbf72a38076855d578e0a2e4 |
| malpedia_version | 20241030 |
| 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