YARA · Malpedia signator rules
MALPEDIA_Win_Cookiebag_Auto
autogenerated rule brought to you by yara-signator
MalwareCookiebagMalpedia 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: Cookiebag.
It defines 10 patterns (0 text, 10 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
win-cookiebag-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Cookiebag_Auto : FILE
{
meta:
= "autogenerated rule brought to you by yara-signator"
= "Felix Bilstein - yara-signator at cocacoding dot com"
= "87d27153-8f18-5b36-9a3a-a5abbe3f0aad"
= "2026-05-04"
= "2026-05-18"
= "https://malpedia.caad.fkie.fraunhofer.de/details/win.cookiebag"
= "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.cookiebag_auto.yar#L1-L133"
= "N/A"
= "1a63e2ea29f8b1a9865d0cb00e0963b38339d2f8a4e6be6ac3679ce75b1bf949"
= 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 = { 6a01 56 e8???????? 84c0 741d 8b4c2418 }
$sequence_1 = { e8???????? 83c404 8b8c2408010000 89bc24f8000000 3bcf 89bc24fc000000 89bc2400010000 }
$sequence_2 = { 85c0 7505 b8???????? 8078fffe 732e 6a01 8bcf }
$sequence_3 = { e8???????? 84c0 7427 8b442414 8b7c2430 8bc8 be???????? }
$sequence_4 = { eb0a 49 51 e8???????? 83c404 8b742414 89ac249c000000 }
$sequence_5 = { 85c0 7509 47 3bfd 75eb 8bf7 eb29 }
$sequence_6 = { 7431 8a46ff 84c0 742a 3cff 7426 6a01 }
$sequence_7 = { 68???????? e8???????? 8a4c2478 56 884c241c 8d4c241c c644247401 }
$sequence_8 = { 895c2448 7505 b8???????? 8b4c241c 8d542448 52 51 }
$sequence_9 = { 50 e8???????? 8b442444 c684243001000002 3bc3 899c24d0000000 7505 }
condition:
7 of them and filesize < 311296
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sequence_0 | hex | { 6a01 56 e8???????? 84c0 741d 8b4c2418 } | |
| $sequence_1 | hex | { e8???????? 83c404 8b8c2408010000 89bc24f8000000 3bcf 89bc24fc000000 89bc2400010000 } | |
| $sequence_2 | hex | { 85c0 7505 b8???????? 8078fffe 732e 6a01 8bcf } | |
| $sequence_3 | hex | { e8???????? 84c0 7427 8b442414 8b7c2430 8bc8 be???????? } | |
| $sequence_4 | hex | { eb0a 49 51 e8???????? 83c404 8b742414 89ac249c000000 } | |
| $sequence_5 | hex | { 85c0 7509 47 3bfd 75eb 8bf7 eb29 } | |
| $sequence_6 | hex | { 7431 8a46ff 84c0 742a 3cff 7426 6a01 } | |
| $sequence_7 | hex | { 68???????? e8???????? 8a4c2478 56 884c241c 8d4c241c c644247401 } | |
| $sequence_8 | hex | { 895c2448 7505 b8???????? 8b4c241c 8d542448 52 51 } | |
| $sequence_9 | hex | { 50 e8???????? 8b442444 c684243001000002 3bc3 899c24d0000000 7505 } |
Condition
7 of them and filesize < 311296In plain words (Heuristic)
- The file must be smaller than 311296 (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: 87d27153-8f18-5b36-9a3a-a5abbe3f0aad
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