Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stealerium

Detects Stealerium based on specific strings

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

Ce que détecte cette règle

Detects Stealerium based on specific strings

Famille de malware associée : Stealerium.

Cibles : PE Windows.

Elle définit 21 motifs (21 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-stealerium.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stealerium : FILE
{
	meta:
		description = "Detects Stealerium based on specific strings"
		author = "Sekoia.io"
		id = "165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5"
		date = "2022-12-01"
		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_stealerium.yar#L1-L36"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "f420848164ad4b6966f2a776a58d90b7d70c8b151a42d6f56b654f1700b5e564"
		score = 75
		quality = 78
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$stl = "Stealerium" ascii wide
		$str01 = "Processe: " wide
		$str02 = "Compname: " wide
		$str03 = "Language: " wide
		$str04 = "SandBoxie: " wide
		$str05 = "== System Info ==" wide
		$str06 = "== Hardware ==" wide
		$str07 = "== Domains ==" wide
		$str08 = "WEBCAMS COUNT: " wide
		$str09 = "[Virtualization]" wide
		$str10 = "[Open google maps](" wide
		$str11 = "Remember password: " wide
		$str12 = "Target.Browsers.Firefox" ascii
		$str13 = "Modules.Keylogger" ascii
		$str14 = "ClipperAddresses" ascii
		$str15 = "ChromiumPswPaths" ascii
		$str16 = "DetectedBankingServices" ascii
		$str17 = "DetectCryptocurrencyServices" ascii
		$str18 = "CheckRemoteDebuggerPresent" ascii
		$str19 = "GetConnectedCamerasCount" ascii
		$str20 = "costura.discord-webhook-client.dll.compressed" ascii wide

	condition:
		uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )
}

Chaînes (21 motifs)

IdentifiantTypeValeurModificateurs
$stltexte"Stealerium"ascii wide
$str01texte"Processe: "wide
$str02texte"Compname: "wide
$str03texte"Language: "wide
$str04texte"SandBoxie: "wide
$str05texte"== System Info =="wide
$str06texte"== Hardware =="wide
$str07texte"== Domains =="wide
$str08texte"WEBCAMS COUNT: "wide
$str09texte"[Virtualization]"wide
$str10texte"[Open google maps]("wide
$str11texte"Remember password: "wide
$str12texte"Target.Browsers.Firefox"ascii
$str13texte"Modules.Keylogger"ascii
$str14texte"ClipperAddresses"ascii
$str15texte"ChromiumPswPaths"ascii
$str16texte"DetectedBankingServices"ascii
$str17texte"DetectCryptocurrencyServices"ascii
$str18texte"CheckRemoteDebuggerPresent"ascii
$str19texte"GetConnectedCamerasCount"ascii
$str20texte"costura.discord-webhook-client.dll.compressed"ascii wide

Condition

uint16( 0 ) == 0x5A4D and filesize > 1MB and ( ( #stl > 5 and 2 of ( $str* ) ) or 15 of ( $str* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire plus de 1MB.
  • Au moins 2 motifs de ( $str* ) doivent être trouvés.
  • Au moins 15 motifs de ( $str* ) doivent être trouvés.
  • Le motif $stl doit apparaître > 5 fois.

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: 165c7d3d-de7e-4d71-b94a-8ab4a0e5ddd5

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE