YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Darktrackrat
Detects OzoneRAT / DarkTrack / DarkSky
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects OzoneRAT / DarkTrack / DarkSky
Familia de malware asociada: Darktrackrat.
Objetivos: PE de Windows.
Define 16 patrones (15 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Darktrackrat : FILE
{
meta:
= "Detects OzoneRAT / DarkTrack / DarkSky"
= "ditekSHen"
= "ef8675f8-f643-5948-a967-e4a9ce5ab89e"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5222-L5245"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "2a831c0f7707864d8c9e9fa338085a52933869d8cfbdbe0d12715da301c12646"
= 75
= 75
= "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* ) )
}
Cadenas (16 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "Klog.dat" | ascii |
| $x2 | texto | "I_AM_DT" | ascii |
| $x3 | texto | " Alien" | ascii |
| $x4 | texto | "Local Victim" | ascii |
| $x5 | texto | "Dtback\\AlienEdition\\Server\\SuperObject.pas" | ascii |
| $x6 | texto | "].encryptedUsername" | ascii |
| $x7 | texto | "].encryptedPassword" | ascii |
| $x8 | hex | { 49 41 4d [6] 44 41 52 [0-2] 4b [6] 44 54 41 43 4b } | |
| $s1 | texto | "AntiVirusProduct" | ascii |
| $s2 | texto | "AntiSpywareProduct" | ascii |
| $s3 | texto | "ConnectServer" | ascii |
| $s4 | texto | "ExecQuery" | ascii |
| $s5 | texto | "\\Drivers\\Etc\\Hosts" | fullword ascii |
| $s6 | texto | "BTMemoryLoadLibary: Get DLLEntyPoint" | ascii |
| $s7 | texto | "\\\\.\\SyserDbgMsg" | fullword ascii |
| $s8 | texto | "\\\\.\\SyserBoot" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 4 of ( $x* ) or 6 of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 4 patrones de ( $x* ).
- Deben coincidir al menos 6 patrones de ( $s* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: ef8675f8-f643-5948-a967-e4a9ce5ab89e
Etiquetas:FILE
Reglas relacionadas
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06