Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_UNK01

Detects unknown/unidentified Linux malware

MalwareUNK01ditekSHen 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 unknown/unidentified Linux malware

Familia de malware asociada: UNK01.

Define 14 patrones (14 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-unk01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_UNK01 : FILE
{
	meta:
		description = "Detects unknown/unidentified Linux malware"
		author = "ditekSHen"
		id = "24c6ff35-9378-5a6b-90d1-9740917b1b72"
		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#L2815-L2836"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "8bb4822c1c7e0f52726ecafafa696d83c741257587f351360c5295163c245450"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$f1 = "%sresponse.php?status" ascii
		$f2 = "%supstream.php?mid=%s&os=%s" ascii fullword
		$f3 = "%supstream.php?tid=%" ascii
		$f4 = "%sindex.php?token=%.32s&flag=%d&name=%s" ascii fullword
		$f5 = "%sactive_off.php?id=%d&uniqu=%d" ascii fullword
		$s1 = "lock:%i usable num:%i n:%i" fullword ascii
		$s2 = "tid:%.*s tNumber:%i" fullword ascii
		$s3 = "init.php" fullword ascii
		$s4 = "mod_drone" fullword ascii
		$s5 = "new_mid" fullword ascii
		$s6 = "&exists[]=" fullword ascii
		$s7 = "&mod[]=" fullword ascii
		$s8 = "shutdown" fullword ascii
		$s9 = "&mac[]=%02X%02X%02X%02X%02X%02X" fullword ascii

	condition:
		uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )
}

Cadenas (14 patrones)

IdentificadorTipoValorModificadores
$f1texto"%sresponse.php?status"ascii
$f2texto"%supstream.php?mid=%s&os=%s"ascii fullword
$f3texto"%supstream.php?tid=%"ascii
$f4texto"%sindex.php?token=%.32s&flag=%d&name=%s"ascii fullword
$f5texto"%sactive_off.php?id=%d&uniqu=%d"ascii fullword
$s1texto"lock:%i usable num:%i n:%i"fullword ascii
$s2texto"tid:%.*s tNumber:%i"fullword ascii
$s3texto"init.php"fullword ascii
$s4texto"mod_drone"fullword ascii
$s5texto"new_mid"fullword ascii
$s6texto"&exists[]="fullword ascii
$s7texto"&mod[]="fullword ascii
$s8texto"shutdown"fullword ascii
$s9texto"&mac[]=%02X%02X%02X%02X%02X%02X"fullword ascii

Condición

uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 3 patrones de ( $f* ).
  • Deben coincidir al menos 6 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: 24c6ff35-9378-5a6b-90d1-9740917b1b72

Etiquetas:FILE