YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Vidar_Strings_Nov23
Finds Vidar samples based on the specific strings
- Author
- Sekoia.io
- Date
- 2023-11-10
- Modified
- 2024-12-19
- Score / Quality
- 75 / 80
What this rule detects
Finds Vidar samples based on the specific strings
Associated malware family: Vidar.
Targets: Windows PE.
It defines 18 patterns (18 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
infostealer-win-vidar-strings-nov23.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Vidar_Strings_Nov23 : FILE
{
meta:
= "Finds Vidar samples based on the specific strings"
= "Sekoia.io"
= "b2c17627-f9b8-4401-b657-1cce560edc76"
= "2023-11-10"
= "2024-12-19"
= "https://twitter.com/crep1x/status/1722652451319202242"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_vidar_strings_nov23.yar#L1-L33"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "1a2fc421fb4058b78de28d97d69b126e685f7677b7998f5b6ae3cbcee0ef3f00"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "MachineID:" ascii
$str02 = "Work Dir: In memory" ascii
$str03 = "[Hardware]" ascii
$str04 = "VideoCard:" ascii
$str05 = "[Processes]" ascii
$str06 = "[Software]" ascii
$str07 = "information.txt" ascii
$str08 = "%s\\*" ascii
$str09 = "Select * From AntiVirusProduct" ascii
$str10 = "SELECT target_path, tab_url from downloads" ascii
$str11 = "Software\\Martin Prikryl\\WinSCP 2\\Configuration" ascii
$str12 = "UseMasterPassword" ascii
$str13 = "Soft: WinSCP" ascii
$str14 = "<Pass encoding=\"base64\">" ascii
$str15 = "Soft: FileZilla" ascii
$str16 = "passwords.txt" ascii
$str17 = "build_id" ascii
$str18 = "file_data" ascii
condition:
uint16( 0 ) == 0x5A4D and 10 of ( $str* )
}
Strings (18 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $str01 | text | "MachineID:" | ascii |
| $str02 | text | "Work Dir: In memory" | ascii |
| $str03 | text | "[Hardware]" | ascii |
| $str04 | text | "VideoCard:" | ascii |
| $str05 | text | "[Processes]" | ascii |
| $str06 | text | "[Software]" | ascii |
| $str07 | text | "information.txt" | ascii |
| $str08 | text | "%s\\*" | ascii |
| $str09 | text | "Select * From AntiVirusProduct" | ascii |
| $str10 | text | "SELECT target_path, tab_url from downloads" | ascii |
| $str11 | text | "Software\\Martin Prikryl\\WinSCP 2\\Configuration" | ascii |
| $str12 | text | "UseMasterPassword" | ascii |
| $str13 | text | "Soft: WinSCP" | ascii |
| $str14 | text | "<Pass encoding=\"base64\">" | ascii |
| $str15 | text | "Soft: FileZilla" | ascii |
| $str16 | text | "passwords.txt" | ascii |
| $str17 | text | "build_id" | ascii |
| $str18 | text | "file_data" | ascii |
Condition
uint16( 0 ) == 0x5A4D and 10 of ( $str* )In plain words (Heuristic)
- The file must start with “MZ” — a Windows executable (PE).
- At least 10 patterns in ( $str* ) 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.
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: b2c17627-f9b8-4401-b657-1cce560edc76
Metadata
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Related rules
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-07-26
- 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