YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Dlinjector04
Detects downloader / injector
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects downloader / injector
Familia de malware asociada: Dlinjector04.
Objetivos: PE de Windows.
Define 14 patrones (14 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_Dlinjector04 : FILE
{
meta:
= "Detects downloader / injector"
= "ditekSHen"
= "fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7769-L7790"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "ab9a047e53dec2cc5986522636783b5cb8aae7fc0297292d017ec22ee5750cce"
= 75
= 75
= "FILE"
strings:
$s1 = "Runner" fullword ascii
$s2 = "DownloadPayload" fullword ascii
$s3 = "RunOnStartup" fullword ascii
$a1 = "Antis" fullword ascii
$a2 = "antiVM" fullword ascii
$a3 = "antiSandbox" fullword ascii
$a4 = "antiDebug" fullword ascii
$a5 = "antiEmulator" fullword ascii
$a6 = "enablePersistence" fullword ascii
$a7 = "enableFakeError" fullword ascii
$a8 = "DetectVirtualMachine" fullword ascii
$a9 = "DetectSandboxie" fullword ascii
$a10 = "DetectDebugger" fullword ascii
$a11 = "CheckEmulator" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )
}
Cadenas (14 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "Runner" | fullword ascii |
| $s2 | texto | "DownloadPayload" | fullword ascii |
| $s3 | texto | "RunOnStartup" | fullword ascii |
| $a1 | texto | "Antis" | fullword ascii |
| $a2 | texto | "antiVM" | fullword ascii |
| $a3 | texto | "antiSandbox" | fullword ascii |
| $a4 | texto | "antiDebug" | fullword ascii |
| $a5 | texto | "antiEmulator" | fullword ascii |
| $a6 | texto | "enablePersistence" | fullword ascii |
| $a7 | texto | "enableFakeError" | fullword ascii |
| $a8 | texto | "DetectVirtualMachine" | fullword ascii |
| $a9 | texto | "DetectSandboxie" | fullword ascii |
| $a10 | texto | "DetectDebugger" | fullword ascii |
| $a11 | texto | "CheckEmulator" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 5 patrones de ( $a* ).
- Deben coincidir al menos 10 patrones de ( $a* ).
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: fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b
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