YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_Prolock_Malware
Detects Prolock malware in encrypted and decrypted mode
- Author
- Frank Boldewin (@r3c0nst)
- Date
- 2020-05-17
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects Prolock malware in encrypted and decrypted mode
Associated malware family: Prolock.
Targets: Windows PE.
It defines 5 patterns (3 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_MAL_Prolock_Malware : FILE
{
meta:
= "Detects Prolock malware in encrypted and decrypted mode"
= "Frank Boldewin (@r3c0nst)"
= "269bf0c5-8315-5405-8e44-e2cc5507a36a"
= "2020-05-17"
= "2023-12-05"
= "https://raw.githubusercontent.com/fboldewin/YARA-rules/master/Prolock.Malware.yar"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/crime_ransom_prolock.yar#L1-L20"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "a6ded68af5a6e5cc8c1adee029347ec72da3b10a439d98f79f4b15801abd7af0"
= "dfbd62a3d1b239601e17a5533e5cef53036647901f3fb72be76d92063e279178"
= "da8a0ec683475019daddd4acdd00d4c36eedacad3deef2be4220b86cbf5f9df0"
= 75
= 85
= "FILE"
strings:
$DecryptionRoutine = {01 C2 31 DB B8 ?? ?? ?? ?? 31 04 1A 81 3C 1A}
$DecryptedString1 = "support981723721@protonmail.com" nocase ascii
$DecryptedString2 = "Your files have been encrypted by ProLock Ransomware" nocase ascii
$DecryptedString3 = "msaoyrayohnp32tcgwcanhjouetb5k54aekgnwg7dcvtgtecpumrxpqd.onion" nocase ascii
$CryptoCode = {B8 63 51 E1 B7 31 D2 8D BE ?? ?? ?? ?? B9 63 51 E1 B7 81 C1 B9 79 37 9E}
condition:
(( uint16( 0 ) == 0x5A4D ) or ( uint16( 0 ) == 0x4D42 ) ) and filesize < 100KB and ( ( $DecryptionRoutine ) or ( 1 of ( $DecryptedString* ) and $CryptoCode ) )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $DecryptionRoutine | hex | {01 C2 31 DB B8 ?? ?? ?? ?? 31 04 1A 81 3C 1A} | |
| $DecryptedString1 | text | "support981723721@protonmail.com" | nocase ascii |
| $DecryptedString2 | text | "Your files have been encrypted by ProLock Ransomware" | nocase ascii |
| $DecryptedString3 | text | "msaoyrayohnp32tcgwcanhjouetb5k54aekgnwg7dcvtgtecpumrxpqd.onion" | nocase ascii |
| $CryptoCode | hex | {B8 63 51 E1 B7 31 D2 8D BE ?? ?? ?? ?? B9 63 51 E1 B7 81 C1 B9 79 37 9E} |
Condition
(( uint16( 0 ) == 0x5A4D ) or ( uint16( 0 ) == 0x4D42 ) ) and filesize < 100KB and ( ( $DecryptionRoutine ) or ( 1 of ( $DecryptedString* ) and $CryptoCode ) )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 100KB (a cheap guard that skips large files).
- At least 1 patterns in ( $DecryptedString* ) must match.
- Pattern $CryptoCode must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- a6ded68af5a6e5cc8c1adee029347ec72da3b10a439d98f79f4b15801abd7af0
- dfbd62a3d1b239601e17a5533e5cef53036647901f3fb72be76d92063e279178
Licence & attribution
Author: Frank Boldewin (@r3c0nst)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 269bf0c5-8315-5405-8e44-e2cc5507a36a
Tags:FILE
Related rules
- R3C0NST_Prolock_MalwareMetadata onlyMalwareFrank Boldewin (R3c0nst)· Frank Boldewin (@r3c0nst)· 2020-05-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSignature Base (Florian Roth / Nextron)· Frank Boldewin (@r3c0nst)· 2020-08-17
- Hack toolSignature Base (Florian Roth / Nextron)· Frank Boldewin (@r3c0nst)· 2022-11-22
- GenericSignature Base (Florian Roth / Nextron)· Frank Boldewin (@r3c0nst)· 2021-03-16