YARA · CAPE Sandbox (CAPEv2)
CAPE_Icedidsyscallwritemem
IcedID 'syscall' packer bypass - direct write variant
- Author
- kevoreilly
- Date
- 2021-03-30
- Modified
- 2023-11-28
- Score / Quality
- 75 / 70
What this rule detects
IcedID 'syscall' packer bypass - direct write variant
Associated malware family: Icedid.
Targets: Windows PE.
It defines 1 patterns (0 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule CAPE_Icedidsyscallwritemem : FILE
{
meta:
= "IcedID 'syscall' packer bypass - direct write variant"
= "kevoreilly"
= "67935058-4191-587f-ad19-497defd0eef1"
= "2021-03-30"
= "2023-11-28"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/IcedID.yar#L1-L13"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "6b068106b038e9efeb9057cadf314d400c1ada1a1cc70336d3272da3a212c993"
= 75
= 70
= "FILE"
= "bp0=$tokencheck+9,action0=jmp,count=0"
= "28075ecae5e224c06e250f2c949c826b81844bca421e9158a7a9e965a29ef894"
= "045dff9f14a03225df55997cb2ca74ff60ecaf317b9e033ea93386785db84161"
strings:
$tokencheck = {39 5D ?? 75 06 83 7D ?? 03 74 05 BB 01 00 00 00 41 89 1C ?? 48 8B 4D ?? 41 FF D?}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $tokencheck | hex | {39 5D ?? 75 06 83 7D ?? 03 74 05 BB 01 00 00 00 41 89 1C ?? 48 8B 4D ?? 41 FF D?} |
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
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: 67935058-4191-587f-ad19-497defd0eef1
Metadata
| cape_options | bp0=$tokencheck+9,action0=jmp,count=0 |
|---|---|
| packed | 28075ecae5e224c06e250f2c949c826b81844bca421e9158a7a9e965a29ef894 |
| packed | 045dff9f14a03225df55997cb2ca74ff60ecaf317b9e033ea93386785db84161 |
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
- MalwareCAPE 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