Zum Inhalt springen

YARA · Volexity threat-intel

VOLEXITY_Webshell_Jsp_Regeorg

Detects the reGeorg webshells' JSP version.

WebshellVolexity threat-intelBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
threatintel@volexity.com
Datum
2022-03-08
Geändert
2024-09-20
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects the reGeorg webshells' JSP version.

Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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* )
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$magicText"socketChannel.connect(new InetSocketAddress(target, port))"ascii
$a1Text".connect(new InetSocketAddress"ascii
$a2Text".configureBlocking(false)"ascii
$a3Text".setHeader("ascii
$a4Text".getHeader("ascii
$a5Text".flip();"ascii

Bedingung

$magic or all of ( $a* )

In Worten (Heuristik)

  • Alle Muster aus ( $a* ) müssen treffen.
  • Muster $magic muss vorhanden sein.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • f9b20324f4239a8c82042d8207e35776d6777b6305974964cd9ccc09d431b845

Lizenz & Namensnennung

Autor: threatintel@volexity.com

Quell-Repository: Volexity threat-intel @ 3a9d0b5245

Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)

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

Copyright-Hinweis: Copyright 2022 by Volexity, Inc.

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 205ee383-4298-5469-a509-4ce3eaf9dd0e

Metadaten

oswin
os_archall
scan_contextfile,memory
severitycritical
rule_id6575
version5

Tags:FILEMEMORY