Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Unknown_Packedloader_01

Detects unknown loader / packer. Observed running LummaStealer

MalwareLummastealerditekSHen 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 unknown loader / packer. Observed running LummaStealer

Zugehörige Malware-Familie: Lummastealer.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-unknown-packedloader-01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Unknown_Packedloader_01 : FILE
{
	meta:
		description = "Detects unknown loader / packer. Observed running LummaStealer"
		author = "ditekShen"
		id = "2969090f-dff9-5745-b87d-a031741dd2e0"
		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#L10826-L10845"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "6fd9075793b55e04c68bb13d21b88741889a9c37a0a9d1a19d895c7b68af4506"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Error at hooking API \"%S\"" wide
		$s2 = "Dumping first %d bytes:" wide
		$s3 = "Error at initialization of bundled DLL: %s" wide
		$s4 = "GetMemoryForDLL()" ascii
		$s5 = "type=activation&code=" ascii
		$s6 = "activation.php?code=" ascii
		$s7 = "&hwid=" ascii
		$s8 = "&hash=" ascii
		$s9 = "type=deactivation&hash=" ascii
		$s10 = "deactivation.php?hash=" ascii
		$s11 = "BANNED" fullword ascii
		$s12 = "GetAdaptersInfo" ascii

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

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Error at hooking API \"%S\""wide
$s2Text"Dumping first %d bytes:"wide
$s3Text"Error at initialization of bundled DLL: %s"wide
$s4Text"GetMemoryForDLL()"ascii
$s5Text"type=activation&code="ascii
$s6Text"activation.php?code="ascii
$s7Text"&hwid="ascii
$s8Text"&hash="ascii
$s9Text"type=deactivation&hash="ascii
$s10Text"deactivation.php?hash="ascii
$s11Text"BANNED"fullword ascii
$s12Text"GetAdaptersInfo"ascii

Bedingung

uint16( 0 ) == 0x5a4d and 11 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 11 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: 2969090f-dff9-5745-b87d-a031741dd2e0

Tags:FILE