Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Webshell_Jsp_Regeorg

Detects the reGeorg webshells' JSP version.

WebshellVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2022-03-08
Modificada
2024-09-20
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects the reGeorg webshells' JSP version.

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

webshell-jsp-regeorg.yarBSD 2-Clause License
rule VOLEXITY_Webshell_Jsp_Regeorg : FILE MEMORY
{
	meta:
		description = "Detects the reGeorg webshells' JSP version."
		author = "threatintel@volexity.com"
		id = "205ee383-4298-5469-a509-4ce3eaf9dd0e"
		date = "2022-03-08"
		modified = "2024-09-20"
		reference = "https://github.com/SecWiki/WebShell-2/blob/master/reGeorg-master/tunnel.jsp"
		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#L57-L86"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "f9b20324f4239a8c82042d8207e35776d6777b6305974964cd9ccc09d431b845"
		logic_hash = "cecb71605d9112d509823c26e40e1cf9cd6db581db448db5c9ffc63a2bfe529e"
		score = 75
		quality = 80
		tags = "FILE, MEMORY"
		os = "win"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 6575
		version = 5

	strings:
		$magic = "socketChannel.connect(new InetSocketAddress(target, port))" ascii
		$a1 = ".connect(new InetSocketAddress" ascii
		$a2 = ".configureBlocking(false)" ascii
		$a3 = ".setHeader(" ascii
		$a4 = ".getHeader(" ascii
		$a5 = ".flip();" ascii

	condition:
		$magic or all of ( $a* )
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$magictexto"socketChannel.connect(new InetSocketAddress(target, port))"ascii
$a1texto".connect(new InetSocketAddress"ascii
$a2texto".configureBlocking(false)"ascii
$a3texto".setHeader("ascii
$a4texto".getHeader("ascii
$a5texto".flip();"ascii

Condición

$magic or all of ( $a* )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $a* ).
  • El patrón $magic 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).

  • f9b20324f4239a8c82042d8207e35776d6777b6305974964cd9ccc09d431b845

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: 205ee383-4298-5469-a509-4ce3eaf9dd0e

Metadatos

oswin
os_archall
scan_contextfile,memory
severitycritical
rule_id6575
version5

Etiquetas:FILEMEMORY