YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Darkeye
Detects DarkEye infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects DarkEye infostealer
Familia de malware asociada: Darkeye.
Objetivos: PE de Windows.
Define 12 patrones (10 de texto, 0 hex, 2 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Darkeye : FILE
{
meta:
= "Detects DarkEye infostealer"
= "ditekSHen"
= "5296fe28-b54e-5d0f-aa2f-2050db585d82"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9751-L9770"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5496dcbfe075a4030a446027765186e9dd1931561a29a481139281e1708ce87d"
= 75
= 75
= "FILE"
strings:
$c1 = /Prynt(\s)?Stealer/ ascii wide
$c2 = /WorldWind(\s)?Stealer/ ascii wide
$c3 = "ToxicEye" ascii wide
$x2 = "@FlatLineStealer" ascii wide
$x3 = "@CashOutGangTalk" ascii wide
$s1 = "--- Clipper" wide
$s2 = "Downloading file: \"{file}\"" wide
$s3 = "/bot{0}/getUpdates?offset={1}" wide
$s4 = "send command to bot!" wide
$s5 = " *Keylogger " fullword wide
$s6 = "*Stealer" wide
$s7 = "Bot connected" wide
condition:
uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )
}
Cadenas (12 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $c1 | regex | /Prynt(\s)?Stealer/ | ascii wide |
| $c2 | regex | /WorldWind(\s)?Stealer/ | ascii wide |
| $c3 | texto | "ToxicEye" | ascii wide |
| $x2 | texto | "@FlatLineStealer" | ascii wide |
| $x3 | texto | "@CashOutGangTalk" | ascii wide |
| $s1 | texto | "--- Clipper" | wide |
| $s2 | texto | "Downloading file: \"{file}\"" | wide |
| $s3 | texto | "/bot{0}/getUpdates?offset={1}" | wide |
| $s4 | texto | "send command to bot!" | wide |
| $s5 | texto | " *Keylogger " | fullword wide |
| $s6 | texto | "*Stealer" | wide |
| $s7 | texto | "Bot connected" | wide |
Condición
uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Debe coincidir al menos un patrón de ( $c* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 2 patrones de ( $s* ).
- Deben coincidir al menos 4 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: 5296fe28-b54e-5d0f-aa2f-2050db585d82
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- 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