YARA · SEKOIA.IO Community
SEKOIA_Kimsuky_Konni_Dll
Rule based on structure offset and file extension
- Auteur
- Sekoia.io
- Date
- 2022-09-12
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Rule based on structure offset and file extension
Famille de malware associée : Kimsuky, Konni.
Cibles : PE Windows.
Elle définit 14 motifs (5 texte, 9 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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
}
Chaînes (14 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ext_1 | texte | ".zip" | wide ascii fullword |
| $ext_2 | texte | ".cab" | wide ascii fullword |
| $ext_3 | texte | ".rar" | wide ascii fullword |
| $ext_4 | texte | ".ini" | wide ascii fullword |
| $ext_5 | texte | ".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 } |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 11MB and all of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 11MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de la règle doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 6a20c492-e932-41bd-ac4a-01d35bfb0c49
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- 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 / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27