YARA · SEKOIA.IO Community
SEKOIA_Infostealer_Win_Vidar_Str_Jul22
Detect the Vidar infostealer based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2022-07-26
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the Vidar infostealer based on specific strings
Familia de malware asociada: Vidar.
Objetivos: PE de Windows.
Define 13 patrones (12 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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 )
}
Cadenas (13 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "vcruntime140.dll" | ascii |
| $str02 | texto | "\\screenshot.jpg" | ascii |
| $str03 | texto | "HARDWARE\\DESCRIPTION\\System\\CentralProcessor" | ascii |
| $str04 | texto | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall" | ascii |
| $str05 | texto | "%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb" | ascii |
| $str06 | texto | "\\CC\\%s_%s.txt" | ascii |
| $str07 | texto | "\\Autofill\\%s_%s.txt" | ascii |
| $str08 | texto | "\\History\\%s_%s.txt" | ascii |
| $str09 | texto | "\\Downloads\\%s_%s.txt" | ascii |
| $str10 | texto | "Content-Disposition: form-data; name=" | ascii |
| $str11 | texto | "Exodus\\exodus.wallet" | ascii |
| $str12 | texto | "*%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 ?? ??} |
Condición
uint16( 0 ) == 0x5A4D and ( 7 of them or $opc )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 7 patrones de la regla.
- El patrón $opc debe estar presente.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 1dc18694-aaac-41e6-979a-c06d5d62f5ea
Metadatos
| version | 1.0 |
|---|---|
| modification_date | 2022-08-23 |
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-11-10
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- RUSSIANPANDA_Vidar_DLL_EmbeddedSolo metadatosMalwareRussianPanda· RussianPanda· 2023-05-02
- ARTIFACTDROP_Go_Reflectiveloader_Decryption_LoopSolo metadatosMalwareartifact-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