PoC Monitor
← All CVEs
CVE-2021-27065published 2 Mar 2021 23:55 UTCData: JSON · API

Microsoft Exchange Server 2013 Cumulative Update 21

Microsoft Exchange Server Remote Code Execution Vulnerability

Microsoft Exchange Server Remote Code Execution Vulnerability

First public PoC 1.7 daysafter publication · 4 Mar 2021
Public PoCs119 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS7.8high · scored by CNA · CWE-22
CISA KEV 3 Nov 2021246 days after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180+210+240CVE published2 Mar 2021 · t = 0First public PoC4 Mar 2021 · t+1.7dAdded to CISA KEV3 Nov 2021 · t+246d

First public PoC 1.7 days after publication; added to CISA KEV 246 days after publication. First PoC: Ahsanzia/Exchange-Exploit (created 4 Mar 2021, found by us: backfilled).

PoC repositories

Found on GitHub.

9 PoCs · 2 informational · 5 not a PoC · 1 suspicious or fake

PoCs 9
RepositoryCreatedStarsAssessment
Ahsanzia/Exchange-Exploit 4 Mar 2021 +1.7 d 5 PoC via PoC Index
adamrpostjr/cve-2021-27065 6 Mar 2021 +3.2 d 11 PoC via PoC Index
evilashz/ExchangeSSRFtoRCEExploit 15 Mar 2021 +12 d 28 PoC
p0wershe11/ProxyLogon 17 Mar 2021 +14 d 123 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

hictf/CVE-2021-26855-CVE-2021-27065 23 Mar 2021 +20 d 0 PoC
praetorian-inc/proxylogon-exploit 24 Mar 2021 +21 d 52 PoC
kh4sh3i/ProxyLogon 27 Jun 2022 +1.3 y 9 PoC via PoC Index
trymonoly/ProxyLogon 9 Oct 2024 +3.6 y 1 PoC via PoC Index
SimoesCTT/CTT-Exchange-RCE-v1.0---Microsoft-Exchange-Exploit-CVSS-10.0-CRITICAL-CVE-2021-26855-CVE-2021-27065 28 Jan 2026 +4.9 y 1 PoC
Informational 2
RepositoryCreatedStarsAssessment
Nick-Yin12/106362522 19 Apr 2021 +47 d 0 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

SimoesCTT/CTT-ProxyLogon-RCE-v1.0---Convergent-Time-Theory-Enhanced-Microsoft-Exchange-Exploit 27 Jan 2026 +4.9 y 0 Informational · detection
Not a PoC 5
RepositoryCreatedStarsAssessment
srvaccount/CVE-2021-26855-PoC 9 Mar 2021 +6.6 d 17 Not a PoC · unrelated
R0XDEADBEEF/CVE-2021-26855 11 Mar 2021 +8.8 d 12 Not a PoC · unrelated
r0xDB/CVE-2021-26855 11 Mar 2021 +8.8 d 12 Not a PoC · unrelated
raheel0x01/CVE-2021-26855 11 Mar 2021 +8.8 d 12 Not a PoC · unrelated
herwonowr/exprolog 15 Mar 2021 +12 d 184 Not a PoC · unrelated
Suspicious or fake 1
RepositoryCreatedStarsAssessment
zainimran/Capstone-MISP-Module 6 Apr 2021 +34 d 1 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 9 PoC repos

GET //{var}/aspnet_client/lUc1f3r11.aspx

Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/proxylogon.go:291

POST //http://{var}/aspnet_client/lUc1f3r11.aspx

