Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Slothfulmedia

SlothfulMedia backdoor payload

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

Qué detecta esta regla

SlothfulMedia backdoor payload

Familia de malware asociada: Slothfulmedia.

Objetivos: PE de Windows.

Define 17 patrones (13 de texto, 0 hex, 4 regex).

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

Código de la regla

malware-win-slothfulmedia.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Slothfulmedia : FILE
{
	meta:
		description = "SlothfulMedia backdoor payload"
		author = "ditekSHen"
		id = "e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a"
		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#L1539-L1565"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "6f742e8d9d555b44daaa09835f599c99e16cd39bb106c8f43fbbca7093de462e"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$x1 = /ExtKeylogger(Start|Stop)/ fullword ascii
		$x2 = /ExtService(Add|Delete|Start|Stop)/ fullword ascii
		$x3 = /ExtRegKey(Add|Del)/ fullword ascii
		$x4 = /ExtRegItem(Add|Del)/ fullword ascii
		$x5 = "ExtUnload" fullword ascii
		$s1 = "Local Security Process" fullword wide
		$s2 = "Global%s%d" fullword wide
		$s3 = "%s%s_%d.dat" fullword wide
		$s4 = "\\AppIni" fullword wide
		$s5 = "%s.tmp" fullword wide
		$s6 = "\\SetupUi" fullword wide
		$s7 = "%s|%s|%s|%s" fullword wide
		$s8 = "\\ExtInfo" fullword wide
		$cnc1 = "/v?m=" fullword ascii
		$cnc2 = "%s&i=%d" fullword ascii
		$cnc3 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" fullword ascii
		$cnc4 = "Content-Length: %d" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )
}

Cadenas (17 patrones)

IdentificadorTipoValorModificadores
$x1regex/ExtKeylogger(Start|Stop)/fullword ascii
$x2regex/ExtService(Add|Delete|Start|Stop)/fullword ascii
$x3regex/ExtRegKey(Add|Del)/fullword ascii
$x4regex/ExtRegItem(Add|Del)/fullword ascii
$x5texto"ExtUnload"fullword ascii
$s1texto"Local Security Process"fullword wide
$s2texto"Global%s%d"fullword wide
$s3texto"%s%s_%d.dat"fullword wide
$s4texto"\\AppIni"fullword wide
$s5texto"%s.tmp"fullword wide
$s6texto"\\SetupUi"fullword wide
$s7texto"%s|%s|%s|%s"fullword wide
$s8texto"\\ExtInfo"fullword wide
$cnc1texto"/v?m="fullword ascii
$cnc2texto"%s&i=%d"fullword ascii
$cnc3texto"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75"fullword ascii
$cnc4texto"Content-Length: %d"fullword ascii

Condición

uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $cnc* ).
  • Deben coincidir al menos 3 patrones de ( $x* ).
  • Deben coincidir al menos 7 patrones de ( $s* ).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • 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: e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a

Etiquetas:FILE

Más reglas de Slothfulmedia