Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Dlinjector04

Detects downloader / injector

MalwareDlinjector04ditekSHen 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 downloader / injector

Zugehörige Malware-Familie: Dlinjector04.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-dlinjector04.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dlinjector04 : FILE
{
	meta:
		description = "Detects downloader / injector"
		author = "ditekSHen"
		id = "fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b"
		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#L7769-L7790"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "ab9a047e53dec2cc5986522636783b5cb8aae7fc0297292d017ec22ee5750cce"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Runner" fullword ascii
		$s2 = "DownloadPayload" fullword ascii
		$s3 = "RunOnStartup" fullword ascii
		$a1 = "Antis" fullword ascii
		$a2 = "antiVM" fullword ascii
		$a3 = "antiSandbox" fullword ascii
		$a4 = "antiDebug" fullword ascii
		$a5 = "antiEmulator" fullword ascii
		$a6 = "enablePersistence" fullword ascii
		$a7 = "enableFakeError" fullword ascii
		$a8 = "DetectVirtualMachine" fullword ascii
		$a9 = "DetectSandboxie" fullword ascii
		$a10 = "DetectDebugger" fullword ascii
		$a11 = "CheckEmulator" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )
}

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Runner"fullword ascii
$s2Text"DownloadPayload"fullword ascii
$s3Text"RunOnStartup"fullword ascii
$a1Text"Antis"fullword ascii
$a2Text"antiVM"fullword ascii
$a3Text"antiSandbox"fullword ascii
$a4Text"antiDebug"fullword ascii
$a5Text"antiEmulator"fullword ascii
$a6Text"enablePersistence"fullword ascii
$a7Text"enableFakeError"fullword ascii
$a8Text"DetectVirtualMachine"fullword ascii
$a9Text"DetectSandboxie"fullword ascii
$a10Text"DetectDebugger"fullword ascii
$a11Text"CheckEmulator"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 5 Muster aus ( $a* ) müssen treffen.
  • Mindestens 10 Muster aus ( $a* ) 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: fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b

Tags:FILE