Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_S05Kitty

Sector05 Kitty RAT payload

MalwareS05KittyditekSHen 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

Sector05 Kitty RAT payload

Zugehörige Malware-Familie: S05Kitty.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Execute Comand"ascii
$s2Text"InjectExplorer"ascii
$s3Text"targetProcess = %s"fullword ascii
$s4Text"Process attach (%s)"fullword ascii
$s5Text"process name: %s"fullword ascii
$s6Text"cmd /c %s >%s"fullword ascii
$s7Text"CmdDown: %s, failed"fullword ascii
$s8Text"http://%s%s/%s"fullword ascii
$s9Text"tmp.LOG"fullword ascii
$x1Text"zerodll.dll"fullword ascii
$x2Text"OneDll.dll"fullword ascii
$x3Text"kkd.bat"fullword ascii
$x4Text"%s\\regsvr32.exe /s \"%s\""fullword ascii
$x5Text"\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\fontchk.jse"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $x* ) müssen treffen.
  • Mindestens 8 Muster aus ( $s* ) 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: 3261f6b6-21e7-5195-98db-9607ba530572

Tags:FILE