Microsoft Exchange ProxyToken Exploitation via ECP POST and InboxRules NewObject (CVE-2021-33766)

Flags POSTs to Exchange ECP InboxRules endpoints with SecurityToken= that return HTTP 500, indicating ProxyToken exploitation attempts.

FreeReviewedSigma · Critical · v5
Category
webserver
Author
Florian Roth (Nextron Systems), Max Altgelt (Nextron Systems), Christian Burkard (Nextron Systems) (SigmaHQ), DRL 1.1
Published
2021-08-30
Updated
2026-07-31
title: Microsoft Exchange ProxyToken Exploitation via ECP POST and InboxRules NewObject (CVE-2021-33766)
id: 2100cd1b-49a1-49cf-8d57-ff5360977781
status: test
description: This rule flags webserver requests that return HTTP 500 while targeting Microsoft Exchange ECP endpoints and creating inbox rules via RulesEditor. It matches POST activity to /ecp/ with /RulesEditor/InboxRules.svc/NewObject, including query strings containing SecurityToken=, which is indicative of attempted ProxyToken abuse. The detection relies on webserver request telemetry including HTTP method, URI query contents, and server response status codes.
references:
  - https://www.zerodayinitiative.com/blog/2021/8/30/proxytoken-an-authentication-bypass-in-microsoft-exchange-server
  - https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2021/Exploits/CVE-2021-33766/web_cve_2021_33766_msexchange_proxytoken.yml
author: Florian Roth (Nextron Systems), Max Altgelt (Nextron Systems), Christian Burkard (Nextron Systems), Huntrule Team
date: 2021-08-30
modified: 2023-01-02
tags:
  - attack.initial-access
  - attack.t1190
  - cve.2021-33766
  - detection.emerging-threats
logsource:
  category: webserver
detection:
  selection_1:
    cs-method: POST
    cs-uri-query|contains|all:
      - /ecp/
      - /RulesEditor/InboxRules.svc/NewObject
    sc-status: 500
  selection_2:
    cs-uri-query|contains|all:
      - SecurityToken=
      - /ecp/
    sc-status: 500
  condition: 1 of selection_*
falsepositives:
  - Unknown
level: critical
license: DRL-1.1
related:
  - id: 56973b50-3382-4b56-bdf5-f51a3183797a
    type: derived