Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Avalon

Avalon infostealer payload

MalwareAvalonditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Avalon infostealer payload

Familia de malware asociada: Avalon.

Objetivos: PE de Windows.

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

malware-win-avalon.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Avalon : FILE
{
	meta:
		description = "Avalon infostealer payload"
		author = "ditekSHen"
		id = "3de01419-9f45-5d82-8391-2e1e41df2b34"
		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#L1330-L1359"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "1aa9dc09ec4c8962dee0455dd367e32139e4c03f1b306f17ac6e82d71aacf713"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Parsecards" fullword ascii
		$s2 = "Please_Gofuckyouself" fullword ascii
		$s3 = "GetDomainDetect" fullword ascii
		$s4 = "GetTotalCommander" fullword ascii
		$s5 = "KnownFolder" fullword ascii
		$s6 = "set_hidden" fullword ascii
		$s7 = "set_system" fullword ascii
		$l1 = "\\DomainDetect.txt" wide
		$l2 = "\\Grabber_Log.txt" wide
		$l3 = "\\Programs.txt" wide
		$l4 = "\\Passwords_Edge.txt" wide
		$l5 = "\\KL.txt" wide
		$w1 = "dont touch" fullword wide
		$w2 = "Grabber" fullword wide
		$w3 = "Keylogger" fullword wide
		$w4 = "password-check" fullword wide
		$w5 = "H4sIAAAAAAAEA" wide
		$p1 = "^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$" wide
		$p2 = "^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$" wide

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

Cadenas (19 patrones)

IdentificadorTipoValorModificadores
$s1texto"Parsecards"fullword ascii
$s2texto"Please_Gofuckyouself"fullword ascii
$s3texto"GetDomainDetect"fullword ascii
$s4texto"GetTotalCommander"fullword ascii
$s5texto"KnownFolder"fullword ascii
$s6texto"set_hidden"fullword ascii
$s7texto"set_system"fullword ascii
$l1texto"\\DomainDetect.txt"wide
$l2texto"\\Grabber_Log.txt"wide
$l3texto"\\Programs.txt"wide
$l4texto"\\Passwords_Edge.txt"wide
$l5texto"\\KL.txt"wide
$w1texto"dont touch"fullword wide
$w2texto"Grabber"fullword wide
$w3texto"Keylogger"fullword wide
$w4texto"password-check"fullword wide
$w5texto"H4sIAAAAAAAEA"wide
$p1texto"^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$"wide
$p2texto"^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$"wide

Condición

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

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 8 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: 3de01419-9f45-5d82-8391-2e1e41df2b34

Etiquetas:FILE