Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_S05Kitty

Sector05 Kitty RAT payload

MalwareS05KittyditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 75

Ce que détecte cette règle

Sector05 Kitty RAT payload

Famille de malware associée : S05Kitty.

Cibles : PE Windows.

Elle définit 14 motifs (14 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

malware-win-s05kitty.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_S05Kitty : FILE
{
	meta:
		description = "Sector05 Kitty RAT payload"
		author = "ditekSHen"
		id = "3261f6b6-21e7-5195-98db-9607ba530572"
		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#L1024-L1045"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "df2930694671c9ca16f2afeb799704647c9acf32be118706c342347ffe8ceb36"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Execute Comand" ascii
		$s2 = "InjectExplorer" ascii
		$s3 = "targetProcess = %s" fullword ascii
		$s4 = "Process attach (%s)" fullword ascii
		$s5 = "process name: %s" fullword ascii
		$s6 = "cmd /c %s >%s" fullword ascii
		$s7 = "CmdDown: %s, failed" fullword ascii
		$s8 = "http://%s%s/%s" fullword ascii
		$s9 = "tmp.LOG" fullword ascii
		$x1 = "zerodll.dll" fullword ascii
		$x2 = "OneDll.dll" fullword ascii
		$x3 = "kkd.bat" fullword ascii
		$x4 = "%s\\regsvr32.exe /s \"%s\"" fullword ascii
		$x5 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or all of ( $x* ) )
}

Chaînes (14 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"Execute Comand"ascii
$s2texte"InjectExplorer"ascii
$s3texte"targetProcess = %s"fullword ascii
$s4texte"Process attach (%s)"fullword ascii
$s5texte"process name: %s"fullword ascii
$s6texte"cmd /c %s >%s"fullword ascii
$s7texte"CmdDown: %s, failed"fullword ascii
$s8texte"http://%s%s/%s"fullword ascii
$s9texte"tmp.LOG"fullword ascii
$x1texte"zerodll.dll"fullword ascii
$x2texte"OneDll.dll"fullword ascii
$x3texte"kkd.bat"fullword ascii
$x4texte"%s\\regsvr32.exe /s \"%s\""fullword ascii
$x5texte"\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and ( 8 of ( $s* ) or all of ( $x* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $x* ) doivent être trouvés.
  • Au moins 8 motifs de ( $s* ) 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 : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 3261f6b6-21e7-5195-98db-9607ba530572

Tags:FILE