Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Redlinedropperahk

Detects AutoIt/AutoHotKey executables dropping RedLine infostealer

MalwareRedlinedropperahkditekSHen 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 AutoIt/AutoHotKey executables dropping RedLine infostealer

Zugehörige Malware-Familie: Redlinedropperahk.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-redlinedropperahk.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Redlinedropperahk : FILE
{
	meta:
		description = "Detects AutoIt/AutoHotKey executables dropping RedLine infostealer"
		author = "ditekSHen"
		id = "16eee826-f1fd-5a6f-b6f3-e02ccd889614"
		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#L1866-L1878"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "0950fe9daa02f3a8fd527f75275766111be7e8774578963b0bdb455800dfc4f9"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Trojan.RedLineDropper-AHK"

	strings:
		$s1 = ".SetRequestHeader(\"User-Agent\",\" ( \" OSName \" | \" bit \" | \" CPUNAme \"\"" ascii
		$s2 = ":= \" | Windows Defender\"" ascii
		$s3 = "WindowSpy.ahk" wide
		$s4 = ">AUTOHOTKEY SCRIPT<" fullword wide

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

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$s1Text".SetRequestHeader(\"User-Agent\",\" ( \" OSName \" | \" bit \" | \" CPUNAme \"\""ascii
$s2Text":= \" | Windows Defender\""ascii
$s3Text"WindowSpy.ahk"wide
$s4Text">AUTOHOTKEY SCRIPT<"fullword wide

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle 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: 16eee826-f1fd-5a6f-b6f3-e02ccd889614

Metadaten

clamav_sigMALWARE.Win.Trojan.RedLineDropper-AHK

Tags:FILE