Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Konni

Konni payload

MalwareKonniditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Konni payload

Zugehörige Malware-Familie: Konni.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-konni.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Konni : FILE
{
	meta:
		description = "Konni payload"
		author = "ditekSHen"
		id = "86eae9f6-60b0-5720-8528-ddbe32b6d4a6"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L512-L530"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "d57c51f7ede28b74395e5e0fbcc5fd9247b3353330f3e549d5abf99bbd7a1b93"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "uplog.tmp" fullword wide
		$s2 = "upfile.tmp" fullword wide
		$s3 = "%s-log-%s" fullword ascii wide
		$s4 = "%s-down" ascii wide
		$s5 = "%s-file-%s" fullword ascii wide
		$s6 = "\"rundll32.exe\" \"%s\" install" fullword wide
		$s7 = "subject=%s&data=" fullword ascii
		$s8 = "dll-x64.dll" fullword ascii
		$s9 = "dll-x32.dll" fullword ascii
		$pdb1 = "\\virus-dropper\\Release\\virus-dropper.pdb" ascii
		$pdb2 = "\\virus-init\\Release\\virus-init.pdb" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 7 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $pdb* ) ) )
}

Strings (11 Muster)

BezeichnerTypWertModifikatoren
$s1Text"uplog.tmp"fullword wide
$s2Text"upfile.tmp"fullword wide
$s3Text"%s-log-%s"fullword ascii wide
$s4Text"%s-down"ascii wide
$s5Text"%s-file-%s"fullword ascii wide
$s6Text"\"rundll32.exe\" \"%s\" install"fullword wide
$s7Text"subject=%s&data="fullword ascii
$s8Text"dll-x64.dll"fullword ascii
$s9Text"dll-x32.dll"fullword ascii
$pdb1Text"\\virus-dropper\\Release\\virus-dropper.pdb"ascii
$pdb2Text"\\virus-init\\Release\\virus-init.pdb"ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 7 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $pdb* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 7 Muster aus ( $s* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $pdb* ) 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: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 86eae9f6-60b0-5720-8528-ddbe32b6d4a6

Tags:FILE

Weitere Konni-Regeln