Exchange

Description

Manual generation suspicious PowerShell Exchange modules used in ProxyShell or ProxyNotShell based attacks.

MITRE ATT&CK Techniques

ID Technique Tactic
T1059.001 PowerShell Execution

Environment Details

Field Value
Environment attack_range
Directory exchange
Test Date 2022-10-05

Datasets

The following datasets were collected during this attack simulation:

Msexchangemanagement

  • Path: /datasets/attack_techniques/T1059.001/exchange/msexchangemanagement.log
  • Sourcetype: MSExchange:Management
  • Source: MSExchange:Management

Windows-Powershell

  • Path: /datasets/attack_techniques/T1059.001/exchange/windows-powershell.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
Windows MSExchange Management Mailbox Cmdlet Usage Anomaly Endpoint T1059.001 ProxyShell, BlackByte Ransomware, ProxyNotShell, Scattered Spider
Exchange PowerShell Module Usage TTP Endpoint T1059.001 ProxyNotShell, CISA AA22-277A, ProxyShell, BlackByte Ransomware, CISA AA22-264A, Scattered Spider

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1059.001/exchange/msexchangemanagement.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0