Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Banload

Detects Banload

MalwareBanloadditekSHen 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 Banload

Zugehörige Malware-Familie: Banload.

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-banload.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Banload : FILE
{
	meta:
		description = "Detects Banload"
		author = "ditekSHen"
		id = "4672bce1-1280-576d-b7df-f0181a854058"
		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#L5675-L5688"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "5cbc69d11b73f60d6eee3f23ed6cc217ba37a3408cb69e396e0394b5a1e20b75"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "main.die" fullword ascii
		$s2 = "main.postResults" fullword ascii
		$s3 = "main.checkin" fullword ascii
		$s4 = "RegQueryValueExWRemoveDirectoryWSETTINGS_TIMEOUTTerminateProcessUpgrade RequiredUser-Agent: %s" ascii
		$s5 = "pcuser-agentws2_32.dll (targetpc= DigestType ErrCode=%v" ascii
		$s6 = "invalid pc-encoded table f=runtime: invalid typeBitsBulkBarrie" fullword ascii

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

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$s1Text"main.die"fullword ascii
$s2Text"main.postResults"fullword ascii
$s3Text"main.checkin"fullword ascii
$s4Text"RegQueryValueExWRemoveDirectoryWSETTINGS_TIMEOUTTerminateProcessUpgrade RequiredUser-Agent: %s"ascii
$s5Text"pcuser-agentws2_32.dll (targetpc= DigestType ErrCode=%v"ascii
$s6Text"invalid pc-encoded table f=runtime: invalid typeBitsBulkBarrie"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: 4672bce1-1280-576d-b7df-f0181a854058

Tags:FILE