Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_PLEAD

PLEAD Linux payload

MalwarePleadditekSHen 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

PLEAD Linux payload

Familia de malware asociada: Plead.

Define 15 patrones (15 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-linux-plead.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_PLEAD : FILE
{
	meta:
		description = "PLEAD Linux payload"
		author = "ditekSHen"
		id = "07aa0561-d6d9-53b6-97ac-670cdf04335d"
		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#L1896-L1920"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "539998248ded0eb8ea1702c527804f89cfd55412f17ec699bd0af801f4fba673"
		score = 75
		quality = 75
		tags = "FILE"
		clamav_sig = "MALWARE.Linux.Trojan.PLEAD"

	strings:
		$x1 = "CFileTransfer" ascii
		$x2 = "CFileManager" ascii
		$x3 = "CPortForward" ascii
		$x4 = "CPortForwardManager" ascii
		$x5 = "CRemoteShell" ascii
		$x6 = "CSockClient" ascii
		$s1 = "/proc/self/exe" fullword ascii
		$s2 = "/bin/sh" fullword ascii
		$s3 = "echo -e '" ascii
		$s4 = "%s    <DIR>    %s" ascii
		$s5 = "%s    %lld    %s" ascii
		$s6 = "Files: %d        Size: %lld" ascii
		$s7 = "Dirs: %d" ascii
		$s8 = "%s(%s)/" ascii
		$s9 = "%s %s %s %s" ascii

	condition:
		uint16( 0 ) == 0x457f and ( all of ( $x* ) or all of ( $s* ) or 12 of them )
}

Cadenas (15 patrones)

IdentificadorTipoValorModificadores
$x1texto"CFileTransfer"ascii
$x2texto"CFileManager"ascii
$x3texto"CPortForward"ascii
$x4texto"CPortForwardManager"ascii
$x5texto"CRemoteShell"ascii
$x6texto"CSockClient"ascii
$s1texto"/proc/self/exe"fullword ascii
$s2texto"/bin/sh"fullword ascii
$s3texto"echo -e '"ascii
$s4texto"%s <DIR> %s"ascii
$s5texto"%s %lld %s"ascii
$s6texto"Files: %d Size: %lld"ascii
$s7texto"Dirs: %d"ascii
$s8texto"%s(%s)/"ascii
$s9texto"%s %s %s %s"ascii

Condición

uint16( 0 ) == 0x457f and ( all of ( $x* ) or all of ( $s* ) or 12 of them )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $x* ).
  • Deben coincidir todos los patrones de ( $s* ).
  • Deben coincidir al menos 12 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: 07aa0561-d6d9-53b6-97ac-670cdf04335d

Metadatos

clamav_sigMALWARE.Linux.Trojan.PLEAD

Etiquetas:FILE