Saltar al contenido

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_Base64_Encoded_Exploit_Indicators_Dec21

Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228

Sospechoso / huntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
Autor
Florian Roth (Nextron Systems)
Fecha
2021-12-10
Modificada
2021-12-13
Puntuación / Calidad
70 / 85

Qué detecta esta regla

Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228

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

susp-base64-encoded-exploit-indicators-dec21.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_Base64_Encoded_Exploit_Indicators_Dec21 : CVE_2021_44228
{
	meta:
		description = "Detects base64 encoded strings found in payloads of exploits against log4j CVE-2021-44228"
		author = "Florian Roth (Nextron Systems)"
		id = "09abc4f0-ace7-5f53-b1d3-5f5c6bf3bdba"
		date = "2021-12-10"
		modified = "2021-12-13"
		reference = "https://twitter.com/Reelix/status/1469327487243071493"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_log4j_cve_2021_44228.yar#L142-L165"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "703a83916c7279bcdc3cd61602472c2a3815140235be169f5b2063a547438c61"
		score = 70
		quality = 85
		tags = "CVE-2021-44228"

	strings:
		$sa1 = "Y3VybCAtcy"
		$sa2 = "N1cmwgLXMg"
		$sa3 = "jdXJsIC1zI"
		$sb1 = "fHdnZXQgLXEgLU8tI"
		$sb2 = "x3Z2V0IC1xIC1PLS"
		$sb3 = "8d2dldCAtcSAtTy0g"
		$fp1 = "<html"

	condition:
		1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* )
}

Cadenas (7 patrones)

IdentificadorTipoValorModificadores
$sa1texto"Y3VybCAtcy"
$sa2texto"N1cmwgLXMg"
$sa3texto"jdXJsIC1zI"
$sb1texto"fHdnZXQgLXEgLU8tI"
$sb2texto"x3Z2V0IC1xIC1PLS"
$sb3texto"8d2dldCAtcSAtTy0g"
$fp1texto"<html"

Condición

1 of ( $sa* ) and 1 of ( $sb* ) and not 1 of ( $fp* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 1 patrones de ( $sa* ).
  • Deben coincidir al menos 1 patrones de ( $sb* ).
  • Deben coincidir al menos 1 patrones de ( $fp* ).

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: Florian Roth (Nextron Systems)

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: 09abc4f0-ace7-5f53-b1d3-5f5c6bf3bdba

Etiquetas:CVE_2021_44228