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
- Author
- Florian Roth (Nextron Systems)
- Date
- 2022-11-17
- Modified
- 2023-12-05
- Score / Quality
- 70 / 85
What this rule detects
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
It defines 5 patterns (5 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_LOG_Proxynotshell_POC_CVE_2022_41040_Nov22 : CVE_2022_41040 CVE_2022_41082
{
meta:
= "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"
= "Florian Roth (Nextron Systems)"
= "1e47d124-3103-5bf5-946f-b1bb69ff2c8e"
= "2022-11-17"
= "2023-12-05"
= "https://github.com/testanull/ProxyNotShell-PoC"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/vuln_proxynotshell_cve_2022_41040.yar#L2-L20"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "7f91502fd9c59180970fc4253134582b44ba318db03ef4eb575257b2f3818d94"
= 70
= 85
= "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* )
}
Strings (5 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $aa1 | text | " POST " | ascii wide |
| $aa2 | text | " GET " | ascii wide |
| $ab1 | text | " 200 " | ascii wide |
| $s01 | text | "/autodiscover.json x=a" | ascii wide |
| $s02 | text | "/autodiscover/admin@localhost/" | ascii wide |
Condition
1 of ( $aa* ) and $ab1 and 1 of ( $s* )In plain words (Heuristic)
- At least 1 patterns in ( $aa* ) must match.
- At least 1 patterns in ( $s* ) must match.
- Pattern $ab1 must be present.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Licence & attribution
Author: Florian Roth (Nextron Systems)
Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence: Detection Rule License 1.1 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 1e47d124-3103-5bf5-946f-b1bb69ff2c8e
Tags:CVE_2022_41040CVE_2022_41082
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-09-18
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-19
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-20
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-13
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-03-02