Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Dlinjector02

Detects downloader injector

MalwareDlinjector02ditekSHen 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: Dlinjector02.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-dlinjector02.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dlinjector02 : FILE
{
	meta:
		description = "Detects downloader injector"
		author = "ditekSHen"
		id = "ce2c418d-18e4-579c-9828-94e294385846"
		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#L6017-L6034"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "76d185cfcbc7f4996c2fb5c7c1ba4eb20b32d322d8ff47594283a4ca3e573a0b"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "In$J$ct0r" fullword wide
		$x2 = "%InJ%ector%" fullword wide
		$a1 = "WriteProcessMemory" fullword wide
		$a2 = "URLDownloadToFileA" fullword ascii
		$a3 = "Wow64SetThreadContext" fullword wide
		$a4 = "VirtualAllocEx" fullword wide
		$s1 = "RunPE" fullword wide
		$s2 = "SETTINGS" fullword wide
		$s3 = "net.pipe" fullword wide
		$s4 = "vsmacros" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or ( all of ( $a* ) and 3 of ( $s* ) ) )
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$x1Text"In$J$ct0r"fullword wide
$x2Text"%InJ%ector%"fullword wide
$a1Text"WriteProcessMemory"fullword wide
$a2Text"URLDownloadToFileA"fullword ascii
$a3Text"Wow64SetThreadContext"fullword wide
$a4Text"VirtualAllocEx"fullword wide
$s1Text"RunPE"fullword wide
$s2Text"SETTINGS"fullword wide
$s3Text"net.pipe"fullword wide
$s4Text"vsmacros"fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or ( all of ( $a* ) and 3 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $a* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) 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: ce2c418d-18e4-579c-9828-94e294385846

Tags:FILE