YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Phoenix
Phoenix/404KeyLogger keylogger payload
- Author
- ditekSHen
- Date
- 2020-11-06
- Modified
- 2024-11-01
- Score / Quality
- 75 / 75
What this rule detects
Phoenix/404KeyLogger keylogger payload
Associated malware family: Phoenix.
Targets: Windows PE.
It defines 17 patterns (17 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
malware-win-phoenix.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Phoenix : FILE
{
meta:
= "Phoenix/404KeyLogger keylogger payload"
= "ditekSHen"
= "62101881-9b5e-586d-8e1b-184787f25d6b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L341-L367"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b2c2a4ffc36d708a121853fb0268e6dc85b3fe2cd58e05c8124cbef18e03ec0b"
= 75
= 75
= "FILE"
= "MALWARE.Win.Trojan.Phoenix-Keylogger"
strings:
$s1 = "FirefoxPassReader" fullword ascii
$s2 = "StartKeylogger" fullword ascii
$s3 = "CRYPTPROTECT_" ascii
$s4 = "Chrome_Killer" fullword ascii
$s5 = "Clipboardlog.txt" fullword wide
$s6 = "Leyboardlogs.txt" fullword wide
$s7 = "Persistence'" wide
$s8 = "set_HKB" fullword ascii
$s9 = "loloa" fullword ascii
$s10 = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)" fullword wide
$m1 = "- Screenshot -------|" ascii wide
$m2 = "- Clipboard -------|" ascii wide
$m3 = "- Logs -------|" ascii wide
$m4 = "- Passwords -------|" ascii wide
$m5 = "PSWD" ascii wide
$m6 = "Screenshot |" ascii wide
$m7 = "Logs |" ascii wide
condition:
( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or 3 of ( $m* ) ) or 9 of them
}
Strings (17 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "FirefoxPassReader" | fullword ascii |
| $s2 | text | "StartKeylogger" | fullword ascii |
| $s3 | text | "CRYPTPROTECT_" | ascii |
| $s4 | text | "Chrome_Killer" | fullword ascii |
| $s5 | text | "Clipboardlog.txt" | fullword wide |
| $s6 | text | "Leyboardlogs.txt" | fullword wide |
| $s7 | text | "Persistence'" | wide |
| $s8 | text | "set_HKB" | fullword ascii |
| $s9 | text | "loloa" | fullword ascii |
| $s10 | text | "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)" | fullword wide |
| $m1 | text | "- Screenshot -------|" | ascii wide |
| $m2 | text | "- Clipboard -------|" | ascii wide |
| $m3 | text | "- Logs -------|" | ascii wide |
| $m4 | text | "- Passwords -------|" | ascii wide |
| $m5 | text | "PSWD" | ascii wide |
| $m6 | text | "Screenshot |" | ascii wide |
| $m7 | text | "Logs |" | ascii wide |
Condition
( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or 3 of ( $m* ) ) or 9 of themIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 6 patterns in ( $s* ) must match.
- At least 3 patterns in ( $m* ) must match.
- At least 9 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: ditekSHen
Source repository: ditekSHen detection @ e76c93dcde
Licence: BSD 2-Clause License (repository licence)
Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 62101881-9b5e-586d-8e1b-184787f25d6b
Metadata
| clamav_sig | MALWARE.Win.Trojan.Phoenix-Keylogger |
|---|
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-06-20
- ARKBIRD_SOLG_MAL_Phoenix_Stealer_Jun_2021_1Metadata onlyMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-01
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06