Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_Exchange_Proxynotshell_Patterns_CVE_2022_41040_Oct22_1

Detects successful ProxyNotShell exploitation attempts in log files (attempt to identify the attack before the official release of detailed information)

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth (Nextron Systems)
Datum
2022-10-11
Geändert
2023-03-15
Score / Qualität
75 / 85

Was diese Regel erkennt

Detects successful ProxyNotShell exploitation attempts in log files (attempt to identify the attack before the official release of detailed information)

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

expl-exchange-proxynotshell-patterns-cve-2022-41040-oct22-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Exchange_Proxynotshell_Patterns_CVE_2022_41040_Oct22_1 : SCRIPT
{
	meta:
		description = "Detects successful ProxyNotShell exploitation attempts in log files (attempt to identify the attack before the official release of detailed information)"
		author = "Florian Roth (Nextron Systems)"
		id = "d2812fcd-0a20-5bbd-a9e1-9cca1ed58aa3"
		date = "2022-10-11"
		modified = "2023-03-15"
		old_rule_name = "EXPL_Exchange_ProxyNoShell_Patterns_CVE_2022_41040_Oct22_1"
		reference = "https://github.com/kljunowsky/CVE-2022-41040-POC"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cve_2022_41040_proxynoshell.yar#L2-L26"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "81b0f0fea2762beb47826ff95545c87e960e098b9d5f45eacfe07b3ecf319ac5"
		score = 75
		quality = 85
		tags = "SCRIPT"

	strings:
		$sr1 = / \/autodiscover\/autodiscover\.json[^\n]{1,300}owershell/ nocase ascii
		$sa1 = " 200 "
		$fp1 = " 444 "
		$fp2 = " 404 "
		$fp2b = " 401 "
		$fp3 = "GET /owa/ &Email=autodiscover/autodiscover.json%3F@test.com&ClientId=" ascii
		$fp4 = "@test.com/owa/?&Email=autodiscover/autodiscover.json%3F@test.com" ascii

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

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$sr1Regex/ \/autodiscover\/autodiscover\.json[^\n]{1,300}owershell/nocase ascii
$sa1Text" 200 "
$fp1Text" 444 "
$fp2Text" 404 "
$fp2bText" 401 "
$fp3Text"GET /owa/ &Email=autodiscover/autodiscover.json%3F@test.com&ClientId="ascii
$fp4Text"@test.com/owa/?&Email=autodiscover/autodiscover.json%3F@test.com"ascii

Bedingung

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

In Worten (Heuristik)

  • Mindestens 1 Muster aus ( $sa* ) müssen treffen.
  • Mindestens 1 Muster aus ( $fp* ) müssen treffen.
  • Muster $sr1 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

Lizenz & Namensnennung

Autor: Florian Roth (Nextron Systems)

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

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

Regel-ID: d2812fcd-0a20-5bbd-a9e1-9cca1ed58aa3

Metadaten

old_rule_nameEXPL_Exchange_ProxyNoShell_Patterns_CVE_2022_41040_Oct22_1

Tags:SCRIPT