Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Vidar_Str_Jul22

Detect the Vidar infostealer based on specific strings

MalwareVidarSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-07-26
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detect the Vidar infostealer based on specific strings

Zugehörige Malware-Familie: Vidar.

Ziele: Windows-PE.

Sie definiert 13 Muster (12 Text, 1 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$str01Text"vcruntime140.dll"ascii
$str02Text"\\screenshot.jpg"ascii
$str03Text"HARDWARE\\DESCRIPTION\\System\\CentralProcessor"ascii
$str04Text"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall"ascii
$str05Text"%s\\%s\\%s\\chrome-extension_%s_0.indexeddb.leveldb"ascii
$str06Text"\\CC\\%s_%s.txt"ascii
$str07Text"\\Autofill\\%s_%s.txt"ascii
$str08Text"\\History\\%s_%s.txt"ascii
$str09Text"\\Downloads\\%s_%s.txt"ascii
$str10Text"Content-Disposition: form-data; name="ascii
$str11Text"Exodus\\exodus.wallet"ascii
$str12Text"*%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 ?? ??}

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 7 Muster aus der Regel müssen treffen.
  • Muster $opc muss vorhanden sein.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 1dc18694-aaac-41e6-979a-c06d5d62f5ea

Metadaten

version1.0
modification_date2022-08-23
classificationTLP:CLEAR

Tags:FILE

Weitere Vidar-Regeln