Huntress Correlates Exchange Logs and Defender Alerts to Investigate Exploit Activity

· Original article ↗

Summary

Huntress analysts correlated Defender, PowerShell, Exchange, and web-server logs to investigate commands sent to an unpatched Exchange endpoint. The activity appeared consistent with a scan; Defender remediated the commands, and the customer was urged to update.

Key points

  • A Huntress customer added its agent to an endpoint in January 2024; analysts then found a Defender alert for finger.exe activity linked to an IP associated with activity observed in November 2023.
  • Windows Defender logs showed four commands, including three base64-encoded PowerShell commands; Defender reported remediating all four.
  • Exchange CmdletLogs and web-server logs contained events corresponding in time to the detected commands, helping analysts corroborate the activity.
  • The commands occurred within less than a minute. With no follow-on activity identified, Huntress assessed that they appeared to be associated with a scan.
  • Huntress found the customer's Exchange installation had last been updated in September 2021 and notified the customer of the need to update.
  • The article says prior identification and sharing of indicators helped Huntress investigate activity that predated installation of its agent.

Article Details

Attack Vectors
  • A legacy MSExchange exploit associated with the OWASSRF exploit information was used against an endpoint; Huntress assessed that the observed commands appeared to be associated with a scan because no follow-on activity was identified.
  • Commands were issued through MSExchange PowerShell, including base64-encoded PowerShell and Windows Command Shell commands.
  • The finger.exe utility was used to send reconnaissance information to an external IP address.
Defensive Notes
  • Update MSExchange installations; the affected customer's version had last been updated in September 2021.
  • Correlate Windows Defender detection events, MSExchange CmdletLogs event ID 6, and web server POST logs to investigate activity.
  • Windows Defender remediated all four detected commands, but the observed 17-second gap between detection and action was considered enough time for a command to complete.

Indicators of compromise

TypeIndicatorContext
IPV4185[.]56[.]83[.]82IP address associated with the activity; source of POST requests to the web server and destination for finger.exe commands.

MITRE ATT&CK

People

Vendors

Products

Tools

Related Articles