Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Solarmarker_Dll

Finds SolarMarker DLL based on characteristic strings

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

Ce que détecte cette règle

Finds SolarMarker DLL based on characteristic strings

Famille de malware associée : Solarmarker.

Cibles : PE Windows.

Elle définit 11 motifs (11 texte, 0 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-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
}

Chaînes (11 motifs)

IdentifiantTypeValeurModificateurs
$zkatexte"zkabsr"wide
$str0texte"set_PersistKeyInCsp"ascii
$str1texte"get_IV"ascii
$str2texte"get_MachineName"ascii
$str3texte"get_Current"ascii
$str4texte"ps_script"ascii
$str5texte"request_data"ascii
$str6texte"WindowsBuiltInRole"ascii
$str7texte"DllImportAttribute"ascii
$str8texte"get_BlockSize"ascii
$str9texte"GetRequestStream"ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Tous les motifs de ( $str* ) doivent être trouvés.
  • Au moins 3 motifs de ( $str* ) doivent être trouvés.
  • Le motif $zka 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: a2fe7f09-7134-4054-ba40-5ea66785a26c

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Solarmarker