Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Stormkitty

Detects StormKitty infostealer

MalwareStormkittyditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects StormKitty infostealer

Zugehörige Malware-Familie: Stormkitty.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-stormkitty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Stormkitty : FILE
{
	meta:
		description = "Detects StormKitty infostealer"
		author = "ditekSHen"
		id = "a061a1c0-9ed5-5048-85df-4d7ed6995e92"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2252-L2269"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "5d139aad6932f177cd14e0356f822ad68ddc659ea4fabd2fd2fbcbc8bad58888"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Trojan.StormKitty"

	strings:
		$x1 = "\\ARTIKA\\Videos\\Chrome-Password-Recovery" ascii
		$x2 = "https://github.com/LimerBoy/StormKitty" fullword ascii
		$x3 = "StormKitty" fullword ascii
		$s1 = "GetBSSID" fullword ascii
		$s2 = "GetAntivirus" fullword ascii
		$s3 = "C:\\Users\\Public\\credentials.txt" fullword wide
		$s4 = "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" fullword wide
		$s5 = "BCrypt.BCryptGetProperty() (get size) failed with status code:{0}" fullword wide
		$s6 = "\"encrypted_key\":\"(.*?)\"" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $x* ) ) )
}

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$x1Text"\\ARTIKA\\Videos\\Chrome-Password-Recovery"ascii
$x2Text"https://github.com/LimerBoy/StormKitty"fullword ascii
$x3Text"StormKitty"fullword ascii
$s1Text"GetBSSID"fullword ascii
$s2Text"GetAntivirus"fullword ascii
$s3Text"C:\\Users\\Public\\credentials.txt"fullword wide
$s4Text"^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"fullword wide
$s5Text"BCrypt.BCryptGetProperty() (get size) failed with status code:{0}"fullword wide
$s6Text"\"encrypted_key\":\"(.*?)\""fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $x* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) 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: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: a061a1c0-9ed5-5048-85df-4d7ed6995e92

Metadaten

clamav_sigMALWARE.Win.Trojan.StormKitty

Tags:FILE

Weitere Stormkitty-Regeln