Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Kimsuky_Konni_Dll

Rule based on structure offset and file extension

MalwareKimsukyKonniSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
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:
		description = "Rule based on structure offset and file extension"
		author = "Sekoia.io"
		id = "6a20c492-e932-41bd-ac4a-01d35bfb0c49"
		date = "2022-09-12"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/kimsuky_konni_dll.yar#L1-L29"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "7099156decdfe35cde22958133d851479f12180fff7b5744af0c549ab8259636"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "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)

BezeichnerTypWertModifikatoren
$ext_1Text".zip"wide ascii fullword
$ext_2Text".cab"wide ascii fullword
$ext_3Text".rar"wide ascii fullword
$ext_4Text".ini"wide ascii fullword
$ext_5Text".dat"wide ascii fullword
$offset_structure_1Hex{ 8d ?? 08 02 00 00 }
$offset_structure_2Hex{ 8d ?? 10 04 00 00 }
$offset_structure_3Hex{ 8d ?? 18 06 00 00 }
$offset_structure_4Hex{ 8d ?? 20 08 00 00 }
$offset_structure_5Hex{ 8d ?? 28 0a 00 00 }
$offset_structure_6Hex{ 89 ?? f8 11 00 00 }
$offset_structure_7Hex{ 8d ?? fc 11 00 00 }
$offset_structure_8Hex{ 89 ?? 0c 12 00 00 }
$offset_structure_9Hex{ 89 ?? 10 12 00 00 }

Bedingung

uint16be( 0 ) == 0x4d5a and filesize < 11MB and all of them

In 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.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Kimsuky-Regeln