Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Stormkitty

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

MalwareStormkittySEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2023-03-29
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

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

Zugehörige Malware-Familie: Stormkitty.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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* ) )
}

Strings (15 Muster)

BezeichnerTypWertModifikatoren
$sk01Text"LimerBoy/StormKitty"ascii wide
$sk02Text"StormKitty-Latest.log"wide
$sk03Text"StormKitty.exe"ascii
$sk04Text"Debug\\StormKitty.pdb"ascii
$sk05Text"StormKitty.Implant"ascii
$str01Text"set_sUsername"ascii
$str02Text"set_sIsSecure"ascii
$str03Text"set_sExpMonth"ascii
$str04Text"WritePasswords"ascii
$str05Text"WriteCookies"ascii
$str06Text"sChromiumPswPaths"ascii
$str07Text"sGeckoBrowserPaths"ascii
$str08Text"Username: {1}"wide
$str09Text"Password: {2}"wide
$str10Text"encrypted_key\":\"(.*?)\""wide

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $sk* ) müssen treffen.
  • Mindestens 3 Muster aus ( $str* ) müssen treffen.
  • Mindestens 7 Muster aus ( $str* ) müssen treffen.

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: 5014d2e5-af5c-4800-ab1e-b57de37a2450

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Stormkitty-Regeln