YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_HKTL_Wiper_Whispergate_Jan22_2
Detects unknown wiper malware
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-01-16
- Modified
- 2023-12-05
- Score / Quality
- 90 / 85
What this rule detects
Detects unknown wiper malware
Associated malware family: Whispergate.
Targets: Windows PE.
It defines 10 patterns (4 text, 6 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_APT_HKTL_Wiper_Whispergate_Jan22_2 : FILE
{
meta:
= "Detects unknown wiper malware"
= "Florian Roth (Nextron Systems)"
= "822e5af5-9c51-5be3-94f1-7e0a714743e6"
= "2022-01-16"
= "2023-12-05"
= "https://www.microsoft.com/security/blog/2022/01/15/destructive-malware-targeting-ukrainian-organizations/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_ua_wiper_whispergate.yar#L25-L57"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "dcbbae5a1c61dbbbb7dcd6dc5dd1eb1169f5329958d38b58c3fd9384081c9b78"
= "87a03e95bc1c33d1b3343ec7369c516bb15791943fbb122de11867ad4bddd565"
= 90
= 85
= "FILE"
strings:
$sc1 = { 70 00 6F 00 77 00 65 00 72 00 73 00 68 00 65 00
6C 00 6C 00 00 27 2D 00 65 00 6E 00 63 00 20 00
55 00 77 00 42 00 30 00 41 00 47 00 45 00 41 00
63 00 67 00 42 00 30 00 41 00 43 }
$sc2 = { 59 00 6C 00 66 00 77 00 64 00 77 00 67 00 6D 00
70 00 69 00 6C 00 7A 00 79 00 61 00 70 00 68 }
$s1 = "xownxloxadDxatxxax" wide
$s2 = "0AUwBsAGUAZQBwACAALQBzACAAMQAwAA==" wide
$s3 = "https://cdn.discordapp.com/attachments/" wide
$s4 = "fffxfff.fff" ascii fullword
$op1 = { 20 6b 85 b9 03 20 14 19 91 52 61 65 20 e1 ae f1 }
$op2 = { aa ae 74 20 d9 7c 71 04 59 20 71 cc 13 91 61 20 97 3c 2a c0 }
$op3 = { 38 9c f3 ff ff 20 f2 96 4d e9 20 5d ae d9 ce 58 20 4f 45 27 }
$op4 = { d4 67 d4 61 80 1c 00 00 04 38 35 02 00 00 20 27 c0 db 56 65 20 3d eb 24 de 61 }
condition:
uint16( 0 ) == 0x5a4d and filesize < 1000KB and 5 of them or 7 of them
}
Strings (10 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $sc1 | hex | { 70 00 6F 00 77 00 65 00 72 00 73 00 68 00 65 00 6C 00 6C 00 00 27 2D 00 65 00 6E 00 63 00 20 00 55 00 77 00 42 00 30 00 41 00 47 … | |
| $sc2 | hex | { 59 00 6C 00 66 00 77 00 64 00 77 00 67 00 6D 00 70 00 69 00 6C 00 7A 00 79 00 61 00 70 00 68 } | |
| $s1 | text | "xownxloxadDxatxxax" | wide |
| $s2 | text | "0AUwBsAGUAZQBwACAALQBzACAAMQAwAA==" | wide |
| $s3 | text | "https://cdn.discordapp.com/attachments/" | wide |
| $s4 | text | "fffxfff.fff" | ascii fullword |
| $op1 | hex | { 20 6b 85 b9 03 20 14 19 91 52 61 65 20 e1 ae f1 } | |
| $op2 | hex | { aa ae 74 20 d9 7c 71 04 59 20 71 cc 13 91 61 20 97 3c 2a c0 } | |
| $op3 | hex | { 38 9c f3 ff ff 20 f2 96 4d e9 20 5d ae d9 ce 58 20 4f 45 27 } | |
| $op4 | hex | { d4 67 d4 61 80 1c 00 00 04 38 35 02 00 00 20 27 c0 db 56 65 20 3d eb 24 de 61 } |
Condition
uint16( 0 ) == 0x5a4d and filesize < 1000KB and 5 of them or 7 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 1000KB (a cheap guard that skips large files).
- At least 5 patterns in the rule must match.
- At least 7 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).
- dcbbae5a1c61dbbbb7dcd6dc5dd1eb1169f5329958d38b58c3fd9384081c9b78
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: 822e5af5-9c51-5be3-94f1-7e0a714743e6
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