YARA · CAPE Sandbox (CAPEv2)
CAPE_Icedidpackerc
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 2 patterns (0 text, 2 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Icedidpackerc : FILE
{
meta:
= "IcedID export selection"
= "kevoreilly"
= "fddfd0d2-1bc0-56bb-b983-5850e17a3d0f"
= "2021-03-30"
= "2023-11-28"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/IcedID.yar#L58-L71"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "c06805b6efd482c1a671ec60c1469e47772c8937ec0496f74e987276fa9020a5"
= "265c1857ac7c20432f36e3967511f1be0b84b1c52e4867889e367c0b5828a844"
= "f1e75e380ab0947fdfda012b7a5077a1c2ef51163239846ab2dc29cac95ba166"
= 75
= 70
= "FILE"
= "export=$export"
strings:
$export = {44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 3A ED 74}
$alloc = {41 B8 00 10 00 00 8B D0 33 C9 66 3B ?? (74|0F 84)}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $export | hex | {44 89 4C 24 20 4C 89 44 24 18 48 89 54 24 10 3A ED 74} | |
| $alloc | hex | {41 B8 00 10 00 00 8B D0 33 C9 66 3B ?? (74|0F 84)} |
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).
- c06805b6efd482c1a671ec60c1469e47772c8937ec0496f74e987276fa9020a5
- 265c1857ac7c20432f36e3967511f1be0b84b1c52e4867889e367c0b5828a844
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: fddfd0d2-1bc0-56bb-b983-5850e17a3d0f
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