YARA · SEKOIA.IO Community
SEKOIA_Kimsuky_Konni_Dll
Rule based on structure offset and file extension
- Autor
- Sekoia.io
- Datum
- 2022-09-12
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Rule based on structure offset and file extension
Zugehörige Malware-Familie: Kimsuky, Konni.
Ziele: Windows-PE.
Sie definiert 14 Muster (5 Text, 9 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (14 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ext_1 | Text | ".zip" | wide ascii fullword |
| $ext_2 | Text | ".cab" | wide ascii fullword |
| $ext_3 | Text | ".rar" | wide ascii fullword |
| $ext_4 | Text | ".ini" | wide ascii fullword |
| $ext_5 | Text | ".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 } |
Bedingung
uint16be( 0 ) == 0x4d5a and filesize < 11MB and all of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 11MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 6a20c492-e932-41bd-ac4a-01d35bfb0c49
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- 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 / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27