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)
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2022-10-11
- Modifiée
- 2023-03-15
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
Detects successful ProxyNotShell exploitation attempts in log files (attempt to identify the attack before the official release of detailed information)
Elle définit 7 motifs (6 texte, 0 hex, 1 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule SIGNATURE_BASE_EXPL_Exchange_Proxynotshell_Patterns_CVE_2022_41040_Oct22_1 : SCRIPT
{
meta:
= "Detects successful ProxyNotShell exploitation attempts in log files (attempt to identify the attack before the official release of detailed information)"
= "Florian Roth (Nextron Systems)"
= "d2812fcd-0a20-5bbd-a9e1-9cca1ed58aa3"
= "2022-10-11"
= "2023-03-15"
= "EXPL_Exchange_ProxyNoShell_Patterns_CVE_2022_41040_Oct22_1"
= "https://github.com/kljunowsky/CVE-2022-41040-POC"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_cve_2022_41040_proxynoshell.yar#L2-L26"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "81b0f0fea2762beb47826ff95545c87e960e098b9d5f45eacfe07b3ecf319ac5"
= 75
= 85
= "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* )
}
Chaînes (7 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $sr1 | regex | / \/autodiscover\/autodiscover\.json[^\n]{1,300}owershell/ | nocase ascii |
| $sa1 | texte | " 200 " | |
| $fp1 | texte | " 444 " | |
| $fp2 | texte | " 404 " | |
| $fp2b | texte | " 401 " | |
| $fp3 | texte | "GET /owa/ &Email=autodiscover/autodiscover.json%3F@test.com&ClientId=" | ascii |
| $fp4 | texte | "@test.com/owa/?&Email=autodiscover/autodiscover.json%3F@test.com" | ascii |
Condition
$sr1 and 1 of ( $sa* ) and not 1 of ( $fp* )En clair (Heuristique)
- Au moins 1 motifs de ( $sa* ) doivent être trouvés.
- Au moins 1 motifs de ( $fp* ) doivent être trouvés.
- Le motif $sr1 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é.
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)
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: d2812fcd-0a20-5bbd-a9e1-9cca1ed58aa3
Métadonnées
| old_rule_name | EXPL_Exchange_ProxyNoShell_Patterns_CVE_2022_41040_Oct22_1 |
|---|
Tags:SCRIPT
Règles liées
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-08
- 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