Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Bazarloader

Detects BazarLoader variants

MalwareBazarloaderditekSHen 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 BazarLoader variants

Zugehörige Malware-Familie: Bazarloader.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-bazarloader.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Bazarloader : FILE
{
	meta:
		description = "Detects BazarLoader variants"
		author = "ditekSHen"
		id = "6282df59-7244-501f-bb60-09a2a519bd47"
		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#L5763-L5776"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "8febd1355bc03f71794ffb8d51cbb112e8acd2d26fec5bb736a388d5384e7747"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Startdelay for %d ms to avoid some dynamic AV detects!" ascii
		$s2 = "Use Debug for moving faster!" ascii
		$s3 = "Logging Mutex %s to %s" ascii
		$s4 = "FIRST AND ONLY COPY RUNNING! Mutex %s" ascii
		$s5 = "the most secret 3d GetWinApiPointers line in the world!" ascii
		$s6 = "[+] makeMD5hash. " ascii

	condition:
		uint16( 0 ) == 0x5a4d and 3 of ( $s* )
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Startdelay for %d ms to avoid some dynamic AV detects!"ascii
$s2Text"Use Debug for moving faster!"ascii
$s3Text"Logging Mutex %s to %s"ascii
$s4Text"FIRST AND ONLY COPY RUNNING! Mutex %s"ascii
$s5Text"the most secret 3d GetWinApiPointers line in the world!"ascii
$s6Text"[+] makeMD5hash. "ascii

Bedingung

uint16( 0 ) == 0x5a4d and 3 of ( $s* )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • 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: 6282df59-7244-501f-bb60-09a2a519bd47

Tags:FILE

Weitere Bazarloader-Regeln