YARA · CAPE Sandbox (CAPEv2)
CAPE_Squirrelwaffle
No description has been set in the source file - CAPE
- Author
- kevoreilly & R3MRUM
- Date
- 2021-09-22
- Modified
- 2021-10-13
- Score / Quality
- 75 / 70
What this rule detects
No description has been set in the source file - CAPE
Associated malware family: Squirrelwaffle.
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_Squirrelwaffle : FILE
{
meta:
= "No description has been set in the source file - CAPE"
= "kevoreilly & R3MRUM"
= "0ae75f24-7a2a-57d3-8c6f-a61ac6cc08e7"
= "2021-09-22"
= "2021-10-13"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/SquirrelWaffle.yar#L1-L11"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "5f799333398421d537ec7a87ca94f6cc9cf1e53e55b353036a5132440990e500"
= 75
= 70
= "FILE"
= "SquirrelWaffle Payload"
strings:
$code = {8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39 8D 4D ?? 0F B6 C0 50 6A 01 E8 [4] C6 45}
$decode = {F7 75 ?? 83 7D ?? 10 8D 4D ?? 8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39}
condition:
uint16( 0 ) == 0x5A4D and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $code | hex | {8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39 8D 4D ?? 0F B6 C0 50 6A 01 E8 [4] C6 45} | |
| $decode | hex | {F7 75 ?? 83 7D ?? 10 8D 4D ?? 8D 45 ?? C6 45 ?? 00 0F 43 4D ?? 83 7D ?? 10 0F 43 45 ?? 8A 04 10 32 04 39} |
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 & R3MRUM
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: 0ae75f24-7a2a-57d3-8c6f-a61ac6cc08e7
Metadata
| cape_type | SquirrelWaffle Payload |
|---|
Tags:FILE
Related rules
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2021-09-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2021-09-20