YARA · CAPE Sandbox (CAPEv2)
CAPE_Dridexloader_1
DridexLoader API Spam Bypass
- Author
- kevoreilly
- Date
- 2021-03-09
- Score / Quality
- 75 / 70
What this rule detects
DridexLoader API Spam Bypass
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
dridexloader-1.yarGNU General Public License v3.0
rule CAPE_Dridexloader_1 : FILE
{
meta:
= "DridexLoader API Spam Bypass"
= "kevoreilly"
= "a8b62f64-87a0-58d3-8876-9b0f6a7deb97"
= "2021-03-09"
= "2021-03-09"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/DridexLoader.yar#L1-L11"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "00a3e4e80a2558ee52035f091e2339fa2dad6f6515b9dc099f2f3800e4c70bce"
= 75
= 70
= "FILE"
= "bp0=$trap-13,action0=ret,count=0"
strings:
$trap = {6A 50 6A 14 6A 03 5A 8D 4C 24 ?? E8 [4] 68 [4] 68 [4] E8 [4] 85 C0 74 05}
condition:
uint16( 0 ) == 0x5A4D and $trap
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $trap | hex | {6A 50 6A 14 6A 03 5A 8D 4C 24 ?? E8 [4] 68 [4] 68 [4] E8 [4] 85 C0 74 05} |
Condition
uint16( 0 ) == 0x5A4D and $trapIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- Pattern $trap 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: kevoreilly
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: a8b62f64-87a0-58d3-8876-9b0f6a7deb97
Metadata
| cape_options | bp0=$trap-13,action0=ret,count=0 |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-10-04