Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_PWS_Amady

Detects password stealer DLL. Dropped by Amadey

Sospechoso / huntingAmadeyditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-09-25
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects password stealer DLL. Dropped by Amadey

Familia de malware asociada: Amadey.

Objetivos: PE de Windows.

Define 8 patrones (8 de texto, 0 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

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
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$s1texto"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\AppData"fullword ascii
$s2texto"Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows Messaging Subsystem\\Profiles\\Outlook"ascii
$s3texto"\\Mikrotik\\Winbox\\Addresses.cdb"fullword ascii
$s4texto"\\HostName"fullword ascii
$s5texto"\\Password"fullword ascii
$s6texto"SOFTWARE\\RealVNC\\"ascii
$s7texto"SOFTWARE\\TightVNC\\"ascii
$s8texto"cred.dll"fullword ascii

Condición

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

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • El archivo debe ocupar menos de 400KB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 7 patrones de la regla.

Prueba esta regla en tu navegador

Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

Referencias

Licencia y atribución

Autor: ditekSHen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Regla original

Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.

Id de la regla: 6ee4e25b-bf38-5664-a08f-94e3fa92aa29

Etiquetas:FILE

Más reglas de Amadey