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