YARA · SEKOIA.IO Community
SEKOIA_Loader_Win_Squirrelwaffle_Doc
Detect the Squirrelwaffle malicious document (not xls)
MalwareSquirrelwaffleSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X (with warnings)
- Author
- Sekoia.io
- Date
- 2021-09-20
- Modified
- 2024-12-19
- Score / Quality
- 75 / 76
What this rule detects
Detect the Squirrelwaffle malicious document (not xls)
Associated malware family: Squirrelwaffle.
It defines 2 patterns (0 text, 2 hex, 0 regex).
YARA-X says: warning[text_as_hex]: hex pattern could be written as text literal
Summary generated from the rule's metadata and condition.
Rule source
loader-win-squirrelwaffle-doc.yarDetection Rule License 1.1
rule SEKOIA_Loader_Win_Squirrelwaffle_Doc : FILE
{
meta:
= "Detect the Squirrelwaffle malicious document (not xls)"
= "Sekoia.io"
= "caadeac3-d4c7-4d84-b539-c03cc4c6c274"
= "2021-09-20"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_squirrelwaffle_doc.yar#L1-L18"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "b9f7c3605e25c8c7caa5f70e492d46fb70e7cb6002704440e7346ebfb2bbc7bf"
= 75
= 76
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = {4f4b31203d2022636d64202f632072756e646c6c33322e65786520433a5c50726f6772616d446174615c777777312e646c6c2c6c647222}
$s2 = {4145524f2042495a20434f4d20434f4f502045445520474f5620494e464f20494e54204d494c204d555345554d204e414d45204e4554204f52472050524f}
condition:
any of them and filesize > 100KB
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | hex | {4f4b31203d2022636d64202f632072756e646c6c33322e65786520433a5c50726f6772616d446174615c777777312e646c6c2c6c647222} | |
| $s2 | hex | {4145524f2042495a20434f4d20434f4f502045445520474f5620494e464f20494e54204d494c204d555345554d204e414d45204e4554204f52472050524f} |
Condition
any of them and filesize > 100KBIn plain words (Heuristic)
- The file must be larger than 100KB.
- At least one pattern 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.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
References
Licence & attribution
Author: Sekoia.io
Source repository: SEKOIA.IO Community @ a438a5901a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: caadeac3-d4c7-4d84-b539-c03cc4c6c274
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2021-09-20
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly & R3MRUM· 2021-09-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20