YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nitol
Detects Nitol backdoor
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
Detects Nitol backdoor
Familia de malware asociada: Nitol.
Objetivos: PE de Windows.
Define 21 patrones (21 de texto, 0 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_Nitol : FILE
{
meta:
= "Detects Nitol backdoor"
= "ditekSHen"
= "d545f826-11ff-5d0f-9a95-8232b19d35b6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3676-L3704"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c0ddcd6179bea2f3af77ae198e07f55f62884e07a975623ae41bcec163060f89"
= 75
= 73
= "FILE"
strings:
$s1 = "%$#@!.aspGET ^&*().htmlGET" ascii
$s2 = "Applications\\iexplore.exe\\shell\\open\\command" fullword ascii
$s3 = "taskkill /f /im rundll32.exe" fullword ascii
$s4 = "\\Tencent\\Users\\*.*" fullword ascii
$s5 = "[Pause Break]" fullword ascii
$s6 = ":]%d-%d-%d %d:%d:%d" fullword ascii
$s7 = "GET %s HTTP/1.1" fullword ascii
$s8 = "GET %s%s HTTP/1.1" fullword ascii
$s9 = "Accept-Language: zh-cn" fullword ascii
$s10 = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 5.1)" fullword ascii
$s11 = "User-Agent:Mozilla/4.0 (compatible; MSIE %d.00; Windows NT %d.0; MyIE 3.01)" fullword ascii
$s12 = "User-Agent:Mozilla/4.0 (compatible; MSIE %d.0; Windows NT %d.1; SV1)" fullword ascii
$w1 = ".aspGET" ascii
$w2 = ".htmGET" ascii
$w3 = ".htmlGET" ascii
$domain = "www.xy999.com" fullword ascii
$v2_1 = "loglass" fullword ascii
$v2_2 = "rlehgs" fullword ascii
$v2_3 = "eherrali" fullword ascii
$v2_4 = "agesrlu" fullword ascii
$v2_5 = "lepejagas" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( all of ( $v2* ) ) or ( $domain and 3 of them ) or ( #w1 > 2 and #w2 > 2 and #w3 > 2 and 3 of ( $s* ) ) )
}
Cadenas (21 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "%$#@!.aspGET ^&*().htmlGET" | ascii |
| $s2 | texto | "Applications\\iexplore.exe\\shell\\open\\command" | fullword ascii |
| $s3 | texto | "taskkill /f /im rundll32.exe" | fullword ascii |
| $s4 | texto | "\\Tencent\\Users\\*.*" | fullword ascii |
| $s5 | texto | "[Pause Break]" | fullword ascii |
| $s6 | texto | ":]%d-%d-%d %d:%d:%d" | fullword ascii |
| $s7 | texto | "GET %s HTTP/1.1" | fullword ascii |
| $s8 | texto | "GET %s%s HTTP/1.1" | fullword ascii |
| $s9 | texto | "Accept-Language: zh-cn" | fullword ascii |
| $s10 | texto | "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 5.1)" | fullword ascii |
| $s11 | texto | "User-Agent:Mozilla/4.0 (compatible; MSIE %d.00; Windows NT %d.0; MyIE 3.01)" | fullword ascii |
| $s12 | texto | "User-Agent:Mozilla/4.0 (compatible; MSIE %d.0; Windows NT %d.1; SV1)" | fullword ascii |
| $w1 | texto | ".aspGET" | ascii |
| $w2 | texto | ".htmGET" | ascii |
| $w3 | texto | ".htmlGET" | ascii |
| $domain | texto | "www.xy999.com" | fullword ascii |
| $v2_1 | texto | "loglass" | fullword ascii |
| $v2_2 | texto | "rlehgs" | fullword ascii |
| $v2_3 | texto | "eherrali" | fullword ascii |
| $v2_4 | texto | "agesrlu" | fullword ascii |
| $v2_5 | texto | "lepejagas" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( all of ( $v2* ) ) or ( $domain and 3 of them ) or ( #w1 > 2 and #w2 > 2 and #w3 > 2 and 3 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $v2* ).
- Deben coincidir al menos 5 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de la regla.
- Deben coincidir al menos 3 patrones de ( $s* ).
- El patrón $w1 debe aparecer > 2 veces.
- El patrón $w2 debe aparecer > 2 veces.
- El patrón $w3 debe aparecer > 2 veces.
- El patrón $domain debe estar presente.
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: d545f826-11ff-5d0f-9a95-8232b19d35b6
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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