YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Miniduke
Detects MiniDuke
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects MiniDuke
Familia de malware asociada: Miniduke.
Objetivos: PE de Windows.
Define 13 patrones (12 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
malware-win-miniduke.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Miniduke : FILE
{
meta:
= "Detects MiniDuke"
= "ditekSHen"
= "947cd414-d19d-5543-8961-94aef69cc94e"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3948-L3969"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c3ab139b4fda2ff9678ceecbdf5ac0c57536bd658f62aa9d19610028b0a5f92c"
= 75
= 75
= "FILE"
strings:
$s1 = "DefPipe" fullword ascii
$s2 = "term %5d" fullword ascii
$s3 = "pid %5d" fullword ascii
$s4 = "uptime %5d.%02dh" fullword ascii
$s5 = "login: %s\\%s" fullword ascii
$s6 = "Software\\Microsoft\\ApplicationManager" ascii
$s7 = { 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 }
$net1 = "salesappliances.com" ascii
$net2 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" fullword ascii
$net3 = "http://10." ascii
$net4 = "JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z" ascii
$net5 = "application/octet-stream" ascii
$net6 = "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )
}
Cadenas (13 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "DefPipe" | fullword ascii |
| $s2 | texto | "term %5d" | fullword ascii |
| $s3 | texto | "pid %5d" | fullword ascii |
| $s4 | texto | "uptime %5d.%02dh" | fullword ascii |
| $s5 | texto | "login: %s\\%s" | fullword ascii |
| $s6 | texto | "Software\\Microsoft\\ApplicationManager" | ascii |
| $s7 | hex | { 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 } | |
| $net1 | texto | "salesappliances.com" | ascii |
| $net2 | texto | "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" | fullword ascii |
| $net3 | texto | "http://10." | ascii |
| $net4 | texto | "JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z" | ascii |
| $net5 | texto | "application/octet-stream" | ascii |
| $net6 | texto | "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" | ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 4 patrones de ( $net* ).
- Deben coincidir al menos 7 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
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: 947cd414-d19d-5543-8961-94aef69cc94e
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