Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Loader_Amadey_Stealer_Plugin

Finds Amadey's stealer plugin based on characteristic strings

MalwareAmadeySEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2023-05-16
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Finds Amadey's stealer plugin based on characteristic strings

Familia de malware asociada: Amadey.

Objetivos: PE de Windows.

Define 13 patrones (13 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

loader-amadey-stealer-plugin.yarDetection Rule License 1.1
rule SEKOIA_Loader_Amadey_Stealer_Plugin : FILE
{
	meta:
		description = "Finds Amadey's stealer plugin based on characteristic strings"
		author = "Sekoia.io"
		id = "50154e39-98b3-40e5-8986-18bbb7b15647"
		date = "2023-05-16"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_amadey_stealer_plugin.yar#L1-L27"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "0410492f9424797b670a14f43ce063458e59d7958e213c07c3d488a40bf370e6"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "STEALERDLL.dll" ascii
		$str02 = "?wal=1" fullword ascii
		$str03 = "Content-Disposition: form-data; name=\"data\"; filename=\"" ascii
		$str04 = "tar.exe -cf \"" ascii
		$str05 = "SELECT origin_url, username_value, password_value FROM logins" ascii
		$str06 = "\\Google\\Chrome\\User Data\\Default\\Login Data" ascii
		$str07 = "\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data" ascii
		$str08 = "\\Mozilla\\Firefox\\Profiles\\" ascii
		$str09 = "\"hostname\":\"([^\"]+)\"" ascii
		$str10 = "\"encryptedUsername\":\"([^\"]+)\"" ascii
		$str11 = "\"encryptedPassword\":\"([^\"]+)\"" ascii
		$str12 = "&cred=" fullword ascii
		$str13 = "D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 7 of them
}

Cadenas (13 patrones)

IdentificadorTipoValorModificadores
$str01texto"STEALERDLL.dll"ascii
$str02texto"?wal=1"fullword ascii
$str03texto"Content-Disposition: form-data; name=\"data\"; filename=\""ascii
$str04texto"tar.exe -cf \""ascii
$str05texto"SELECT origin_url, username_value, password_value FROM logins"ascii
$str06texto"\\Google\\Chrome\\User Data\\Default\\Login Data"ascii
$str07texto"\\SputnikLab\\Sputnik\\User Data\\Default\\Login Data"ascii
$str08texto"\\Mozilla\\Firefox\\Profiles\\"ascii
$str09texto"\"hostname\":\"([^\"]+)\""ascii
$str10texto"\"encryptedUsername\":\"([^\"]+)\""ascii
$str11texto"\"encryptedPassword\":\"([^\"]+)\""ascii
$str12texto"&cred="fullword ascii
$str13texto"D:\\Mktmp\\Amadey\\StealerDLL\\x64\\Release\\STEALERDLL.pdb"ascii

Condición

uint16( 0 ) == 0x5A4D and 7 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • 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: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

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: 50154e39-98b3-40e5-8986-18bbb7b15647

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Amadey