YARA · SEKOIA.IO Community
SEKOIA_Apt_Sandworm_Caddywiper_Stacked_Strings
Detects stacked strings used in the wiper.
- Author
- Sekoia.io
- Date
- 2022-04-06
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detects stacked strings used in the wiper.
Associated malware family: Caddywiper.
Targets: Windows PE.
It defines 3 patterns (0 text, 3 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
apt-sandworm-caddywiper-stacked-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Sandworm_Caddywiper_Stacked_Strings : FILE
{
meta:
= "Detects stacked strings used in the wiper."
= "Sekoia.io"
= "7750c4b6-5781-4b1c-8200-cbce9f18aa56"
= "2022-04-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_sandworm_caddywiper_stacked_strings.yar#L1-L74"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e8c94e8611a50080368785d2b341a95d5359d1d814e1d665553324118700ed10"
= 75
= 80
= "FILE"
= "2.0"
= "TLP:CLEAR"
strings:
$ = { C6 45 ?? 6E
C6 45 ?? 65
C6 45 ?? 74
C6 45 ?? 61
C6 45 ?? 70
C6 45 ?? 69
C6 45 ?? 33
C6 45 ?? 32
C6 45 ?? 2E
C6 45 ?? 64
C6 45 ?? 6C
C6 45 ?? 6C }
$ = { C6 45 ?? 44
C6 45 ?? 65
C6 45 ?? 76
C6 45 ?? 69
C6 45 ?? 63
C6 45 ?? 65
C6 45 ?? 49
C6 45 ?? 6F
C6 45 ?? 43
C6 45 ?? 6F
C6 45 ?? 6E
C6 45 ?? 74
C6 45 ?? 72
C6 45 ?? 6F
C6 45 ?? 6C }
$ = { C6 45 ?? 5C
C6 45 ?? 00
C6 45 ?? 5C
C6 45 ?? 00
C6 45 ?? 2E
C6 45 ?? 00
C6 45 ?? 5C
C6 45 ?? 00
C6 45 ?? 50
C6 45 ?? 00
C6 45 ?? 48
C6 45 ?? 00
C6 45 ?? 59
C6 45 ?? 00
C6 45 ?? 53
C6 45 ?? 00
C6 45 ?? 49
C6 45 ?? 00
C6 45 ?? 43
C6 45 ?? 00
C6 45 ?? 41
C6 45 ?? 00
C6 45 ?? 4C
C6 45 ?? 00
C6 45 ?? 44
C6 45 ?? 00
C6 45 ?? 52
C6 45 ?? 00
C6 45 ?? 49
C6 45 ?? 00
C6 45 ?? 56
C6 45 ?? 00
C6 45 ?? 45 }
condition:
uint16be( 0 ) == 0x4d5a and 2 of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $ | hex | { C6 45 ?? 6E C6 45 ?? 65 C6 45 ?? 74 C6 45 ?? 61 C6 45 ?? 70 C6 45 ?? 69 C6 45 ?? 33 C6 45 ?? 32 … | |
| $ | hex | { C6 45 ?? 44 C6 45 ?? 65 C6 45 ?? 76 C6 45 ?? 69 C6 45 ?? 63 C6 45 ?? 65 C6 45 ?? 49 C6 45 ?? 6F … | |
| $ | hex | { C6 45 ?? 5C C6 45 ?? 00 C6 45 ?? 5C C6 45 ?? 00 C6 45 ?? 2E C6 45 ?? 00 C6 45 ?? 5C C6 45 ?? 00 … |
Condition
uint16be( 0 ) == 0x4d5a and 2 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 2 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.
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: 7750c4b6-5781-4b1c-8200-cbce9f18aa56
Metadata
| version | 2.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-03-15
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / threat actorSEKOIA.IO Community· Sekoia.io· 2024-09-27