Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Vidar_Str_Jul22

Detect the Vidar infostealer based on specific strings

MalwareVidarSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
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:
		description = "Detect the Vidar infostealer based on specific strings"
		author = "Sekoia.io"
		id = "1dc18694-aaac-41e6-979a-c06d5d62f5ea"
		date = "2022-07-26"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_vidar_str_jul22.yar#L1-L29"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "394d148155d46753df188a252678c5ce9d0aa321da8907e74b844d5aa8494a47"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		modification_date = "2022-08-23"
		classification = "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)

IdentificadorTipoValorModificadores
$str01texto"vcruntime140.dll"ascii
$str02texto"\\screenshot.jpg"ascii
$str03texto"HARDWARE\\DESCRIPTION\\System\\CentralProcessor"ascii
$str04texto"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"ascii
$str05texto"%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb"ascii
$str06texto"\\CC\\%s_%s.txt"ascii
$str07texto"\\Autofill\\%s_%s.txt"ascii
$str08texto"\\History\\%s_%s.txt"ascii
$str09texto"\\Downloads\\%s_%s.txt"ascii
$str10texto"Content-Disposition: form-data; name="ascii
$str11texto"Exodus\\exodus.wallet"ascii
$str12texto"*%DRIVE_REMOVABLE%*"ascii
$opchex{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.

Abrir en el editor

Referencias

Licencia y atribución

Autor: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

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

version1.0
modification_date2022-08-23
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Vidar