Detection rules › Splunk

O365 PST export alert

Status
production
Severity
medium
Group by
AlertEntityId, Name, Severity, aws::recipientAccountId, channel, dest, signature, src, user, vendor_product
Author
Rod Soto, Splunk
Source
github.com/splunk/security_content

The following analytic detects instances where a user has initiated an eDiscovery search or exported a PST file in an Office 365 environment. It leverages Office 365 management activity logs, specifically filtering for events under ThreatManagement with the name "eDiscovery search started or exported." This activity is significant as it may indicate data exfiltration attempts or unauthorized access to sensitive information. If confirmed malicious, it suggests an attacker or insider threat is attempting to gather or exfiltrate data, potentially leading to data breaches, loss of intellectual property, or unauthorized access to confidential communications. Immediate investigation is required.

Known false positives

  • PST export can be done for legitimate purposes but due to the sensitive nature of its content it must be monitored.

MITRE ATT&CK coverage

TacticTechniques
Collection

Rule body

name: O365 PST export alert
id: 5f694cc4-a678-4a60-9410-bffca1b647dc
version: 11
creation_date: '2020-12-16'
modification_date: '2026-05-13'
author: Rod Soto, Splunk
status: production
type: TTP
description: The following analytic detects instances where a user has initiated an eDiscovery search or exported a PST file in an Office 365 environment. It leverages Office 365 management activity logs, specifically filtering for events under ThreatManagement with the name "eDiscovery search started or exported." This activity is significant as it may indicate data exfiltration attempts or unauthorized access to sensitive information. If confirmed malicious, it suggests an attacker or insider threat is attempting to gather or exfiltrate data, potentially leading to data breaches, loss of intellectual property, or unauthorized access to confidential communications. Immediate investigation is required.
data_source:
    - O365
search: |-
    `o365_management_activity` Category=ThreatManagement Name="eDiscovery search started or exported"
      | fillnull
      | stats count earliest(_time) as firstTime latest(_time) as lastTime
        BY Source Severity AlertEntityId
           Name user src
           vendor_account vendor_product dest
           signature
      | `security_content_ctime(firstTime)`
      | `security_content_ctime(lastTime)`
      | `o365_pst_export_alert_filter`
how_to_implement: You must install splunk Microsoft Office 365 add-on. This search works with o365:management:activity
known_false_positives: PST export can be done for legitimate purposes but due to the sensitive nature of its content it must be monitored.
references:
    - https://attack.mitre.org/techniques/T1114/
finding:
    title: User $user$ has exported a PST file from the search using this operation- $signature$ with a severity of $Severity$
    entity:
        field: user
        type: user
        score: 50
analytic_story:
    - Office 365 Collection Techniques
    - Data Exfiltration
asset_type: O365 Tenant
mitre_attack_id:
    - T1114
product:
    - Splunk Enterprise
    - Splunk Enterprise Security
    - Splunk Cloud
category: cloud
security_domain: threat

Stages and Predicates

Stage 1: search

`o365_management_activity` Category=ThreatManagement Name="eDiscovery search started or exported"

Stage 2: fillnull

| fillnull

Stage 3: stats

| stats count earliest(_time) as firstTime latest(_time) as lastTime
    BY Source Severity AlertEntityId
       Name user src
       vendor_account vendor_product dest
       signature

Stage 4: search

| `security_content_ctime(firstTime)`

Stage 5: search

| `security_content_ctime(lastTime)`

Stage 6: search

| `o365_pst_export_alert_filter`

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Categoryeq
  • ThreatManagement
field:"Category" kind:eq value:"ThreatManagement"
Nameeq
  • "eDiscovery search started or exported"
field:"Name" kind:eq
sourcetypeeq
  • o365:management:activity
field:"sourcetype" kind:eq value:"o365:management:activity"