Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Pgift_Auto

autogenerated rule brought to you by yara-signator

MalwarePgiftMalpedia 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: Pgift.

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

Summary generated from the rule's metadata and condition.

Rule source

win-pgift-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Pgift_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "5134e180-c701-504d-b27b-1f2a37782304"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.pgift"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.pgift_auto.yar#L1-L122"
		license_url = "N/A"
		logic_hash = "86543d2a9c2965bb35bf9078bd182bce16bae717918e12d47f187ce1755d9b8f"
		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 = { c645fc03 e8???????? ff7510 8d4de8 }
		$sequence_1 = { e8???????? 8d7e01 57 ebac }
		$sequence_2 = { 53 6a11 ff15???????? 8bd8 8d45ec }
		$sequence_3 = { 53 6a01 6800000040 ff75ec ff15???????? 8bd8 }
		$sequence_4 = { 7408 ff4510 83c710 eb99 8b4e14 }
		$sequence_5 = { 89450c 8d45e4 53 50 8d4594 50 }
		$sequence_6 = { 50 8d4de4 e8???????? 33db 8d8de4feffff 895dfc 895dec }
		$sequence_7 = { 8d4de8 c645fc01 e8???????? 83f8ff 750f 6a2f 8d4de8 }
		$sequence_8 = { e9???????? 8b4d08 8bc3 2bc1 c1f802 3bc7 7369 }
		$sequence_9 = { e8???????? ff75e8 ff15???????? eb53 8b45ec 3958f8 742f }

	condition:
		7 of them and filesize < 98304
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ c645fc03 e8???????? ff7510 8d4de8 }
$sequence_1hex{ e8???????? 8d7e01 57 ebac }
$sequence_2hex{ 53 6a11 ff15???????? 8bd8 8d45ec }
$sequence_3hex{ 53 6a01 6800000040 ff75ec ff15???????? 8bd8 }
$sequence_4hex{ 7408 ff4510 83c710 eb99 8b4e14 }
$sequence_5hex{ 89450c 8d45e4 53 50 8d4594 50 }
$sequence_6hex{ 50 8d4de4 e8???????? 33db 8d8de4feffff 895dfc 895dec }
$sequence_7hex{ 8d4de8 c645fc01 e8???????? 83f8ff 750f 6a2f 8d4de8 }
$sequence_8hex{ e9???????? 8b4d08 8bc3 2bc1 c1f802 3bc7 7369 }
$sequence_9hex{ e8???????? ff75e8 ff15???????? eb53 8b45ec 3958f8 742f }

Condition

7 of them and filesize < 98304

In plain words (Heuristic)

  • The file must be smaller than 98304 (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: 5134e180-c701-504d-b27b-1f2a37782304

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