YARA · SEKOIA.IO Community
SEKOIA_Kimsuky_Konni_Dll
Rule based on structure offset and file extension
- Autor
- Sekoia.io
- Fecha
- 2022-09-12
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Rule based on structure offset and file extension
Familia de malware asociada: Kimsuky, Konni.
Objetivos: PE de Windows.
Define 14 patrones (5 de texto, 9 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
kimsuky-konni-dll.yarDetection Rule License 1.1
rule SEKOIA_Kimsuky_Konni_Dll : FILE
{
meta:
= "Rule based on structure offset and file extension"
= "Sekoia.io"
= "6a20c492-e932-41bd-ac4a-01d35bfb0c49"
= "2022-09-12"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/kimsuky_konni_dll.yar#L1-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "7099156decdfe35cde22958133d851479f12180fff7b5744af0c549ab8259636"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ext_1 = ".zip" wide ascii fullword
$ext_2 = ".cab" wide ascii fullword
$ext_3 = ".rar" wide ascii fullword
$ext_4 = ".ini" wide ascii fullword
$ext_5 = ".dat" wide ascii fullword
$offset_structure_1 = { 8d ?? 08 02 00 00 }
$offset_structure_2 = { 8d ?? 10 04 00 00 }
$offset_structure_3 = { 8d ?? 18 06 00 00 }
$offset_structure_4 = { 8d ?? 20 08 00 00 }
$offset_structure_5 = { 8d ?? 28 0a 00 00 }
$offset_structure_6 = { 89 ?? f8 11 00 00 }
$offset_structure_7 = { 8d ?? fc 11 00 00 }
$offset_structure_8 = { 89 ?? 0c 12 00 00 }
$offset_structure_9 = { 89 ?? 10 12 00 00 }
condition:
uint16be( 0 ) == 0x4d5a and filesize < 11MB and all of them
}
Cadenas (14 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ext_1 | texto | ".zip" | wide ascii fullword |
| $ext_2 | texto | ".cab" | wide ascii fullword |
| $ext_3 | texto | ".rar" | wide ascii fullword |
| $ext_4 | texto | ".ini" | wide ascii fullword |
| $ext_5 | texto | ".dat" | wide ascii fullword |
| $offset_structure_1 | hex | { 8d ?? 08 02 00 00 } | |
| $offset_structure_2 | hex | { 8d ?? 10 04 00 00 } | |
| $offset_structure_3 | hex | { 8d ?? 18 06 00 00 } | |
| $offset_structure_4 | hex | { 8d ?? 20 08 00 00 } | |
| $offset_structure_5 | hex | { 8d ?? 28 0a 00 00 } | |
| $offset_structure_6 | hex | { 89 ?? f8 11 00 00 } | |
| $offset_structure_7 | hex | { 8d ?? fc 11 00 00 } | |
| $offset_structure_8 | hex | { 89 ?? 0c 12 00 00 } | |
| $offset_structure_9 | hex | { 89 ?? 10 12 00 00 } |
Condición
uint16be( 0 ) == 0x4d5a and filesize < 11MB and all of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 11MB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los 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: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
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: 6a20c492-e932-41bd-ac4a-01d35bfb0c49
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- 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· 2024-06-04
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-02-13
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / actorSEKOIA.IO Community· Sekoia.io· 2024-09-27