YARA · CAPE Sandbox (CAPEv2)
CAPE_Zloader_2024
Zloader Registry and Modulename Bypass
- Author
- enzok
- Date
- 2021-03-12
- Modified
- 2024-05-03
- Score / Quality
- 75 / 70
What this rule detects
Zloader Registry and Modulename Bypass
Targets: Windows PE.
It defines 3 patterns (0 text, 3 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
zloader-2024.yarGNU General Public License v3.0
rule CAPE_Zloader_2024 : FILE
{
meta:
= "Zloader Registry and Modulename Bypass"
= "enzok"
= "7100c27e-021f-552c-9a75-84b07a2f837e"
= "2021-03-12"
= "2024-05-03"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/Zloader.yar#L14-L26"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "38d555ef5f613cf7ca043697c479100a7a22e7f043acf8b6a46f8009eb92fd7e"
= 75
= 70
= "FILE"
= "bp0=$reg_1*+1,bp0=$reg_2*+1,action0=seteax:1,count=0"
strings:
$reg_1 = {FF D0 83 F8 00 0F 94 C0 24 01 88 44 24 ?? 4? 8B [3] B? [9-25] E8 [4] 4? 89 F1 FF D0 8A [3] 24 01 0F B6 C0}
$reg_2 = {B9 [4] E8 [4] 8B [3] 89 C2 E8 [4] 4? [4] ff D0 8A [3] 24 01 0F B6 C0}
$name_1 = {56 5? 5? 4? 81 EC [4] C7 44 24 ?? 00 00 00 00 4? 8D 0D [4] E8 [4] 4? 89 [3] 4? 83 [3] 00 75}
condition:
uint16( 0 ) == 0x5A4D and 2 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $reg_1 | hex | {FF D0 83 F8 00 0F 94 C0 24 01 88 44 24 ?? 4? 8B [3] B? [9-25] E8 [4] 4? 89 F1 FF D0 8A [3] 24 01 0F B6 C0} | |
| $reg_2 | hex | {B9 [4] E8 [4] 8B [3] 89 C2 E8 [4] 4? [4] ff D0 8A [3] 24 01 0F B6 C0} | |
| $name_1 | hex | {56 5? 5? 4? 81 EC [4] C7 44 24 ?? 00 00 00 00 4? 8D 0D [4] E8 [4] 4? 89 [3] 4? 83 [3] 00 75} |
Condition
uint16( 0 ) == 0x5A4D and 2 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 2 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: enzok
Source repository: CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licence: GNU General Public License v3.0 (repository licence)
Copyright notice: Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 7100c27e-021f-552c-9a75-84b07a2f837e
Metadata
| cape_options | bp0=$reg_1*+1,bp0=$reg_2*+1,action0=seteax:1,count=0 |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2025-09-02
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2025-09-02
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-01-18
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2024-10-29
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2023-11-30
- MalwareCAPE Sandbox (CAPEv2)· enzok· 2022-04-21
- GenericCAPE Sandbox (CAPEv2)· enzok· 2025-06-16