YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Whitesnake_Stealer_Feb23
Finds WhiteSnake samples (stealer module)
- Author
- Sekoia.io
- Date
- 2023-03-01
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds WhiteSnake samples (stealer module)
Targets: Windows PE.
It defines 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-whitesnake-stealer-feb23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Whitesnake_Stealer_Feb23 : FILE
{
meta:
= "Finds WhiteSnake samples (stealer module)"
= "Sekoia.io"
= "68ae7fbc-4486-4b60-af5e-f37ddc58f170"
= "2023-03-01"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_whitesnake_stealer_feb23.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "90007c38c644b79b2a60d9a252bd95071c5be57c649d73b66a73a1158cddc2fb"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$fun01 = "Ibhiyptxjhiacrnxomvqjb" ascii
$fun02 = "Irwcvmgzsduiiizaabbczm" ascii
$whi = "WhiteSnake.Properties.Resources" ascii
$str01 = "get_UtcNow" ascii
$str02 = "get_IPAddress" ascii
$str03 = "get_Ticks" ascii
$str04 = "set_commands" ascii
$str05 = "set_Information" ascii
$str06 = "set_filedata" ascii
$str07 = "get_Jpeg" ascii
$str08 = "set_Culture" ascii
$str09 = "MakeScreenshot" ascii
condition:
uint16( 0 ) == 0x5A4D and ( ( all of ( $fun* ) or $whi ) and 3 of ( $str* ) or 7 of ( $str* ) ) and filesize < 100KB
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $fun01 | text | "Ibhiyptxjhiacrnxomvqjb" | ascii |
| $fun02 | text | "Irwcvmgzsduiiizaabbczm" | ascii |
| $whi | text | "WhiteSnake.Properties.Resources" | ascii |
| $str01 | text | "get_UtcNow" | ascii |
| $str02 | text | "get_IPAddress" | ascii |
| $str03 | text | "get_Ticks" | ascii |
| $str04 | text | "set_commands" | ascii |
| $str05 | text | "set_Information" | ascii |
| $str06 | text | "set_filedata" | ascii |
| $str07 | text | "get_Jpeg" | ascii |
| $str08 | text | "set_Culture" | ascii |
| $str09 | text | "MakeScreenshot" | ascii |
Condition
uint16( 0 ) == 0x5A4D and ( ( all of ( $fun* ) or $whi ) and 3 of ( $str* ) or 7 of ( $str* ) ) and filesize < 100KBIn plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- The file must be smaller than 100KB (a cheap guard that skips large files).
- All patterns in ( $fun* ) must match.
- At least 3 patterns in ( $str* ) must match.
- At least 7 patterns in ( $str* ) must match.
- Pattern $whi must be present.
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: 68ae7fbc-4486-4b60-af5e-f37ddc58f170
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