Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Vidar_Str_Jul22

Detect the Vidar infostealer based on specific strings

MalwareVidarSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2022-07-26
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detect the Vidar infostealer based on specific strings

Famille de malware associée : Vidar.

Cibles : PE Windows.

Elle définit 13 motifs (12 texte, 1 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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 )
}

Chaînes (13 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"vcruntime140.dll"ascii
$str02texte"\\screenshot.jpg"ascii
$str03texte"HARDWARE\\DESCRIPTION\\System\\CentralProcessor"ascii
$str04texte"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"ascii
$str05texte"%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb"ascii
$str06texte"\\CC\\%s_%s.txt"ascii
$str07texte"\\Autofill\\%s_%s.txt"ascii
$str08texte"\\History\\%s_%s.txt"ascii
$str09texte"\\Downloads\\%s_%s.txt"ascii
$str10texte"Content-Disposition: form-data; name="ascii
$str11texte"Exodus\\exodus.wallet"ascii
$str12texte"*%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 ?? ??}

Condition

uint16( 0 ) == 0x5A4D and ( 7 of them or $opc )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 7 motifs de la règle doivent être trouvés.
  • Le motif $opc doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 1dc18694-aaac-41e6-979a-c06d5d62f5ea

Métadonnées

version1.0
modification_date2022-08-23
classificationTLP:CLEAR

Tags:FILE

Plus de règles Vidar