YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Exchange_Proxyshell_Successful_Aug21_1
Detects successful ProxyShell exploitation attempts in log files
- Author
- Florian Roth (Nextron Systems)
- Date
- 2021-08-08
- Modified
- 2025-03-21
- Score / Quality
- 65 / 83
What this rule detects
Detects successful ProxyShell exploitation attempts in log files
It defines 4 patterns (0 text, 0 hex, 4 regex).
Summary generated from the rule's metadata and condition.
Rule source
expl-exchange-proxyshell-successful-aug21-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Exchange_Proxyshell_Successful_Aug21_1 : SCRIPT
{
meta:
= "Detects successful ProxyShell exploitation attempts in log files"
= "Florian Roth (Nextron Systems)"
= "8c11cd1a-6d3f-5f29-af61-17179b01ca8b"
= "2021-08-08"
= "2025-03-21"
= "https://blog.orange.tw/2021/08/proxylogon-a-new-attack-surface-on-ms-exchange-part-1.html"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_proxyshell.yar#L17-L33"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "06ab609a8efe3b36b6356a9cf7b7b11b2fc2a556ec1df6995008a9df86b3fcee"
= 65
= 83
= "SCRIPT"
strings:
$xr1a = / \/autodiscover\/autodiscover\.json[^\n]{1,300}\/(powershell|X-Rps-CAT)/ nocase ascii
$xr1b = / \/autodiscover\/autodiscover\.json[^\n]{1,300}\/(mapi\/nspi|EWS\/)[^\n]{1,400}(200|302) 0 0/
$xr2 = /autodiscover\/autodiscover\.json[^\n]{1,60}&X-Rps-CAT=/ nocase ascii
$xr3 = /Email=autodiscover\/autodiscover\.json[^\n]{1,400}200 0 0/ nocase ascii
condition:
1 of them
}
Strings (4 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $xr1a | regex | / \/autodiscover\/autodiscover\.json[^\n]{1,300}\/(powershell|X-Rps-CAT)/ | nocase ascii |
| $xr1b | regex | / \/autodiscover\/autodiscover\.json[^\n]{1,300}\/(mapi\/nspi|EWS\/)[^\n]{1,400}(200|302) 0 0/ | |
| $xr2 | regex | /autodiscover\/autodiscover\.json[^\n]{1,60}&X-Rps-CAT=/ | nocase ascii |
| $xr3 | regex | /Email=autodiscover\/autodiscover\.json[^\n]{1,400}200 0 0/ | nocase ascii |
Condition
1 of themIn plain words (Heuristic)
- At least 1 patterns in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.
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: 8c11cd1a-6d3f-5f29-af61-17179b01ca8b
Tags:SCRIPT
Related rules
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-11
- 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)· 2021-03-02
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-01-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-12-22