Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Petit_Potato_Auto

autogenerated rule brought to you by yara-signator

MalwarePetit PotatoMalpedia 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: Petit Potato.

It defines 10 patterns (0 text, 10 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

win-petit-potato-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Petit_Potato_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "faf42773-999a-5989-b81d-5811249c6943"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.petit_potato"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.petit_potato_auto.yar#L1-L130"
		license_url = "N/A"
		logic_hash = "c1d02b88a45c3b14c7fe722ea8aece32c4629095fd0d70f6525501e57f2d48a5"
		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 = { 4889442450 488b442450 4889842400060000 48b8501adcae54c47955 4889442450 }
		$sequence_1 = { 48898520020000 488bf9 33f6 0f57c0 33c0 0f114540 0f114550 }
		$sequence_2 = { 48c785080300000f000000 0f1f840000000000 49ffc0 46382400 75f7 488d9510010000 488d8df0020000 }
		$sequence_3 = { b902000000 488d154e300100 e8???????? 4885c0 7415 488b4c2460 4c8bcb }
		$sequence_4 = { 4889442420 e8???????? 488d2d7f400100 4c8d0578410100 498bd5 498bce e8???????? }
		$sequence_5 = { 488b442430 48897c2430 48898598060000 488b442430 4889742430 488985a0060000 488b442430 }
		$sequence_6 = { 660f6f8c24c0000000 660fef8c2470090000 660f7f8c24c0000000 660f6f8424d0000000 660fef842480090000 660f7f8424d0000000 660f6f8c24e0000000 }
		$sequence_7 = { 4d85c0 7e2d 482bfe 488d1d25c7fdff 8a0437 }
		$sequence_8 = { 488d4c2420 0f1102 e8???????? 488d05bde80100 488903 488bc3 4883c430 }
		$sequence_9 = { 488d1d96de0200 488d05a7de0200 480f44d8 ba01000000 488d4c2420 e8???????? 4c8bc0 }

	condition:
		7 of them and filesize < 628736
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 4889442450 488b442450 4889842400060000 48b8501adcae54c47955 4889442450 }
$sequence_1hex{ 48898520020000 488bf9 33f6 0f57c0 33c0 0f114540 0f114550 }
$sequence_2hex{ 48c785080300000f000000 0f1f840000000000 49ffc0 46382400 75f7 488d9510010000 488d8df0020000 }
$sequence_3hex{ b902000000 488d154e300100 e8???????? 4885c0 7415 488b4c2460 4c8bcb }
$sequence_4hex{ 4889442420 e8???????? 488d2d7f400100 4c8d0578410100 498bd5 498bce e8???????? }
$sequence_5hex{ 488b442430 48897c2430 48898598060000 488b442430 4889742430 488985a0060000 488b442430 }
$sequence_6hex{ 660f6f8c24c0000000 660fef8c2470090000 660f7f8c24c0000000 660f6f8424d0000000 660fef842480090000 660f7f8424d0000000 660f6f8c24e0000000 }
$sequence_7hex{ 4d85c0 7e2d 482bfe 488d1d25c7fdff 8a0437 }
$sequence_8hex{ 488d4c2420 0f1102 e8???????? 488d05bde80100 488903 488bc3 4883c430 }
$sequence_9hex{ 488d1d96de0200 488d05a7de0200 480f44d8 ba01000000 488d4c2420 e8???????? 4c8bc0 }

Condition

7 of them and filesize < 628736

In plain words (Heuristic)

  • The file must be smaller than 628736 (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: faf42773-999a-5989-b81d-5811249c6943

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