YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_HKTL_Wiper_Whispergate_Stage3_Jan22
Detects reversed stage3 related to Ukrainian wiper malware
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-01-16
- Modified
- 2023-12-05
- Score / Quality
- 75 / 85
What this rule detects
Detects reversed stage3 related to Ukrainian wiper malware
Associated malware family: Whispergate.
It defines 2 patterns (1 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_HKTL_Wiper_Whispergate_Stage3_Jan22 : FILE
{
meta:
= "Detects reversed stage3 related to Ukrainian wiper malware"
= "Florian Roth (Nextron Systems)"
= "d5d562cd-03ef-5450-8044-3f538cea32d0"
= "2022-01-16"
= "2023-12-05"
= "https://twitter.com/juanandres_gs/status/1482827018404257792"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ua_wiper_whispergate.yar#L59-L74"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9ef7dbd3da51332a78eff19146d21c82957821e464e8133e9594a07d716d892d"
= "b06536b6a6eebd5fb398ba2617bf68a5b2c4b0035766b3cd0fc03d95019891ec"
= 75
= 85
= "FILE"
strings:
$xc1 = { 65 31 63 70 00 31 79 72 61 72 62 69 4c 73 73 61 6c 43 00 6e 69 61 4d }
$s1 = "lld." wide
condition:
uint16( filesize -2 ) == 0x4d5a and filesize < 5000KB and all of them
}
Strings (2 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xc1 | hex | { 65 31 63 70 00 31 79 72 61 72 62 69 4c 73 73 61 6c 43 00 6e 69 61 4d } | |
| $s1 | text | "lld." | wide |
Condition
uint16( filesize -2 ) == 0x4d5a and filesize < 5000KB and all of themIn plain words (Heuristic)
- The file must be smaller than 5000KB (a cheap guard that skips large files).
- 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.
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 9ef7dbd3da51332a78eff19146d21c82957821e464e8133e9594a07d716d892d
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: d5d562cd-03ef-5450-8044-3f538cea32d0
Tags:FILE
Related rules
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCado Security (via Open-Source-YARA-rules)· mmuir@cadosecurity.com· 2022-01-17
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / threat actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25