Huntress Analyzes OWASSRF Microsoft Exchange Exploit Chain and Its Post-Exploitation Activity

· Original article ↗

Summary

Huntress analyzed OWASSRF, a Microsoft Exchange exploit chain involving CVE-2022-41080 and CVE-2022-41082. It demonstrated SYSTEM-level code execution using unprivileged OWA credentials and reported observed post-exploitation activity and detections.

Key points

  • The OWASSRF chain combines CVE-2022-41080 and CVE-2022-41082 and bypasses Microsoft’s earlier mitigation guidance for ProxyNotShell, according to Huntress.
  • In a test environment, the proof of concept used valid, non-administrative OWA credentials and PowerShell Remoting to execute arbitrary PowerShell as NT AUTHORITY\SYSTEM.
  • Huntress observed increased exploitation attempts on customer systems on December 22, alongside rogue ScreenConnect installations and other post-exploitation activity.
  • Reported post-exploitation methods included bitsadmin downloads and PowerShell commands launched by the IIS worker process; observed tools included ScreenConnect and Mimikatz.
  • Huntress said Windows Defender detected and quarantined multiple attempts on one system where it was enabled and updated; several other affected systems had Defender disabled.
  • Huntress described Sigma rules for detecting PowerShell spawned by w3wp.exe and PowerShell reverse-shell behavior, and advised patching on-premises Exchange servers.

Article Details

Attack Vectors
  • OWASSRF exploits the CVE-2022-41080 and CVE-2022-41082 chain against unpatched Microsoft Exchange servers. The demonstrated proof of concept authenticates to Outlook Web Access with valid, non-administrative user credentials, then uses the PowerShell Remoting endpoint through an authenticated HTTP session to achieve arbitrary PowerShell execution as NT AUTHORITY\SYSTEM.
  • Huntress observed exploitation delivering malicious PowerShell and rogue ConnectWise Control (ScreenConnect) installations. Reported post-exploitation activity included downloading a payload with bitsadmin.exe and using PowerShell to download an MSI file.
  • Huntress also observed use of rundll32.exe and msiexec.exe in attempts to install a rogue ScreenConnect instance.
Defensive Notes
  • Patch on-premises Exchange servers; the article advises patching if the host was not patched on or after November 8.
  • Huntress recommends monitoring for PowerShell processes spawned by the IIS web server process w3wp.exe, including encoded command lines, and for raw TCP socket use in PowerShell that may indicate reverse-shell activity.
  • Review System Event Log event ID 7045 for ScreenConnect service installation and investigate the reported post-exploitation indicators.
  • The article reports Windows Defender detections and quarantine of some exploit attempts; Huntress also found Windows Defender disabled on several systems with post-exploitation activity.

Indicators of compromise

TypeIndicatorContext
DOMAINautodiscover[.]hofduncan[.]orgDomain used in a PowerShell command to download a post-exploitation file associated with rogue ScreenConnect activity.
DOMAINmail[.]stannparish[.]orgDomain Huntress listed for post-exploitation ScreenConnect download activity.
HOSTNAMEinstance-cmjrni-relay[.]screenconnect[.]comScreenConnect relay hostname reported in connection with a rogue installed instance.
IPV4155[.]138[.]240[.]251IP address Huntress identified as post-exploitation ScreenConnect C2.
IPV4179[.]60[.]149[.]28IP address Huntress identified as the source for a bitsadmin post-exploitation payload download.
IPV466[.]42[.]116[.]130IP address Huntress identified as post-exploitation ScreenConnect C2.
URLhxxp[:]//179[.]60[.]149[.]28:4427/22.exePayload download URL in a bitsadmin command used to install a rogue ScreenConnect instance.
URLhxxps[:]//autodiscover[.]hofduncan[.]org/owa/auth/Current/themes/6.cssSpecific URL used by a PowerShell download command to retrieve a file saved locally as c.msi during post-exploitation.

MITRE ATT&CK

CVE

People

Malware

Vendors

Products

Tools

Related Articles