Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Solarmarker_Dll

Finds SolarMarker DLL based on characteristic strings

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

Was diese Regel erkennt

Finds SolarMarker DLL based on characteristic strings

Zugehörige Malware-Familie: Solarmarker.

Ziele: Windows-PE.

Sie definiert 11 Muster (11 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

infostealer-win-solarmarker-dll.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Solarmarker_Dll : FILE
{
	meta:
		description = "Finds SolarMarker DLL based on characteristic strings"
		author = "Sekoia.io"
		id = "a2fe7f09-7134-4054-ba40-5ea66785a26c"
		date = "2022-12-09"
		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_solarmarker_dll.yar#L1-L28"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "5be0a95adb7e486cdec5f0e8433afed41516fc1a990e1d1ba00db7e8fb32dbbb"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$zka = "zkabsr" wide
		$str0 = "set_PersistKeyInCsp" ascii
		$str1 = "get_IV" ascii
		$str2 = "get_MachineName" ascii
		$str3 = "get_Current" ascii
		$str4 = "ps_script" ascii
		$str5 = "request_data" ascii
		$str6 = "WindowsBuiltInRole" ascii
		$str7 = "DllImportAttribute" ascii
		$str8 = "get_BlockSize" ascii
		$str9 = "GetRequestStream" ascii

	condition:
		uint16( 0 ) == 0x5A4D and ( ( $zka and 3 of ( $str* ) ) or ( all of ( $str* ) ) ) and filesize < 1MB
}

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$zkaText"zkabsr"wide
$str0Text"set_PersistKeyInCsp"ascii
$str1Text"get_IV"ascii
$str2Text"get_MachineName"ascii
$str3Text"get_Current"ascii
$str4Text"ps_script"ascii
$str5Text"request_data"ascii
$str6Text"WindowsBuiltInRole"ascii
$str7Text"DllImportAttribute"ascii
$str8Text"get_BlockSize"ascii
$str9Text"GetRequestStream"ascii

Bedingung

uint16( 0 ) == 0x5A4D and ( ( $zka and 3 of ( $str* ) ) or ( all of ( $str* ) ) ) and filesize < 1MB

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 1MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Alle Muster aus ( $str* ) müssen treffen.
  • Mindestens 3 Muster aus ( $str* ) müssen treffen.
  • Muster $zka 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: a2fe7f09-7134-4054-ba40-5ea66785a26c

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Solarmarker-Regeln