YARA · CAPE Sandbox (CAPEv2)
CAPE_Zloader2024
Zloader Payload
- Author
- enzok
- Date
- 2020-04-04
- Modified
- 2025-12-09
- Score / Quality
- 75 / 70
What this rule detects
Zloader Payload
Targets: Windows PE.
It defines 4 patterns (0 text, 4 hex, 0 regex).
YARA-X says: warning[consecutive_jumps]: consecutive jumps in hex pattern `$conf_1`
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Zloader2024 : FILE
{
meta:
= "Zloader Payload"
= "enzok"
= "f99d0994-d4a4-577b-916d-7eaa98e7c331"
= "2020-04-04"
= "2025-12-09"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/Zloader.yar#L20-L34"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "49405370a33abbf131c5d550cebe00780cc3fd3cbe888220686582ae88f16af7"
= "27d883f6d6cab07e602f97a0a032a152386693f79dabf1bb87b0a8a053a38b03"
= 75
= 70
= "FILE"
= "Zloader Payload"
strings:
$conf_1 = {48 01 ?? 48 8D 15 [4] 41 B8 ?? 04 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00}
$confkey_1 = {48 8D 15 [4] 48 89 ?? 49 89 ?? E8 [4] [0-5] C7 [1-2] 00 00 00 00}
$confkey_2 = {48 01 ?? 48 8D 15 [4] 41 B8 10 00 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00 (48 8B|8B)}
$confkey_3 = {48 01 ?? 48 8D 15 [4] 41 B8 10 00 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00 48 83 C4}
condition:
uint16( 0 ) == 0x5A4D and $conf_1 and 2 of ( $confkey_* )
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $conf_1 | hex | {48 01 ?? 48 8D 15 [4] 41 B8 ?? 04 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00} | |
| $confkey_1 | hex | {48 8D 15 [4] 48 89 ?? 49 89 ?? E8 [4] [0-5] C7 [1-2] 00 00 00 00} | |
| $confkey_2 | hex | {48 01 ?? 48 8D 15 [4] 41 B8 10 00 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00 (48 8B|8B)} | |
| $confkey_3 | hex | {48 01 ?? 48 8D 15 [4] 41 B8 10 00 00 00 E8 [4] [0-5] C7 [1-2] 00 00 00 00 48 83 C4} |
Condition
uint16( 0 ) == 0x5A4D and $conf_1 and 2 of ( $confkey_* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 2 patterns in ( $confkey_* ) must match.
- Pattern $conf_1 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 49405370a33abbf131c5d550cebe00780cc3fd3cbe888220686582ae88f16af7
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: f99d0994-d4a4-577b-916d-7eaa98e7c331
Metadata
| cape_type | Zloader Payload |
|---|
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