YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Konni
Konni payload
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Konni payload
Familia de malware asociada: Konni.
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-konni.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Konni : FILE
{
meta:
= "Konni payload"
= "ditekSHen"
= "86eae9f6-60b0-5720-8528-ddbe32b6d4a6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L512-L530"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d57c51f7ede28b74395e5e0fbcc5fd9247b3353330f3e549d5abf99bbd7a1b93"
= 75
= 75
= "FILE"
strings:
$s1 = "uplog.tmp" fullword wide
$s2 = "upfile.tmp" fullword wide
$s3 = "%s-log-%s" fullword ascii wide
$s4 = "%s-down" ascii wide
$s5 = "%s-file-%s" fullword ascii wide
$s6 = "\"rundll32.exe\" \"%s\" install" fullword wide
$s7 = "subject=%s&data=" fullword ascii
$s8 = "dll-x64.dll" fullword ascii
$s9 = "dll-x32.dll" fullword ascii
$pdb1 = "\\virus-dropper\\Release\\virus-dropper.pdb" ascii
$pdb2 = "\\virus-init\\Release\\virus-init.pdb" ascii
condition:
uint16( 0 ) == 0x5a4d and ( 7 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $pdb* ) ) )
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "uplog.tmp" | fullword wide |
| $s2 | texto | "upfile.tmp" | fullword wide |
| $s3 | texto | "%s-log-%s" | fullword ascii wide |
| $s4 | texto | "%s-down" | ascii wide |
| $s5 | texto | "%s-file-%s" | fullword ascii wide |
| $s6 | texto | "\"rundll32.exe\" \"%s\" install" | fullword wide |
| $s7 | texto | "subject=%s&data=" | fullword ascii |
| $s8 | texto | "dll-x64.dll" | fullword ascii |
| $s9 | texto | "dll-x32.dll" | fullword ascii |
| $pdb1 | texto | "\\virus-dropper\\Release\\virus-dropper.pdb" | ascii |
| $pdb2 | texto | "\\virus-init\\Release\\virus-init.pdb" | ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 7 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $pdb* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 7 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $pdb* ).
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: 86eae9f6-60b0-5720-8528-ddbe32b6d4a6
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-09-26
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-09-12
- APT / actorSEKOIA.IO Community· Sekoia.io· 2023-11-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2023-11-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2022-09-12
- MalwareditekSHen detection· ditekSHen· 2034-02-17