Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Phoenix

Phoenix/404KeyLogger keylogger payload

MalwarePhoenixditekSHen 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

Phoenix/404KeyLogger keylogger payload

Familia de malware asociada: Phoenix.

Objetivos: PE de Windows.

Define 17 patrones (17 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-phoenix.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Phoenix : FILE
{
	meta:
		description = "Phoenix/404KeyLogger keylogger payload"
		author = "ditekSHen"
		id = "62101881-9b5e-586d-8e1b-184787f25d6b"
		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#L341-L367"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b2c2a4ffc36d708a121853fb0268e6dc85b3fe2cd58e05c8124cbef18e03ec0b"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Trojan.Phoenix-Keylogger"

	strings:
		$s1 = "FirefoxPassReader" fullword ascii
		$s2 = "StartKeylogger" fullword ascii
		$s3 = "CRYPTPROTECT_" ascii
		$s4 = "Chrome_Killer" fullword ascii
		$s5 = "Clipboardlog.txt" fullword wide
		$s6 = "Leyboardlogs.txt" fullword wide
		$s7 = "Persistence'" wide
		$s8 = "set_HKB" fullword ascii
		$s9 = "loloa" fullword ascii
		$s10 = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)" fullword wide
		$m1 = "- Screenshot -------|" ascii wide
		$m2 = "- Clipboard -------|" ascii wide
		$m3 = "- Logs -------|" ascii wide
		$m4 = "- Passwords -------|" ascii wide
		$m5 = "PSWD" ascii wide
		$m6 = "Screenshot |" ascii wide
		$m7 = "Logs |" ascii wide

	condition:
		( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or 3 of ( $m* ) ) or 9 of them
}

Cadenas (17 patrones)

IdentificadorTipoValorModificadores
$s1texto"FirefoxPassReader"fullword ascii
$s2texto"StartKeylogger"fullword ascii
$s3texto"CRYPTPROTECT_"ascii
$s4texto"Chrome_Killer"fullword ascii
$s5texto"Clipboardlog.txt"fullword wide
$s6texto"Leyboardlogs.txt"fullword wide
$s7texto"Persistence'"wide
$s8texto"set_HKB"fullword ascii
$s9texto"loloa"fullword ascii
$s10texto"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR1.0.3705;)"fullword wide
$m1texto"- Screenshot -------|"ascii wide
$m2texto"- Clipboard -------|"ascii wide
$m3texto"- Logs -------|"ascii wide
$m4texto"- Passwords -------|"ascii wide
$m5texto"PSWD"ascii wide
$m6texto"Screenshot |"ascii wide
$m7texto"Logs |"ascii wide

Condición

( uint16( 0 ) == 0x5a4d and 6 of ( $s* ) or 3 of ( $m* ) ) or 9 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 6 patrones de ( $s* ).
  • Deben coincidir al menos 3 patrones de ( $m* ).
  • Deben coincidir al menos 9 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: 62101881-9b5e-586d-8e1b-184787f25d6b

Metadatos

clamav_sigMALWARE.Win.Trojan.Phoenix-Keylogger

Etiquetas:FILE

Más reglas de Phoenix