YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Whitesnake_Loader_Feb23
Finds WhiteSnake samples (loader module, bat file)
- Author
- Sekoia.io
- Date
- 2023-03-01
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds WhiteSnake samples (loader module, bat file)
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-whitesnake-loader-feb23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Whitesnake_Loader_Feb23 : FILE
{
meta:
= "Finds WhiteSnake samples (loader module, bat file)"
= "Sekoia.io"
= "f81a8a96-6fd2-4f5c-8a56-ff66ff1a80d3"
= "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_loader_feb23.yar#L1-L23"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "c9d4414fb17c28a3ea2e75837732e1657bdc7b2df4a7ab34e458d659441759e8"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "echo Please wait... a while Loading data ...." ascii
$str02 = "CERTUTIL -f -decode" ascii
$str03 = "%Temp%\\build.exe" ascii
$crt = "-----BEGIN CERTIFICATE-----" ascii
$mz = "TVqQAAMAAAAEAAAA" ascii
condition:
($str01 in ( 0 .. 200 ) or $str02 in ( 0 .. 200 ) or $str03 in ( 0 .. 200 ) ) and $mz in ( @crt .. @crt + 50 ) and filesize < 100KB
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "echo Please wait... a while Loading data ...." | ascii |
| $str02 | text | "CERTUTIL -f -decode" | ascii |
| $str03 | text | "%Temp%\\build.exe" | ascii |
| $crt | text | "-----BEGIN CERTIFICATE-----" | ascii |
| $mz | text | "TVqQAAMAAAAEAAAA" | ascii |
Condition
($str01 in ( 0 .. 200 ) or $str02 in ( 0 .. 200 ) or $str03 in ( 0 .. 200 ) ) and $mz in ( @crt .. @crt + 50 ) and filesize < 100KBIn plain words (Heuristic)
- The file must be smaller than 100KB (a cheap guard that skips large files).
- Pattern $str01 must be found within the range 0 .. 200.
- Pattern $str02 must be found within the range 0 .. 200.
- Pattern $str03 must be found within the range 0 .. 200.
- Pattern $mz must be found within the range @crt .. @crt + 50.
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: f81a8a96-6fd2-4f5c-8a56-ff66ff1a80d3
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