YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Klogexe
Detects KLogExe
- Autor
- ditekshen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
Detects KLogExe
Familia de malware asociada: Klogexe.
Objetivos: PE de Windows.
Define 11 patrones (11 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
malware-win-klogexe.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Klogexe : FILE
{
meta:
= "Detects KLogExe"
= "ditekshen"
= "8c3ebc2c-717b-5c42-9233-274006d4331b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11918-L11937"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "1f1809b83dc468122022b68d63734ba1597c6fede01582c31d1700ca0b9e1e22"
= 75
= 73
= "FILE"
= "MALWARE.Win.Trojan.KLogExe"
strings:
$s1 = "[clip_s]: %s" ascii
$s2 = "------ %d/%d/%d : %d/%d ------" ascii
$s3 = "[RWin+]" ascii
$s4 = "[Too many clip_tail]" ascii
$s5 = "name=\"userfile\"; filename=\"%s\"" ascii
$s6 = "Origin: http://" wide
$s7 = "%s_%d_%d_%d_%d" wide
$s8 = "/wp-content/include.php?_sys_" wide
$s9 = "\\desktops.ini" wide
$s10 = "KLogExe" wide nocase
$s11 = "dynamic_import.cpp [resolve_call] can`nt" wide
condition:
uint16( 0 ) == 0x5a4d and 6 of them
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "[clip_s]: %s" | ascii |
| $s2 | texto | "------ %d/%d/%d : %d/%d ------" | ascii |
| $s3 | texto | "[RWin+]" | ascii |
| $s4 | texto | "[Too many clip_tail]" | ascii |
| $s5 | texto | "name=\"userfile\"; filename=\"%s\"" | ascii |
| $s6 | texto | "Origin: http://" | wide |
| $s7 | texto | "%s_%d_%d_%d_%d" | wide |
| $s8 | texto | "/wp-content/include.php?_sys_" | wide |
| $s9 | texto | "\\desktops.ini" | wide |
| $s10 | texto | "KLogExe" | wide nocase |
| $s11 | texto | "dynamic_import.cpp [resolve_call] can`nt" | wide |
Condición
uint16( 0 ) == 0x5a4d and 6 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 6 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: 8c3ebc2c-717b-5c42-9233-274006d4331b
Metadatos
| clamav1 | MALWARE.Win.Trojan.KLogExe |
|---|
Etiquetas:FILE
Reglas relacionadas
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- 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