Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Miniduke

Detects MiniDuke

MalwareMinidukeditekSHen 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 MiniDuke

Zugehörige Malware-Familie: Miniduke.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-miniduke.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Miniduke : FILE
{
	meta:
		description = "Detects MiniDuke"
		author = "ditekSHen"
		id = "947cd414-d19d-5543-8961-94aef69cc94e"
		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#L3948-L3969"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c3ab139b4fda2ff9678ceecbdf5ac0c57536bd658f62aa9d19610028b0a5f92c"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "DefPipe" fullword ascii
		$s2 = "term %5d" fullword ascii
		$s3 = "pid %5d" fullword ascii
		$s4 = "uptime %5d.%02dh" fullword ascii
		$s5 = "login: %s\\%s" fullword ascii
		$s6 = "Software\\Microsoft\\ApplicationManager" ascii
		$s7 = { 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 }
		$net1 = "salesappliances.com" ascii
		$net2 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36" fullword ascii
		$net3 = "http://10." ascii
		$net4 = "JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z" ascii
		$net5 = "application/octet-stream" ascii
		$net6 = "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )
}

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$s1Text"DefPipe"fullword ascii
$s2Text"term %5d"fullword ascii
$s3Text"pid %5d"fullword ascii
$s4Text"uptime %5d.%02dh"fullword ascii
$s5Text"login: %s\\%s"fullword ascii
$s6Text"Software\\Microsoft\\ApplicationManager"ascii
$s7Hex{ 69 64 6c 65 ?? 00 73 74 6f 70 ?? 00 61 63 63 65 70 74 ?? 00 63 6f 6e 6e 65 63 74 ?? 00 6c 69 73 74 65 6e ?? 00 }
$net1Text"salesappliances.com"ascii
$net2Text"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36"fullword ascii
$net3Text"http://10."ascii
$net4Text"JiM9t8g7j8KoJkLJlKqka8dbo7q5z4v5u3o4z"ascii
$net5Text"application/octet-stream"ascii
$net6Text"Content-Disposition: form-data; name=\"%s\"; filename=\"%s\""ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or 4 of ( $net* ) or 7 of them )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $net* ) müssen treffen.
  • Mindestens 7 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: 947cd414-d19d-5543-8961-94aef69cc94e

Tags:FILE