Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_PWS_Amady

Detects password stealer DLL. Dropped by Amadey

Verdächtig / HuntingAmadeyditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-09-25
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects password stealer DLL. Dropped by Amadey

Zugehörige Malware-Familie: Amadey.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

indicator-tool-pws-amady.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_PWS_Amady : FILE
{
	meta:
		description = "Detects password stealer DLL. Dropped by Amadey"
		author = "ditekSHen"
		id = "6ee4e25b-bf38-5664-a08f-94e3fa92aa29"
		date = "2020-11-06"
		modified = "2024-09-25"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L291-L306"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "409374bec5f58abeb7741b41f0fc7ea1c3fdc7bbc3f0c0628db0e3aac82836d1"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData" fullword ascii
		$s2 = "Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook" ascii
		$s3 = "\\Mikrotik\\Winbox\\Addresses.cdb" fullword ascii
		$s4 = "\\HostName" fullword ascii
		$s5 = "\\Password" fullword ascii
		$s6 = "SOFTWARE\\RealVNC\\" ascii
		$s7 = "SOFTWARE\\TightVNC\\" ascii
		$s8 = "cred.dll" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and filesize < 400KB and 7 of them
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData"fullword ascii
$s2Text"Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook"ascii
$s3Text"\\Mikrotik\\Winbox\\Addresses.cdb"fullword ascii
$s4Text"\\HostName"fullword ascii
$s5Text"\\Password"fullword ascii
$s6Text"SOFTWARE\\RealVNC\\"ascii
$s7Text"SOFTWARE\\TightVNC\\"ascii
$s8Text"cred.dll"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and filesize < 400KB and 7 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 400KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 7 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: 6ee4e25b-bf38-5664-a08f-94e3fa92aa29

Tags:FILE

Weitere Amadey-Regeln