Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Darkeye

Detects DarkEye infostealer

MalwareDarkeyeditekSHen 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

Detects DarkEye infostealer

Familia de malware asociada: Darkeye.

Objetivos: PE de Windows.

Define 12 patrones (10 de texto, 0 hex, 2 regex).

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

Código de la regla

malware-win-darkeye.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Darkeye : FILE
{
	meta:
		description = "Detects DarkEye infostealer"
		author = "ditekSHen"
		id = "5296fe28-b54e-5d0f-aa2f-2050db585d82"
		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#L9751-L9770"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "5496dcbfe075a4030a446027765186e9dd1931561a29a481139281e1708ce87d"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$c1 = /Prynt(\s)?Stealer/ ascii wide
		$c2 = /WorldWind(\s)?Stealer/ ascii wide
		$c3 = "ToxicEye" ascii wide
		$x2 = "@FlatLineStealer" ascii wide
		$x3 = "@CashOutGangTalk" ascii wide
		$s1 = "--- Clipper" wide
		$s2 = "Downloading file: \"{file}\"" wide
		$s3 = "/bot{0}/getUpdates?offset={1}" wide
		$s4 = "send command to bot!" wide
		$s5 = " *Keylogger " fullword wide
		$s6 = "*Stealer" wide
		$s7 = "Bot connected" wide

	condition:
		uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )
}

Cadenas (12 patrones)

IdentificadorTipoValorModificadores
$c1regex/Prynt(\s)?Stealer/ascii wide
$c2regex/WorldWind(\s)?Stealer/ascii wide
$c3texto"ToxicEye"ascii wide
$x2texto"@FlatLineStealer"ascii wide
$x3texto"@CashOutGangTalk"ascii wide
$s1texto"--- Clipper"wide
$s2texto"Downloading file: \"{file}\""wide
$s3texto"/bot{0}/getUpdates?offset={1}"wide
$s4texto"send command to bot!"wide
$s5texto" *Keylogger "fullword wide
$s6texto"*Stealer"wide
$s7texto"Bot connected"wide

Condición

uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Debe coincidir al menos un patrón de ( $c* ).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 2 patrones de ( $s* ).
  • Deben coincidir al menos 4 patrones de ( $s* ).

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: 5296fe28-b54e-5d0f-aa2f-2050db585d82

Etiquetas:FILE