YARA · Malpedia signator rules
MALPEDIA_Win_Petrwrap_Auto
autogenerated rule brought to you by yara-signator
MalwarePetrwrapMalpedia 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: Petrwrap.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-petrwrap-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Petrwrap_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "5a00d725-ac2b-5815-bb51-c40a9c8320c0"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.petrwrap"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.petrwrap_auto.yar#L1-L129"
= "N/A"
= "fac4da6f287d47c3e4b12460d0e0c6e49eff8634ac72b6c1281dbbb069e6d1df"
= 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 = { 83c46c c3 55 68???????? 57 56 e8???????? }
$sequence_1 = { c1e108 0fb680d0384400 33c8 334f04 8bc1 c1c808 2500ff00ff }
$sequence_2 = { 8d0475ffffffff 89442418 83c8ff 396f0c 0f45d0 8954241c e8???????? }
$sequence_3 = { 33c8 0fb6c3 0fb60485d01c4400 33c8 334d04 8bc1 }
$sequence_4 = { f7d7 237c2444 f7d2 23542418 33f9 8b4c2414 33d0 }
$sequence_5 = { f76500 89442418 8bca 0fa4c101 33f6 03c0 }
$sequence_6 = { 8bf0 85f6 746a 8b4610 8b6d00 }
$sequence_7 = { b8420435af 641a4157 347d 4e 46 92 }
$sequence_8 = { 7f04 8bcb eb10 51 53 e8???????? 8bc8 }
$sequence_9 = { 68???????? 6a01 6a09 e8???????? a1???????? 68da000000 68???????? }
condition:
7 of them and filesize < 1024000
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 83c46c c3 55 68???????? 57 56 e8???????? } | |
| $sequence_1 | hex | { c1e108 0fb680d0384400 33c8 334f04 8bc1 c1c808 2500ff00ff } | |
| $sequence_2 | hex | { 8d0475ffffffff 89442418 83c8ff 396f0c 0f45d0 8954241c e8???????? } | |
| $sequence_3 | hex | { 33c8 0fb6c3 0fb60485d01c4400 33c8 334d04 8bc1 } | |
| $sequence_4 | hex | { f7d7 237c2444 f7d2 23542418 33f9 8b4c2414 33d0 } | |
| $sequence_5 | hex | { f76500 89442418 8bca 0fa4c101 33f6 03c0 } | |
| $sequence_6 | hex | { 8bf0 85f6 746a 8b4610 8b6d00 } | |
| $sequence_7 | hex | { b8420435af 641a4157 347d 4e 46 92 } | |
| $sequence_8 | hex | { 7f04 8bcb eb10 51 53 e8???????? 8bc8 } | |
| $sequence_9 | hex | { 68???????? 6a01 6a09 e8???????? a1???????? 68da000000 68???????? } |
Condition
7 of them and filesize < 1024000In plain words (Heuristic)
- The file must be smaller than 1024000 (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: 5a00d725-ac2b-5815-bb51-c40a9c8320c0
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