O365 Oauth App Ews Mailbox Access

Description

Manually accessed O365 emails via Exchange Web Services and an OAuth application registration using a PowerShell script

MITRE ATT&CK Techniques

ID Technique Tactic
T1114.002 Remote Email Collection Collection

Environment Details

Field Value
Environment attack_range
Directory o365_oauth_app_ews_mailbox_access
Test Date 2024-02-01

Datasets

The following datasets were collected during this attack simulation:

O365_oauth_app_ews_mailbox_access

  • Path: /datasets/attack_techniques/T1114.002/o365_oauth_app_ews_mailbox_access/o365_oauth_app_ews_mailbox_access.log
  • Sourcetype: linux_secure
  • Source: linux_secure

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

Detection Name Type Source MITRE ATT&CK Analytic Story
O365 OAuth App Mailbox Access via EWS TTP Cloud T1114.002 Office 365 Collection Techniques, NOBELIUM Group

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/attack_techniques/T1114.002/o365_oauth_app_ews_mailbox_access/o365_oauth_app_ews_mailbox_access.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