O365 Added Service Principal

Description

This search detects the creation of a new Federation setting by alerting about an specific event related to its creation.

MITRE ATT&CK Techniques

ID Technique Tactic
T1136.003 Cloud Account Persistence

Environment Details

Field Value
Environment attack_range
Directory o365_added_service_principal
Test Date 2021-01-26

Datasets

The following datasets were collected during this attack simulation:

O365_add_service_principal

  • Path: /datasets/attack_techniques/T1136.003/o365_added_service_principal/o365_add_service_principal.log
  • Sourcetype: o365:management:activity
  • Source: o365

O365_added_service_principal-Json

  • Path: /datasets/attack_techniques/T1136.003/o365_added_service_principal/o365_added_service_principal.json
  • Sourcetype: o365:management:activity
  • Source: o365

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

Detection Name Type Source MITRE ATT&CK Analytic Story
O365 Added Service Principal TTP Cloud T1136.003 Office 365 Persistence Mechanisms, Cloud Federated Credential Abuse, 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/T1136.003/o365_added_service_principal/o365_add_service_principal.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