Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Konni_Rat

Detect the KONNI RAT DLL files (x32 and x64)

MalwareKonniSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2023-09-26
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detect the KONNI RAT DLL files (x32 and x64)

Zugehörige Malware-Familie: Konni.

Ziele: Windows-PE.

Sie definiert 8 Muster (8 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

rat-win-konni-rat.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Konni_Rat : FILE
{
	meta:
		description = "Detect the KONNI RAT DLL files (x32 and x64)"
		author = "Sekoia.io"
		id = "032f1c79-6f03-4588-a4af-38b1f3ca1cb8"
		date = "2023-09-26"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_konni_rat.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "764e75d3e433a8784e826f436896c50c9622129412ff277b55ec9aaf1402ff5e"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = ".cab" wide
		$ = ".zip" wide
		$ = ".rar" wide
		$ = ".ini" wide
		$ = ".dat" wide
		$ = "%s(%d)" wide
		$ = "%s %s \"%s\"" wide
		$ = "\\Temp\\" wide

	condition:
		uint16( 0 ) == 0x5A4D and all of them and filesize > 60KB and filesize < 120KB
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$Text".cab"wide
$Text".zip"wide
$Text".rar"wide
$Text".ini"wide
$Text".dat"wide
$Text"%s(%d)"wide
$Text"%s %s \"%s\""wide
$Text"\\Temp\\"wide

Bedingung

uint16( 0 ) == 0x5A4D and all of them and filesize > 60KB and filesize < 120KB

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 120KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Die Datei muss größer als 60KB sein.
  • 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: 032f1c79-6f03-4588-a4af-38b1f3ca1cb8

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Konni-Regeln