YARA · Malpedia signator rules
MALPEDIA_Win_Khrat_Auto
autogenerated rule brought to you by yara-signator
- 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: Khrat.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-khrat-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Khrat_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "c5554cbf-7a31-5b1c-9039-4cbcc26596f4"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.khrat"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.khrat_auto.yar#L1-L115"
= "N/A"
= "8b3433938065827622086cc345de4533ff49d109019eb1344aae1940a021402a"
= 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 = { 0bc0 0f8542ffffff ffb5d0f9ffff e8???????? }
$sequence_1 = { 8bd8 6aff 53 e8???????? 53 }
$sequence_2 = { 8d85d4f9ffff 50 ff35???????? e8???????? 83f8ff 7502 }
$sequence_3 = { 83f805 7405 83f806 7567 c60300 c64301c4 }
$sequence_4 = { ff75a0 e8???????? 3d02010000 751e }
$sequence_5 = { c20800 55 8bec 81c48cfbffff 8d1d10520010 }
$sequence_6 = { 6a00 ff35???????? e8???????? 0bc0 7424 }
$sequence_7 = { c64301c4 66c743020004 c6430403 c6430500 }
$sequence_8 = { e8???????? 68???????? ff35???????? e8???????? 83bde4fdffff00 7413 ffb5e4fdffff }
$sequence_9 = { 56 68ff000000 6a01 e8???????? 8b4d0c }
condition:
7 of them and filesize < 57344
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 0bc0 0f8542ffffff ffb5d0f9ffff e8???????? } | |
| $sequence_1 | hex | { 8bd8 6aff 53 e8???????? 53 } | |
| $sequence_2 | hex | { 8d85d4f9ffff 50 ff35???????? e8???????? 83f8ff 7502 } | |
| $sequence_3 | hex | { 83f805 7405 83f806 7567 c60300 c64301c4 } | |
| $sequence_4 | hex | { ff75a0 e8???????? 3d02010000 751e } | |
| $sequence_5 | hex | { c20800 55 8bec 81c48cfbffff 8d1d10520010 } | |
| $sequence_6 | hex | { 6a00 ff35???????? e8???????? 0bc0 7424 } | |
| $sequence_7 | hex | { c64301c4 66c743020004 c6430403 c6430500 } | |
| $sequence_8 | hex | { e8???????? 68???????? ff35???????? e8???????? 83bde4fdffff00 7413 ffb5e4fdffff } | |
| $sequence_9 | hex | { 56 68ff000000 6a01 e8???????? 8b4d0c } |
Condition
7 of them and filesize < 57344In plain words (Heuristic)
- The file must be smaller than 57344 (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: c5554cbf-7a31-5b1c-9039-4cbcc26596f4
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