Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Darktrackrat

Detects OzoneRAT / DarkTrack / DarkSky

MalwareDarktrackratditekSHen 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 OzoneRAT / DarkTrack / DarkSky

Zugehörige Malware-Familie: Darktrackrat.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-darktrackrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Darktrackrat : FILE
{
	meta:
		description = "Detects OzoneRAT / DarkTrack / DarkSky"
		author = "ditekSHen"
		id = "ef8675f8-f643-5948-a967-e4a9ce5ab89e"
		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#L5222-L5245"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "2a831c0f7707864d8c9e9fa338085a52933869d8cfbdbe0d12715da301c12646"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "Klog.dat" ascii
		$x2 = "I_AM_DT" ascii
		$x3 = " Alien" ascii
		$x4 = "Local Victim" ascii
		$x5 = "Dtback\\AlienEdition\\Server\\SuperObject.pas" ascii
		$x6 = "].encryptedUsername" ascii
		$x7 = "].encryptedPassword" ascii
		$x8 = { 49 41 4d [6] 44 41 52 [0-2] 4b [6] 44 54 41 43 4b }
		$s1 = "AntiVirusProduct" ascii
		$s2 = "AntiSpywareProduct" ascii
		$s3 = "ConnectServer" ascii
		$s4 = "ExecQuery" ascii
		$s5 = "\\Drivers\\Etc\\Hosts" fullword ascii
		$s6 = "BTMemoryLoadLibary: Get DLLEntyPoint" ascii
		$s7 = "\\\\.\\SyserDbgMsg" fullword ascii
		$s8 = "\\\\.\\SyserBoot" fullword ascii

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

Strings (16 Muster)

BezeichnerTypWertModifikatoren
$x1Text"Klog.dat"ascii
$x2Text"I_AM_DT"ascii
$x3Text" Alien"ascii
$x4Text"Local Victim"ascii
$x5Text"Dtback\\AlienEdition\\Server\\SuperObject.pas"ascii
$x6Text"].encryptedUsername"ascii
$x7Text"].encryptedPassword"ascii
$x8Hex{ 49 41 4d [6] 44 41 52 [0-2] 4b [6] 44 54 41 43 4b }
$s1Text"AntiVirusProduct"ascii
$s2Text"AntiSpywareProduct"ascii
$s3Text"ConnectServer"ascii
$s4Text"ExecQuery"ascii
$s5Text"\\Drivers\\Etc\\Hosts"fullword ascii
$s6Text"BTMemoryLoadLibary: Get DLLEntyPoint"ascii
$s7Text"\\\\.\\SyserDbgMsg"fullword ascii
$s8Text"\\\\.\\SyserBoot"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or 6 of ( $s* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 4 Muster aus ( $x* ) müssen treffen.
  • Mindestens 6 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: ef8675f8-f643-5948-a967-e4a9ce5ab89e

Tags:FILE