Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stealc_Str_Oct24

Finds Stealc standalone samples (or dumps) based on the strings

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

Ce que détecte cette règle

Finds Stealc standalone samples (or dumps) based on the strings

Famille de malware associée : Stealc.

Cibles : PE Windows.

Elle définit 13 motifs (13 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-stealc-str-oct24.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stealc_Str_Oct24 : FILE
{
	meta:
		description = "Finds Stealc standalone samples (or dumps) based on the strings"
		author = "Sekoia.io"
		id = "7448fafe-206c-4f9c-b5a3-cbabec12a45b"
		date = "2024-10-20"
		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_stealc_str_oct24.yar#L1-L27"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "4f7fece81c3fe1e56b57aed4030b48331b53443a200799046fe84c895b591a71"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "-nop -c \"iex(New-Object Net.WebClient).DownloadString(" ascii
		$str02 = "Azure\\.IdentityService" ascii
		$str03 = "steam_tokens.txt" ascii
		$str04 = "\"encrypted_key\":\"" ascii
		$str05 = "prefs.js" ascii
		$str06 = "browser: FileZilla" ascii
		$str07 = "profile: null" ascii
		$str08 = "url:" ascii
		$str09 = "login:" ascii
		$str10 = "password:" ascii
		$str11 = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" ascii
		$str12 = "ChromeFuckNewCookies" ascii
		$str13 = "/c timeout /t 10 & del /f /q \"" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 9 of them
}

Chaînes (13 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"-nop -c \"iex(New-Object Net.WebClient).DownloadString("ascii
$str02texte"Azure\\.IdentityService"ascii
$str03texte"steam_tokens.txt"ascii
$str04texte"\"encrypted_key\":\""ascii
$str05texte"prefs.js"ascii
$str06texte"browser: FileZilla"ascii
$str07texte"profile: null"ascii
$str08texte"url:"ascii
$str09texte"login:"ascii
$str10texte"password:"ascii
$str11texte"C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe"ascii
$str12texte"ChromeFuckNewCookies"ascii
$str13texte"/c timeout /t 10 & del /f /q \""ascii

Condition

uint16( 0 ) == 0x5A4D and 9 of them

En clair (Heuristique)

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

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: 7448fafe-206c-4f9c-b5a3-cbabec12a45b

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Stealc