Body markers
lUc1f3r11=Response.Write(new ActiveXObject("WScript.Shell").exec("cmd /c in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/proxylogon.go:316

POST //http://{var}/ecp/{var}.js

Key headers
Cookie: X-BEResource=Admin@{var}:444/ecp/proxyLogon.ecp?a=~1942062522; Cookie: X-BEResource=Admin@{var}:444/ecp/DDI/DDIService.svc/GetObject?schema=OABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Cookie: X-BEResource=Admin@{var}:444/ecp/DDI/DDIService.svc/SetObject?schema=OABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Cookie: X-BEResource=Admin@{var}:444/ecp/DDI/DDIService.svc/SetObject?schema=ResetOABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Msexchlogonaccount: {var} Msexchlogonmailbox: {var} Msexchtargetmailbox: {var}
Body markers
<r at="Negotiate" ln="john"> "filter" "Parameters" "__type":"JsonDictionaryOfanyType:#Microsoft.Exchange.Management.ControlPanel" "SelectedView" "SelectedVDirType":"All" "sort" "identity" "__type":"Identity:ECP" "DisplayName":"OAB (Default Web Site)" "RawIdentity" "properties" "ExternalUrl" "FilePathName" in text/xml
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/proxylogon.go:160 kh4sh3i/ProxyLogon/proxylogon.go:215 kh4sh3i/ProxyLogon/proxylogon.go:243 kh4sh3i/ProxyLogon/proxylogon.go:266

POST /ecp/auth/o.aspx

Body markers
kxpprfgvnosz=Response.Write( in application/x-www-form-urlencoded
Ports
8080
Seen in
1 repo: praetorian-inc/proxylogon-exploit
Evidence
praetorian-inc/proxylogon-exploit/README.md:63

POST /ecp/pentest.js

Key headers
Cookie: X-BEResource={var}/EWS/Exchange.asmx?a=~1942062522; Cookie: X-BEResource=Admin@{var}:444/autodiscover/autodiscover.xml?a=~1942062522; Cookie: X-BEResource=Admin@{var}:444/mapi/emsmdb?MailboxId={var}/owa/auth.owa&a=~1942062522; X-Clientapplication: Outlook/15.0.4815.1002 X-Clientinfo: {var} X-Requestid: {var}:500 X-Requesttype: Connect
Body markers
<?xml version="1.0" encoding="utf-8"?> <Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"> in text/xml
PoC User-Agent
Hello-World
Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/proxylogon.go:394 kh4sh3i/ProxyLogon/proxylogon.go:425 kh4sh3i/ProxyLogon/proxylogon.go:449

POST /ecp/test.js

Key headers
Cookie: X-BEResource=@mail:444/ecp/proxylogon.ecp?#~1941962753; Cookie: X-BEResource=@mail:444/ecp/DDI/DDIService.svc/SetObject?schema=ResetOABVirtualDirectory&msExchEcpCanary=&a=#~1942062564; msExchEcpCanary=; ASP.NET_SessionId=; Cookie: X-BEResource={var}/ews/Exchange.asmx?#~1942062534; Cookie: X-BEResource={var}/autodiscover/autodiscover.xml?#~1942062534; Cookie: X-BEResource=@mail:444/mapi/emsmdb?MailboxId=6583fe51-aaaa-aaaa-aaaa-5afb512c2c2a@test.com&a=#~1942062534; Cookie: X-BEResource=@mail:444/ecp/DDI/DDIService.svc/GetList?schema=MailboxService&msExchEcpCanary=&a=#~1942062564; msExchEcpCanary=; ASP.NET_SessionId=; Cookie: X-BEResource=@mail/aspnet_client/TEST01.aspx?#~1942062564; Cookie: X-BEResource=@mail:444/ecp/DDI/DDIService.svc/GetList?schema=VirtualDirectory&msExchEcpCanary=&a=#~1942062564; msExchEcpCanary=; ASP.NET_SessionId=; Cookie: X-BEResource=@mail:444/ecp/DDI/DDIService.svc/SetObject?schema=OABVirtualDirectory&msExchEcpCanary=&a=#~1942062564; msExchEcpCanary=; ASP.NET_SessionId=; Msexchlogonmailbox: {var} Msexchlogonmailbox: S-1-5-20 X-Clientapplication: MapiHttpClient/15.1.225.37 X-Requestid: 5b8cd8f9-9a64-490d-8f0a-713c6cf078c9:1 X-Requesttype: Connect
Body markers
<r at="Negotiate" ln=""> "filter" "Parameters" "__type":"JsonDictionaryOfanyType:#Microsoft.Exchange.Management.ControlPanel" "SelectedView" "SelectedVDirType":"All" "sort" ''<?xml version="1.0" encoding="utf-8"?> ""<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006"> in text/xml
PoC User-Agent
ExchangeServicesClient/0.0.0.0
Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/manual/brute.py:27 kh4sh3i/ProxyLogon/manual/brute.py:58 kh4sh3i/ProxyLogon/manual/check.py:52 kh4sh3i/ProxyLogon/manual/check.py:87 kh4sh3i/ProxyLogon/manual/check.py:108 kh4sh3i/ProxyLogon/manual/check.py:148

POST /ecp/{var}.js

Key headers
#"msexchtargetmailbox": micle@mit.loc #"x-Vdirobjectid": S-1-5-21-3257950196-2120074785-2454614602-500 Cookie: X-BEResource=Admin@{var}:444/ecp/DDI/DDIService.svc/SetObject?schema=ResetOABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Cookie: X-BEResource=Administrator@{var}:444/mapi/emsmdb?MailboxId={var}&a=~1942062522; Cookie: X-BEResource=Administrator@{var}:444/ecp/proxyLogon.ecp?a=~1942062522; Cookie: X-BEResource=Administrator@{var}:444/ecp/DDI/DDIService.svc/GetObject?schema=OABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Cookie: X-BEResource=Administrator@{var}:444/ecp/DDI/DDIService.svc/SetObject?schema=OABVirtualDirectory&msExchEcpCanary={var}&a=~1942062522; ASP.NET_SessionId={var}; msExchEcpCanary={var} Msexchlogonaccount: S-1-5-21-3257950196-2120074785-2454614602-500 Msexchlogonmailbox: S-1-5-20 X-Clientapplication: Outlook/15.0.4815.1002 X-Clientinfo: {var} X-Requestid: {var}:2 X-Requesttype: Connect
Body markers
<r at="Negotiate" ln="john"> "filter" "sort" "identity" "properties" in application/mapi-http
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Seen in
1 repo: evilashz/ExchangeSSRFtoRCEExploit
Evidence
evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:102 evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:142 evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:183 evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:209 evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:237

POST /owa/auth.owa

Seen in
1 repo: kh4sh3i/ProxyLogon
Evidence
kh4sh3i/ProxyLogon/proxylogon.go:356

POST /owa/auth/{var}

Body markers
exec_code=Response.Write(new ActiveXObject("WScript.Shell").exec("cmd /c in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36
Seen in
1 repo: evilashz/ExchangeSSRFtoRCEExploit
Evidence
evilashz/ExchangeSSRFtoRCEExploit/Exchange_SSRFtoRCEChainExploit.py:258

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /rpc/
(?i)^/rpc/(?:[?#].*)?$
POST /ecp/y.js
(?i)^/ecp/y\.js(?:[?#].*)?$
GET //{var}/aspnet_client/lUc1f3r11.aspx
(?i)^//[^/?#]*/aspnet_client/lUc1f3r11\.aspx(?:[?#].*)?$
GET /ecp/default.flt
(?i)^/ecp/default\.flt(?:[?#].*)?$
GET /owa/auth/ctt_shell.aspx
(?i)^/owa/auth/ctt_shell\.aspx\?(?:.*&)?ctt_cmd=whoami

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /rpc/
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-27065 Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rpc/"; reference:url,poc.griffinguard.io/cve/CVE-2021-27065; classtype:web-application-attack; sid:9779221; rev:1;)
POST /ecp/y.js
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-27065 Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/ecp/y.js"; reference:url,poc.griffinguard.io/cve/CVE-2021-27065; classtype:web-application-attack; sid:9694002; rev:1;)
GET //{var}/aspnet_client/lUc1f3r11.aspx
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-27065 Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/aspnet_client/lUc1f3r11.aspx"; reference:url,poc.griffinguard.io/cve/CVE-2021-27065; classtype:web-application-attack; sid:9230066; rev:1;)
GET /ecp/default.flt
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-27065 Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/ecp/default.flt"; http.header; content:"Cookie: X-BEResource="; nocase; http.header_names; content:"X-Ctt-Layer"; nocase; http.header_names; content:"X-Ctt-Resonance"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2021-27065; classtype:web-application-attack; sid:9859277; rev:1;)
GET /owa/auth/ctt_shell.aspx
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2021-27065 Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/owa/auth/ctt_shell.aspx"; http.uri; content:"ctt_cmd=whoami"; reference:url,poc.griffinguard.io/cve/CVE-2021-27065; classtype:web-application-attack; sid:9741160; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /rpc/
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt (CVE-2021-27065)
id: gg-pocmon-cve-2021-27065-9779221
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-27065. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-27065
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/rpc/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.27065
POST /ecp/y.js
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt (CVE-2021-27065)
id: gg-pocmon-cve-2021-27065-9694002
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-27065. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-27065
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/ecp/y.js'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.27065
GET //{var}/aspnet_client/lUc1f3r11.aspx
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt (CVE-2021-27065)
id: gg-pocmon-cve-2021-27065-9230066
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-27065. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-27065
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/aspnet_client/lUc1f3r11.aspx'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.27065
GET /ecp/default.flt
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt (CVE-2021-27065)
id: gg-pocmon-cve-2021-27065-9859277
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-27065. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-27065
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/ecp/default.flt'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.27065
GET /owa/auth/ctt_shell.aspx
title: Microsoft Microsoft Exchange Server 2013 Cumulative Update 21 exploit attempt (CVE-2021-27065)
id: gg-pocmon-cve-2021-27065-9741160
status: experimental
description: Request pattern taken from public PoCs for CVE-2021-27065. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2021-27065
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/owa/auth/ctt_shell.aspx'
    cs-uri-query|contains|all:
      - 'ctt_cmd=whoami'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2021.27065