YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Prolock
ProLock ransomware payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
ProLock ransomware payload
Associated malware family: Prolock.
Targets: Windows PE.
It defines 8 patterns (7 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-prolock.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Prolock : FILE
{
meta:
= "ProLock ransomware payload"
= "ditekSHen"
= "88fa19ba-238c-5d4d-bf0c-d421ee2ecf1d"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1397-L1413"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b7d2cc71acc4f643a86781d957afcf5203a2f4034b9ca7da93e8227ddee79f3b"
= 75
= 75
= "FILE"
= "MALWARE.Win.Ransomware.ProLock"
strings:
$s1 = ".flat" fullword ascii
$s2 = ".data" fullword ascii
$s3 = ".api" fullword ascii
$s4 = "RtlZeroMemory" fullword ascii
$s5 = "LoadLibraryA" fullword ascii
$s6 = "Sleep" fullword ascii
$s7 = "lstrcatA" fullword ascii
$s8 = { 55 89 E5 8B 45 08 EB 00 89 45 EC 8D 15 4F 10 40 00 8D 05 08 10 40 00 83 E8 08 29 C2 8B 45 EC 01 C2 31 }
condition:
uint16( 0 ) == 0x5a4d and all of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | ".flat" | fullword ascii |
| $s2 | text | ".data" | fullword ascii |
| $s3 | text | ".api" | fullword ascii |
| $s4 | text | "RtlZeroMemory" | fullword ascii |
| $s5 | text | "LoadLibraryA" | fullword ascii |
| $s6 | text | "Sleep" | fullword ascii |
| $s7 | text | "lstrcatA" | fullword ascii |
| $s8 | hex | { 55 89 E5 8B 45 08 EB 00 89 45 EC 8D 15 4F 10 40 00 8D 05 08 10 40 00 83 E8 08 29 C2 8B 45 EC 01 C2 31 } |
Condition
uint16( 0 ) == 0x5a4d and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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.
References
Licence & attribution
Author: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 88fa19ba-238c-5d4d-bf0c-d421ee2ecf1d
Metadata
| clamav_sig | MALWARE.Win.Ransomware.ProLock |
|---|
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· Frank Boldewin (@r3c0nst)· 2020-05-17
- R3C0NST_Prolock_MalwareMetadata onlyMalwareFrank Boldewin (R3c0nst)· Frank Boldewin (@r3c0nst)· 2020-05-17
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06