YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Mal_Lockbit4_Rc4_Win_Feb24
Detect the implementation of RC4 Algorithm by Lockbit4.0
- Author
- 0x0d4y
- Date
- 2024-02-13
- Modified
- 2026-05-15
- Score / Quality
- 100 / 85
What this rule detects
Detect the implementation of RC4 Algorithm by Lockbit4.0
Associated malware family: Lockbit.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_Mal_Lockbit4_Rc4_Win_Feb24 : FILE
{
meta:
= "Detect the implementation of RC4 Algorithm by Lockbit4.0"
= "0x0d4y"
= "4de48ced-b9fa-4286-aac4-c263ad20d67d"
= "2024-02-13"
= "2026-05-15"
= "https://0x0d4y.blog/lockbit4-0-evasion-tales/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_lockbit4_rc4_win_feb24.yar#L1-L21"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "062311f136d83f64497fd81297360cd4"
= "85e8087f875c45ce39b7014fc0737dc86f1e18d4643fdbb0a80d18feff774680"
= 100
= 85
= "FILE"
= "CC BY 4.0"
= "TLP:WHITE"
= "TLP:WHITE"
= "win.lockbit"
strings:
$rc4_alg = { 48 3d 00 01 00 00 74 0c 88 84 04 ?? ?? ?? ?? 48 ff c0 eb ec 29 c9 41 b8 ?? ?? ?? ?? 4c 8d 0d 15 7b 00 00 45 31 d2 48 81 f9 00 01 00 00 74 34 44 8a 9c 0c ?? ?? ?? ?? 45 00 da 89 c8 99 41 f7 f8 46 02 14 0a 41 0f b6 c2 8a 94 04 ?? ?? ?? ?? 88 94 0c ?? ?? ?? ?? 44 88 9c 04 ?? ?? ?? ?? 48 ff c1 eb c3 29 c0 48 8b 0d 14 9e 00 00 31 d2 45 29 c0 48 3d ?? ?? ?? ?? 74 4b 41 ff c0 45 0f b6 c0 46 8a 8c 04 ?? ?? ?? ?? 44 00 ca 44 0f b6 d2 46 8a 9c 14 ?? ?? ?? ?? 46 88 9c 04 ?? ?? ?? ?? 46 88 8c 14 ?? ?? ?? ?? 46 02 8c 04 ?? ?? ?? ?? 45 0f b6 c9 46 8a 8c 0c ?? ?? ?? ?? 44 30 0c 01 48 ff c0 eb ad }
condition:
uint16( 0 ) == 0x5a4d and $rc4_alg
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $rc4_alg | hex | { 48 3d 00 01 00 00 74 0c 88 84 04 ?? ?? ?? ?? 48 ff c0 eb ec 29 c9 41 b8 ?? ?? ?? ?? 4c 8d 0d 15 7b 00 00 45 31 d2 48 81 f9 00 01 00 00 74 34 44 8a 9c 0c ?? ?? … |
Condition
uint16( 0 ) == 0x5a4d and $rc4_algIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- Pattern $rc4_alg 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).
- 062311f136d83f64497fd81297360cd4
Licence & attribution
Author: 0x0d4y
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Creative Commons Attribution 4.0 (stated in the rule's own meta)
“CC BY 4.0”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 4de48ced-b9fa-4286-aac4-c263ad20d67d
Metadata
| rule_matching_tlp | TLP:WHITE |
|---|---|
| rule_sharing_tlp | TLP:WHITE |
| malpedia_family | win.lockbit |
Tags:FILE
Related rules
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· 0x0d4y· 2024-02-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2023-11-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23