Saltar al contenido

YARA · deadbits yara-rules

DEADBITS_Dacls_Trojan_Linux

No description has been set in the source file - DeadBits

Malwaredeadbits yara-rulesThe UnlicenseCompila con YARA-X
Autor
Adam Swanda
Fecha
2020-01-07
Puntuación / Calidad
75 / 80

Qué detecta esta regla

No description has been set in the source file - DeadBits

Define 11 patrones (11 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

dacls-trojan-linux.yarThe Unlicense
rule DEADBITS_Dacls_Trojan_Linux
{
	meta:
		description = "No description has been set in the source file - DeadBits"
		author = "Adam Swanda"
		id = "bb83ba2b-70a3-5a0f-9588-d93b7f07f67f"
		date = "2020-01-07"
		modified = "2020-01-07"
		reference = "https://github.com/deadbits/yara-rules"
		source_url = "https://github.com/deadbits/yara-rules//blob/d002f7ecee23e09142a3ac3e79c84f71dda3f001/rules/Dacls_Linux.yara#L1-L32"
		license_url = "N/A"
		logic_hash = "752d7daf9178e4fa20f2ce781c6ff70f83758f01479696f0808e1588da9a3d78"
		score = 75
		quality = 80
		tags = ""
		Author = "Adam M. Swanda"

	strings:
		$cls00 = "c_2910.cls" ascii fullword
		$cls01 = "k_3872.cls" ascii fullword
		$str00 = "{\"result\":\"ok\"}" ascii fullword
		$str01 = "SCAN  %s  %d.%d.%d.%d %d" ascii fullword
		$str02 = "/var/run/init.pid" ascii fullword
		$str03 = "/flash/bin/mountd" ascii fullword
		$str04 = "Name:" ascii fullword
		$str05 = "Uid:" ascii fullword
		$str06 = "Gid:" ascii fullword
		$str08 = "PPid:" ascii fullword
		$str09 = "session_id" ascii fullword

	condition:
		uint32be( 0x0 ) == 0x7f454c46 and ( ( all of ( $cls* ) ) or ( all of ( $str* ) ) )
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$cls00texto"c_2910.cls"ascii fullword
$cls01texto"k_3872.cls"ascii fullword
$str00texto"{\"result\":\"ok\"}"ascii fullword
$str01texto"SCAN %s %d.%d.%d.%d %d"ascii fullword
$str02texto"/var/run/init.pid"ascii fullword
$str03texto"/flash/bin/mountd"ascii fullword
$str04texto"Name:"ascii fullword
$str05texto"Uid:"ascii fullword
$str06texto"Gid:"ascii fullword
$str08texto"PPid:"ascii fullword
$str09texto"session_id"ascii fullword

Condición

uint32be( 0x0 ) == 0x7f454c46 and ( ( all of ( $cls* ) ) or ( all of ( $str* ) ) )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $cls* ).
  • Deben coincidir todos los patrones de ( $str* ).

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: Adam Swanda

Repositorio de origen: deadbits yara-rules @ d002f7ecee

Licencia: The Unlicense (licencia del repositorio)

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: bb83ba2b-70a3-5a0f-9588-d93b7f07f67f