Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_LOG_Proxynotshell_POC_CVE_2022_41040_Nov22

Detects logs generated after a successful exploitation using the PoC code against CVE-2022-41040 and CVE-2022-41082 (aka ProxyNotShell) in Microsoft Exchange servers

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Florian Roth (Nextron Systems)
Date
2022-11-17
Modifiée
2023-12-05
Score / Qualité
70 / 85

Ce que détecte cette règle

Detects logs generated after a successful exploitation using the PoC code against CVE-2022-41040 and CVE-2022-41082 (aka ProxyNotShell) in Microsoft Exchange servers

Elle définit 5 motifs (5 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

log-proxynotshell-poc-cve-2022-41040-nov22.yarDetection Rule License 1.1
rule SIGNATURE_BASE_LOG_Proxynotshell_POC_CVE_2022_41040_Nov22 : CVE_2022_41040 CVE_2022_41082
{
	meta:
		description = "Detects logs generated after a successful exploitation using the PoC code against CVE-2022-41040 and CVE-2022-41082 (aka ProxyNotShell) in Microsoft Exchange servers"
		author = "Florian Roth (Nextron Systems)"
		id = "1e47d124-3103-5bf5-946f-b1bb69ff2c8e"
		date = "2022-11-17"
		modified = "2023-12-05"
		reference = "https://github.com/testanull/ProxyNotShell-PoC"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vuln_proxynotshell_cve_2022_41040.yar#L2-L20"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "7f91502fd9c59180970fc4253134582b44ba318db03ef4eb575257b2f3818d94"
		score = 70
		quality = 85
		tags = "CVE-2022-41040, CVE-2022-41082"

	strings:
		$aa1 = " POST " ascii wide
		$aa2 = " GET " ascii wide
		$ab1 = " 200 " ascii wide
		$s01 = "/autodiscover.json x=a" ascii wide
		$s02 = "/autodiscover/admin@localhost/" ascii wide

	condition:
		1 of ( $aa* ) and $ab1 and 1 of ( $s* )
}

Chaînes (5 motifs)

IdentifiantTypeValeurModificateurs
$aa1texte" POST "ascii wide
$aa2texte" GET "ascii wide
$ab1texte" 200 "ascii wide
$s01texte"/autodiscover.json x=a"ascii wide
$s02texte"/autodiscover/admin@localhost/"ascii wide

Condition

1 of ( $aa* ) and $ab1 and 1 of ( $s* )

En clair (Heuristique)

  • Au moins 1 motifs de ( $aa* ) doivent être trouvés.
  • Au moins 1 motifs de ( $s* ) doivent être trouvés.
  • Le motif $ab1 doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Florian Roth (Nextron Systems)

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 1e47d124-3103-5bf5-946f-b1bb69ff2c8e

Tags:CVE_2022_41040CVE_2022_41082