Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Darkvnc

Detects DarkVNC

MalwareDarkvncditekSHen 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

Detects DarkVNC

Zugehörige Malware-Familie: Darkvnc.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-darkvnc.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Darkvnc : FILE
{
	meta:
		description = "Detects DarkVNC"
		author = "ditekSHen"
		id = "3c7d215c-fcca-5a0f-b59c-d84fd894677a"
		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#L6677-L6696"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b0dbde04c0a05e476d505b92cf7dbf3b4ef0dd9e88eafcd21b7a7d0e3623abbd"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "USR-%s(%s)_%S-%S%u%u" fullword wide
		$s2 = "BOT-%s(%s)_%S-%S%u%u" fullword wide
		$s3 = "USR-UnicodeErr(Err)_%s-%s%u%u" fullword ascii
		$s4 = "BOT-UnicodeErr(Err)_%s-%s%u%u" fullword ascii
		$s5 = "PRM_STRG" fullword wide
		$s6 = "bot_shell >" ascii
		$s7 = "monitor_off / monitor_on" ascii
		$s8 = "kbd_off / kbd_on" ascii
		$s9 = "ActiveDll: Dll inject thread for process 0x%x terminated with status: %u" ascii
		$s10 = "PsSup: File %s successfully started with parameter \"%s\"" ascii
		$s11 = "PsSup: ShellExecute failed. File: %s, error %u" ascii
		$s12 = "#hvnc" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and 5 of them
}

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$s1Text"USR-%s(%s)_%S-%S%u%u"fullword wide
$s2Text"BOT-%s(%s)_%S-%S%u%u"fullword wide
$s3Text"USR-UnicodeErr(Err)_%s-%s%u%u"fullword ascii
$s4Text"BOT-UnicodeErr(Err)_%s-%s%u%u"fullword ascii
$s5Text"PRM_STRG"fullword wide
$s6Text"bot_shell >"ascii
$s7Text"monitor_off / monitor_on"ascii
$s8Text"kbd_off / kbd_on"ascii
$s9Text"ActiveDll: Dll inject thread for process 0x%x terminated with status: %u"ascii
$s10Text"PsSup: File %s successfully started with parameter \"%s\""ascii
$s11Text"PsSup: ShellExecute failed. File: %s, error %u"ascii
$s12Text"#hvnc"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and 5 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 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: 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: 3c7d215c-fcca-5a0f-b59c-d84fd894677a

Tags:FILE

Weitere Darkvnc-Regeln