Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_ELF_Reverseshell_Sslshell_Jun23_1

Detects reverse shell named SSLShell used in Barracuda ESG exploitation (CVE-2023-2868)

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth
Fecha
2023-06-07
Modificada
2023-12-05
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects reverse shell named SSLShell used in Barracuda ESG exploitation (CVE-2023-2868)

Objetivos: ELF de Linux.

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

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

Código de la regla

mal-elf-reverseshell-sslshell-jun23-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_ELF_Reverseshell_Sslshell_Jun23_1 : CVE_2023_2868 FILE
{
	meta:
		description = "Detects reverse shell named SSLShell used in Barracuda ESG exploitation (CVE-2023-2868)"
		author = "Florian Roth"
		id = "91b34eb7-61d2-592e-a444-249da43994ca"
		date = "2023-06-07"
		modified = "2023-12-05"
		reference = "https://www.barracuda.com/company/legal/esg-vulnerability"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_lnx_barracuda_cve_2023_2868.yar#L2-L19"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "8849a3273e0362c45b4928375d196714224ec22cb1d2df5d029bf57349860347"
		logic_hash = "57e9afb2f6928656242b8257cc3b98ae3b03e38c75ad40b544e3fc6afaea794d"
		score = 75
		quality = 85
		tags = "CVE-2023-2868, FILE"

	strings:
		$sc1 = { 00 2D 63 00 2F 62 69 6E 2F 73 68 00 }
		$s1 = "SSLShell"

	condition:
		uint32be( 0 ) == 0x7f454c46 and uint16( 0x10 ) == 0x0002 and filesize < 5MB and all of them
}

Cadenas (2 patrones)

IdentificadorTipoValorModificadores
$sc1hex{ 00 2D 63 00 2F 62 69 6E 2F 73 68 00 }
$s1texto"SSLShell"

Condición

uint32be( 0 ) == 0x7f454c46 and uint16( 0x10 ) == 0x0002 and filesize < 5MB and all of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por la cabecera ELF: un ejecutable de Linux/Unix.
  • El archivo debe ocupar menos de 5MB (un límite barato que descarta archivos grandes).
  • Deben coincidir todos los 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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 8849a3273e0362c45b4928375d196714224ec22cb1d2df5d029bf57349860347

Licencia y atribución

Autor: Florian Roth

Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licencia: Detection Rule License 1.1 (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: 91b34eb7-61d2-592e-a444-249da43994ca

Etiquetas:CVE_2023_2868FILE