Skip to content

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:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "87d27153-8f18-5b36-9a3a-a5abbe3f0aad"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.cookiebag"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.cookiebag_auto.yar#L1-L133"
		license_url = "N/A"
		logic_hash = "1a63e2ea29f8b1a9865d0cb00e0963b38339d2f8a4e6be6ac3679ce75b1bf949"
		score = 75
		quality = 75
		tags = "FILE"
		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"

	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)

IdentifierTypeValueModifiers
$sequence_0hex{ 6a01 56 e8???????? 84c0 741d 8b4c2418 }
$sequence_1hex{ e8???????? 83c404 8b8c2408010000 89bc24f8000000 3bcf 89bc24fc000000 89bc2400010000 }
$sequence_2hex{ 85c0 7505 b8???????? 8078fffe 732e 6a01 8bcf }
$sequence_3hex{ e8???????? 84c0 7427 8b442414 8b7c2430 8bc8 be???????? }
$sequence_4hex{ eb0a 49 51 e8???????? 83c404 8b742414 89ac249c000000 }
$sequence_5hex{ 85c0 7509 47 3bfd 75eb 8bf7 eb29 }
$sequence_6hex{ 7431 8a46ff 84c0 742a 3cff 7426 6a01 }
$sequence_7hex{ 68???????? e8???????? 8a4c2478 56 884c241c 8d4c241c c644247401 }
$sequence_8hex{ 895c2448 7505 b8???????? 8b4c241c 8d542448 52 51 }
$sequence_9hex{ 50 e8???????? 8b442444 c684243001000002 3bc3 899c24d0000000 7505 }

Condition

7 of them and filesize < 311296

In 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.

Open in editor

References

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)

Original rule

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

version1
toolyara-signator v0.6.0
signator_configcallsandjumps;datarefs;binvalue
malpedia_rule_date20260422
malpedia_hasha182e35da64e6d71cb55f125c4d4225196523f14
malpedia_version20260504
malpedia_licenseCC BY-SA 4.0
malpedia_sharingTLP:WHITE

Tags:FILE