YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Vidar_Str_Jul22
Detect the Vidar infostealer based on specific strings
- Author
- Sekoia.io
- Date
- 2022-07-26
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Detect the Vidar infostealer based on specific strings
Associated malware family: Vidar.
Targets: Windows PE.
It defines 13 patterns (12 text, 1 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-vidar-str-jul22.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Vidar_Str_Jul22 : FILE
{
meta:
= "Detect the Vidar infostealer based on specific strings"
= "Sekoia.io"
= "1dc18694-aaac-41e6-979a-c06d5d62f5ea"
= "2022-07-26"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_vidar_str_jul22.yar#L1-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "394d148155d46753df188a252678c5ce9d0aa321da8907e74b844d5aa8494a47"
= 75
= 80
= "FILE"
= "1.0"
= "2022-08-23"
= "TLP:CLEAR"
strings:
$str01 = "vcruntime140.dll" ascii
$str02 = "\\screenshot.jpg" ascii
$str03 = "HARDWARE\\DESCRIPTION\\System\\CentralProcessor" ascii
$str04 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" ascii
$str05 = "%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb" ascii
$str06 = "\\CC\\%s_%s.txt" ascii
$str07 = "\\Autofill\\%s_%s.txt" ascii
$str08 = "\\History\\%s_%s.txt" ascii
$str09 = "\\Downloads\\%s_%s.txt" ascii
$str10 = "Content-Disposition: form-data; name=" ascii
$str11 = "Exodus\\exodus.wallet" ascii
$str12 = "*%DRIVE_REMOVABLE%*" ascii
$opc = {55 8b ec 51 56 8b 75 ?? 33 c0 c7 46 14 ?? ?? ?? ?? 89 46 ?? 68 ?? ?? ?? ?? 8b ce 89 45 ?? 88 06 e8 1f b6 ff ff 8b c6 5e c9 c2 ?? ??}
condition:
uint16( 0 ) == 0x5A4D and ( 7 of them or $opc )
}
Strings (13 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "vcruntime140.dll" | ascii |
| $str02 | text | "\\screenshot.jpg" | ascii |
| $str03 | text | "HARDWARE\\DESCRIPTION\\System\\CentralProcessor" | ascii |
| $str04 | text | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" | ascii |
| $str05 | text | "%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb" | ascii |
| $str06 | text | "\\CC\\%s_%s.txt" | ascii |
| $str07 | text | "\\Autofill\\%s_%s.txt" | ascii |
| $str08 | text | "\\History\\%s_%s.txt" | ascii |
| $str09 | text | "\\Downloads\\%s_%s.txt" | ascii |
| $str10 | text | "Content-Disposition: form-data; name=" | ascii |
| $str11 | text | "Exodus\\exodus.wallet" | ascii |
| $str12 | text | "*%DRIVE_REMOVABLE%*" | ascii |
| $opc | hex | {55 8b ec 51 56 8b 75 ?? 33 c0 c7 46 14 ?? ?? ?? ?? 89 46 ?? 68 ?? ?? ?? ?? 8b ce 89 45 ?? 88 06 e8 1f b6 ff ff 8b c6 5e c9 c2 ?? ??} |
Condition
uint16( 0 ) == 0x5A4D and ( 7 of them or $opc )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 7 patterns in the rule must match.
- Pattern $opc 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: 1dc18694-aaac-41e6-979a-c06d5d62f5ea
Metadata
| version | 1.0 |
|---|---|
| modification_date | 2022-08-23 |
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-11-10
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- RUSSIANPANDA_Vidar_DLL_EmbeddedMetadata onlyMalwareRussianPanda· RussianPanda· 2023-05-02
- ARTIFACTDROP_Go_Reflectiveloader_Decryption_LoopMetadata onlyMalwareartifact-drop· Matthieu Gras· 2025-12-17
- 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