Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Susp_Jsp_General_Runtime_Exec_Req

Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec().

Sospechoso / huntingVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2022-02-02
Modificada
2024-07-30
Puntuación / Calidad
65 / 80

Qué detecta esta regla

Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec().

Define 1 patrones (1 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-jsp-general-runtime-exec-req.yarBSD 2-Clause License
rule VOLEXITY_Susp_Jsp_General_Runtime_Exec_Req : FILE MEMORY
{
	meta:
		description = "Looks for a common design pattern in webshells where a request attribute is passed as an argument to exec()."
		author = "threatintel@volexity.com"
		id = "7f1539bd-a2f0-50dd-b500-ada4e0971d13"
		date = "2022-02-02"
		modified = "2024-07-30"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-08-10 Mass exploitation of (Un)authenticated Zimbra RCE CVE-2022-27925/yara.yar#L35-L56"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "4935f0c50057e28efa7376c734a4c66018f8d20157b6584399146b6c79a6de15"
		logic_hash = "d3048aba80c1c39f1673931cd2d7c5ed83045603b0ad204073fd788d0103a6c8"
		score = 65
		quality = 80
		tags = "FILE, MEMORY"
		os = "win,linux"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "high"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 6450
		version = 3

	strings:
		$s1 = "Runtime.getRuntime().exec(request." ascii

	condition:
		$s1
}

Cadenas (1 patrones)

IdentificadorTipoValorModificadores
$s1texto"Runtime.getRuntime().exec(request."ascii

Condición

$s1

En palabras sencillas (Heurística)

  • El patrón $s1 debe estar presente.

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).

  • 4935f0c50057e28efa7376c734a4c66018f8d20157b6584399146b6c79a6de15

Licencia y atribución

Autor: threatintel@volexity.com

Repositorio de origen: Volexity threat-intel @ 3a9d0b5245

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Aviso de copyright: Copyright 2022 by Volexity, Inc.

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: 7f1539bd-a2f0-50dd-b500-ada4e0971d13

Metadatos

oswin,linux
os_archall
scan_contextfile,memory
severityhigh
rule_id6450
version3

Etiquetas:FILEMEMORY