YARA · CAPE Sandbox (CAPEv2)
CAPE_Icedidpackerb
IcedID export selection
- Author
- kevoreilly
- Date
- 2021-03-30
- Modified
- 2023-11-28
- Score / Quality
- 75 / 70
What this rule detects
IcedID export selection
Associated malware family: Icedid.
Targets: Windows PE.
It defines 3 patterns (1 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Icedidpackerb : FILE
{
meta:
= "IcedID export selection"
= "kevoreilly"
= "6bd0e64d-e60e-5cd2-af79-946a7f6dc9f5"
= "2021-03-30"
= "2023-11-28"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/IcedID.yar#L42-L56"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "6517ef2c579002ec62ddeb01a3175917c75d79ceca355c415a4462922c715cb6"
= "fde1e2c0124d180b2fa3d0675b35e8d78fdd7b06cd27e9228c148aa29ce30ee7"
= 75
= 70
= "FILE"
= "export=$export"
strings:
$init = "init"
$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 4C 24 08 41 55 41 56 41 57 48 81 EC ?? 00 00 00 B9 [2] 00 00 4C 8B EA E8}
$loop = {8B C2 48 8D 49 01 83 E0 07 FF C2 0F B6 44 30 ?? 30 41 FF 3B D5 72}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $init | text | "init" | |
| $export | hex | {44 89 4C 24 20 4C 89 44 24 18 48 89 4C 24 08 41 55 41 56 41 57 48 81 EC ?? 00 00 00 B9 [2] 00 00 4C 8B EA E8} | |
| $loop | hex | {8B C2 48 8D 49 01 83 E0 07 FF C2 0F B6 44 30 ?? 30 41 FF 3B D5 72} |
Condition
uint16( 0 ) == 0x5A4D and all of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- All 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.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 6517ef2c579002ec62ddeb01a3175917c75d79ceca355c415a4462922c715cb6
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: 6bd0e64d-e60e-5cd2-af79-946a7f6dc9f5
Metadata
| cape_options | export=$export |
|---|
Tags:FILE
Related rules
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- Suspicious / huntingCAPE Sandbox (CAPEv2)· kevoreilly· 2021-03-30
- MalwareSignature Base (Florian Roth / Nextron)· Thomas Barabosch, Telekom Security· 2021-04-12
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04