Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stormkitty

Finds StormKitty samples (or their variants) based on specific strings

MalwareStormkittySEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2023-03-29
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Finds StormKitty samples (or their variants) based on specific strings

Famille de malware associée : Stormkitty.

Cibles : PE Windows.

Elle définit 15 motifs (15 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-stormkitty.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Stormkitty : FILE
{
	meta:
		description = "Finds StormKitty samples (or their variants) based on specific strings"
		author = "Sekoia.io"
		id = "5014d2e5-af5c-4800-ab1e-b57de37a2450"
		date = "2023-03-29"
		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_stormkitty.yar#L1-L31"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "57a4603faf6af9742db79f9bc8751f3a5c091b6271998434f0a3b9f5c30cb1e8"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$sk01 = "LimerBoy/StormKitty" ascii wide
		$sk02 = "StormKitty-Latest.log" wide
		$sk03 = "StormKitty.exe" ascii
		$sk04 = "Debug\\StormKitty.pdb" ascii
		$sk05 = "StormKitty.Implant" ascii
		$str01 = "set_sUsername" ascii
		$str02 = "set_sIsSecure" ascii
		$str03 = "set_sExpMonth" ascii
		$str04 = "WritePasswords" ascii
		$str05 = "WriteCookies" ascii
		$str06 = "sChromiumPswPaths" ascii
		$str07 = "sGeckoBrowserPaths" ascii
		$str08 = "Username: {1}" wide
		$str09 = "Password: {2}" wide
		$str10 = "encrypted_key\":\"(.*?)\"" wide

	condition:
		uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )
}

Chaînes (15 motifs)

IdentifiantTypeValeurModificateurs
$sk01texte"LimerBoy/StormKitty"ascii wide
$sk02texte"StormKitty-Latest.log"wide
$sk03texte"StormKitty.exe"ascii
$sk04texte"Debug\\StormKitty.pdb"ascii
$sk05texte"StormKitty.Implant"ascii
$str01texte"set_sUsername"ascii
$str02texte"set_sIsSecure"ascii
$str03texte"set_sExpMonth"ascii
$str04texte"WritePasswords"ascii
$str05texte"WriteCookies"ascii
$str06texte"sChromiumPswPaths"ascii
$str07texte"sGeckoBrowserPaths"ascii
$str08texte"Username: {1}"wide
$str09texte"Password: {2}"wide
$str10texte"encrypted_key\":\"(.*?)\""wide

Condition

uint16( 0 ) == 0x5A4D and ( ( 1 of ( $sk* ) and 3 of ( $str* ) ) or 7 of ( $str* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 1 motifs de ( $sk* ) doivent être trouvés.
  • Au moins 3 motifs de ( $str* ) doivent être trouvés.
  • Au moins 7 motifs de ( $str* ) 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: 5014d2e5-af5c-4800-ab1e-b57de37a2450

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Stormkitty