YARA · Malpedia signator rules
MALPEDIA_Win_Pykspa_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: Pykspa.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-pykspa-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Pykspa_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "2a537e92-21c2-5b77-a651-f4fda97a87e0"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.pykspa"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.pykspa_auto.yar#L1-L133"
= "N/A"
= "fb0e6103eff02a84ad231a9178870bf43dde8ae715ac67e66b634a6285422703"
= 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 = { 8bc6 6a02 99 59 f7f9 3bd3 8bc8 }
$sequence_1 = { 0f84dc000000 ff36 e8???????? 8bf8 85ff 59 897dec }
$sequence_2 = { 6a00 50 e8???????? 8365c800 8365e400 83c40c 6a02 }
$sequence_3 = { 3955f8 740d 8d75f8 8b7d10 a5 66a5 b001 }
$sequence_4 = { 745b 80bd50ffffff2e 0f84cb010000 8d8550ffffff 50 ff7570 8d8520feffff }
$sequence_5 = { 83c418 56 85c0 56 0f9545ff ffd7 807dff00 }
$sequence_6 = { 85c0 59 59 7404 b001 5f c3 }
$sequence_7 = { e8???????? 59 59 8bf0 ffd3 894608 eb25 }
$sequence_8 = { 8d8500f0ffff 50 8b4508 83c008 50 e8???????? }
$sequence_9 = { 6a0c 8d8540faffff 50 68???????? e8???????? 83c420 50 }
condition:
7 of them and filesize < 835584
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 8bc6 6a02 99 59 f7f9 3bd3 8bc8 } | |
| $sequence_1 | hex | { 0f84dc000000 ff36 e8???????? 8bf8 85ff 59 897dec } | |
| $sequence_2 | hex | { 6a00 50 e8???????? 8365c800 8365e400 83c40c 6a02 } | |
| $sequence_3 | hex | { 3955f8 740d 8d75f8 8b7d10 a5 66a5 b001 } | |
| $sequence_4 | hex | { 745b 80bd50ffffff2e 0f84cb010000 8d8550ffffff 50 ff7570 8d8520feffff } | |
| $sequence_5 | hex | { 83c418 56 85c0 56 0f9545ff ffd7 807dff00 } | |
| $sequence_6 | hex | { 85c0 59 59 7404 b001 5f c3 } | |
| $sequence_7 | hex | { e8???????? 59 59 8bf0 ffd3 894608 eb25 } | |
| $sequence_8 | hex | { 8d8500f0ffff 50 8b4508 83c008 50 e8???????? } | |
| $sequence_9 | hex | { 6a0c 8d8540faffff 50 68???????? e8???????? 83c420 50 } |
Condition
7 of them and filesize < 835584In plain words (Heuristic)
- The file must be smaller than 835584 (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: 2a537e92-21c2-5b77-a651-f4fda97a87e0
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