Skip to content

YARA · Malpedia signator rules

MALPEDIA_Win_Photofork_Auto

autogenerated rule brought to you by yara-signator

MalwarePhotoforkMalpedia 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: Photofork.

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

Summary generated from the rule's metadata and condition.

Rule source

win-photofork-auto.yarCreative Commons Attribution-ShareAlike 4.0
rule MALPEDIA_Win_Photofork_Auto : FILE
{
	meta:
		description = "autogenerated rule brought to you by yara-signator"
		author = "Felix Bilstein - yara-signator at cocacoding dot com"
		id = "03f3231c-1475-52ed-bb16-632751ac4d12"
		date = "2026-05-04"
		modified = "2026-05-18"
		reference = "https://malpedia.caad.fkie.fraunhofer.de/details/win.photofork"
		source_url = "https://github.com/malpedia/signator-rules//blob/c901f97b7df03e41917da74c2a84b04c227316c2/rules/win.photofork_auto.yar#L1-L117"
		license_url = "N/A"
		logic_hash = "709bae5e70c248514471207a86aa73bde84d2e17312283aa497e33ccd6cf6fc3"
		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 = { 4d85d2 7515 8d56fc 33c9 41b8fe6a7a69 e8???????? }
		$sequence_1 = { 4156 4883ec60 49894ba8 4533e4 }
		$sequence_2 = { 488b0d???????? 488981e0100000 eb12 ba01000000 }
		$sequence_3 = { 4c894858 33d2 41b800800000 488bcf 41ffd1 33c0 4881c4a0000000 }
		$sequence_4 = { 4c8d45c4 eb72 488b05???????? 4885c0 742c 488b8080010000 }
		$sequence_5 = { 0f85b9010000 ff15???????? 83f87a 0f85aa010000 8b8424d0000000 }
		$sequence_6 = { 5e 5d c3 498bdf 6690 80bbc001000030 }
		$sequence_7 = { 4c8bc6 488d950c020000 e8???????? 488d5590 }
		$sequence_8 = { 488bd0 488b05???????? 48899040060000 488d4dc0 ffd2 66837dc009 b840000000 }
		$sequence_9 = { 72ea 4533c9 4c8d459c 488d54242c }

	condition:
		7 of them and filesize < 99328
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$sequence_0hex{ 4d85d2 7515 8d56fc 33c9 41b8fe6a7a69 e8???????? }
$sequence_1hex{ 4156 4883ec60 49894ba8 4533e4 }
$sequence_2hex{ 488b0d???????? 488981e0100000 eb12 ba01000000 }
$sequence_3hex{ 4c894858 33d2 41b800800000 488bcf 41ffd1 33c0 4881c4a0000000 }
$sequence_4hex{ 4c8d45c4 eb72 488b05???????? 4885c0 742c 488b8080010000 }
$sequence_5hex{ 0f85b9010000 ff15???????? 83f87a 0f85aa010000 8b8424d0000000 }
$sequence_6hex{ 5e 5d c3 498bdf 6690 80bbc001000030 }
$sequence_7hex{ 4c8bc6 488d950c020000 e8???????? 488d5590 }
$sequence_8hex{ 488bd0 488b05???????? 48899040060000 488d4dc0 ffd2 66837dc009 b840000000 }
$sequence_9hex{ 72ea 4533c9 4c8d459c 488d54242c }

Condition

7 of them and filesize < 99328

In plain words (Heuristic)

  • The file must be smaller than 99328 (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: 03f3231c-1475-52ed-bb16-632751ac4d12

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