YARA · Malpedia signator rules
MALPEDIA_Win_Kgh_Spy_Auto
autogenerated rule brought to you by yara-signator
MalwareKgh SpyMalpedia 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: Kgh Spy.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-kgh-spy-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Kgh_Spy_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "72b18407-a672-56ad-bde7-953ddc753662"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.kgh_spy"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.kgh_spy_auto.yar#L1-L122"
= "N/A"
= "bebc75bd969d7cd192eb6066de467aec8def71c23ce54a280cd465540e88b364"
= 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 = { 488bc1 4c8d8c2458010000 448b44247c 488bd0 }
$sequence_1 = { ff15???????? 488d154fc70000 488bc8 ff15???????? 488b4c2430 48898108050000 }
$sequence_2 = { 488d0562160100 4889442428 488d0546150100 4889442420 4c8d0d8a2e0100 }
$sequence_3 = { c744244400000000 c684248004000000 488d842481040000 488bf8 33c0 b92f750000 f3aa }
$sequence_4 = { f3aa c784242001000038000000 488d8424b0040000 4889842430010000 488d8424b0040000 4889842400010000 48c7842488000000ffffffff }
$sequence_5 = { ff15???????? 4c8d0df8ed0000 4c8d05813d0100 488d15eeed0000 488d0d833e0100 e8???????? 488d1597400100 }
$sequence_6 = { 488b8c24e8080000 ff15???????? 48898424a0000000 4883bc24a0000000ff 7507 32c0 e9???????? }
$sequence_7 = { 42888401b0230100 ffc7 ebde 488b0d???????? 83c8ff f00fc101 ffc8 }
$sequence_8 = { 41b803000000 ba00000080 488b4c2470 ff15???????? }
$sequence_9 = { 48634c2404 488b542420 0fb60c0a 03c1 }
condition:
7 of them and filesize < 207872
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 488bc1 4c8d8c2458010000 448b44247c 488bd0 } | |
| $sequence_1 | hex | { ff15???????? 488d154fc70000 488bc8 ff15???????? 488b4c2430 48898108050000 } | |
| $sequence_2 | hex | { 488d0562160100 4889442428 488d0546150100 4889442420 4c8d0d8a2e0100 } | |
| $sequence_3 | hex | { c744244400000000 c684248004000000 488d842481040000 488bf8 33c0 b92f750000 f3aa } | |
| $sequence_4 | hex | { f3aa c784242001000038000000 488d8424b0040000 4889842430010000 488d8424b0040000 4889842400010000 48c7842488000000ffffffff } | |
| $sequence_5 | hex | { ff15???????? 4c8d0df8ed0000 4c8d05813d0100 488d15eeed0000 488d0d833e0100 e8???????? 488d1597400100 } | |
| $sequence_6 | hex | { 488b8c24e8080000 ff15???????? 48898424a0000000 4883bc24a0000000ff 7507 32c0 e9???????? } | |
| $sequence_7 | hex | { 42888401b0230100 ffc7 ebde 488b0d???????? 83c8ff f00fc101 ffc8 } | |
| $sequence_8 | hex | { 41b803000000 ba00000080 488b4c2470 ff15???????? } | |
| $sequence_9 | hex | { 48634c2404 488b542420 0fb60c0a 03c1 } |
Condition
7 of them and filesize < 207872In plain words (Heuristic)
- The file must be smaller than 207872 (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: 72b18407-a672-56ad-bde7-953ddc753662
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