YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Phoenixwave
Detect the PhoenixWave infostealer based on specific strings
- Author
- Sekoia.io
- Date
- 2022-04-07
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the PhoenixWave infostealer based on specific strings
Targets: Windows PE.
It defines 19 patterns (19 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-phoenixwave.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Phoenixwave : FILE
{
meta:
= "Detect the PhoenixWave infostealer based on specific strings"
= "Sekoia.io"
= "67c05ea8-2f1b-4c60-b108-e05d7d0c6508"
= "2022-04-07"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_phoenixwave.yar#L1-L35"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "efeffb2f0df4c2f8156c401bac5f44c415c4c3e02e84e8db55dad68488f39fea"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "##################################################\n Information\n##################################################\n" wide
$str1 = "Specify a single character: either D or F" wide
$str2 = "// This SFX source file was generated by DotNetZip " wide
$str3 = "aHR0cDovL2lwLWFwaS5jb20vanNvbg==" wide
$str4 = "TG9jYWxBcHBEYXRh" wide
$str5 = "UGhvZW5peFdhdmU=" wide
$str6 = "virustotal" wide
$str7 = "SELECT * FROM win32_operatingsystem" wide
$str8 = "SELECT * FROM Win32_VideoController" wide
$app0 = "\\discordcanary\\Local Storage\\leveldb" wide
$app1 = "\\discordptb\\Local Storage\\leveldb" wide
$app2 = "\\discorddevelopment\\Local Storage\\leveldb" wide
$app3 = "\\D877F783D5D3EF8C\\" wide
$app4 = "\\IndexedDB\\file__0.indexeddb.leveldb" wide
$app5 = "\\Steam\\Games.txt" wide
$app6 = "nkbihfbeogaeaoehlefnkodbefgpgknn" wide
$app7 = "fhbohimaelbohpjbbldcngcnapndodjp" wide
$app8 = "fnjhmkhhmkbjkkabndcnnogagogbneec" wide
$app9 = "\\Opera Software\\Opera GX Stable" wide
condition:
uint16( 0 ) == 0x5A4D and 7 of ( $str* ) and 8 of ( $app* )
}
Strings (19 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str0 | text | "##################################################\n Information\n##################################################\n" | wide |
| $str1 | text | "Specify a single character: either D or F" | wide |
| $str2 | text | "// This SFX source file was generated by DotNetZip " | wide |
| $str3 | text | "aHR0cDovL2lwLWFwaS5jb20vanNvbg==" | wide |
| $str4 | text | "TG9jYWxBcHBEYXRh" | wide |
| $str5 | text | "UGhvZW5peFdhdmU=" | wide |
| $str6 | text | "virustotal" | wide |
| $str7 | text | "SELECT * FROM win32_operatingsystem" | wide |
| $str8 | text | "SELECT * FROM Win32_VideoController" | wide |
| $app0 | text | "\\discordcanary\\Local Storage\\leveldb" | wide |
| $app1 | text | "\\discordptb\\Local Storage\\leveldb" | wide |
| $app2 | text | "\\discorddevelopment\\Local Storage\\leveldb" | wide |
| $app3 | text | "\\D877F783D5D3EF8C\\" | wide |
| $app4 | text | "\\IndexedDB\\file__0.indexeddb.leveldb" | wide |
| $app5 | text | "\\Steam\\Games.txt" | wide |
| $app6 | text | "nkbihfbeogaeaoehlefnkodbefgpgknn" | wide |
| $app7 | text | "fhbohimaelbohpjbbldcngcnapndodjp" | wide |
| $app8 | text | "fnjhmkhhmkbjkkabndcnnogagogbneec" | wide |
| $app9 | text | "\\Opera Software\\Opera GX Stable" | wide |
Condition
uint16( 0 ) == 0x5A4D and 7 of ( $str* ) and 8 of ( $app* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 patterns in ( $str* ) must match.
- At least 8 patterns in ( $app* ) 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: 67c05ea8-2f1b-4c60-b108-e05d7d0c6508
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- 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
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20