Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Darktrackrat

Detects OzoneRAT / DarkTrack / DarkSky

MalwareDarktrackratditekSHen 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

Detects OzoneRAT / DarkTrack / DarkSky

Famille de malware associée : Darktrackrat.

Cibles : PE Windows.

Elle définit 16 motifs (15 texte, 1 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-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* ) )
}

Chaînes (16 motifs)

IdentifiantTypeValeurModificateurs
$x1texte"Klog.dat"ascii
$x2texte"I_AM_DT"ascii
$x3texte" Alien"ascii
$x4texte"Local Victim"ascii
$x5texte"Dtback\\AlienEdition\\Server\\SuperObject.pas"ascii
$x6texte"].encryptedUsername"ascii
$x7texte"].encryptedPassword"ascii
$x8hex{ 49 41 4d [6] 44 41 52 [0-2] 4b [6] 44 54 41 43 4b }
$s1texte"AntiVirusProduct"ascii
$s2texte"AntiSpywareProduct"ascii
$s3texte"ConnectServer"ascii
$s4texte"ExecQuery"ascii
$s5texte"\\Drivers\\Etc\\Hosts"fullword ascii
$s6texte"BTMemoryLoadLibary: Get DLLEntyPoint"ascii
$s7texte"\\\\.\\SyserDbgMsg"fullword ascii
$s8texte"\\\\.\\SyserBoot"fullword ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 4 motifs de ( $x* ) doivent être trouvés.
  • Au moins 6 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: ef8675f8-f643-5948-a967-e4a9ce5ab89e

Tags:FILE