Detection rules › Splunk

O365 Security And Compliance Alert Triggered

Status
production
Severity
medium
Group by
Name, alert_description, alert_name, aws::recipientAccountId, dest, rule_id, severity, signature, src, user, vendor_product
Author
Mauricio Velazco, Splunk
Source
github.com/splunk/security_content

The following analytic identifies alerts triggered by the Office 365 Security and Compliance Center, indicating potential threats or policy violations. It leverages data from the o365_management_activity dataset, focusing on events where the workload is SecurityComplianceCenter and the operation is AlertTriggered. This activity is significant as it highlights security and compliance issues within the O365 environment, which are crucial for maintaining organizational security. If confirmed malicious, these alerts could indicate attempts to breach security policies, leading to unauthorized access, data exfiltration, or other malicious activities.

Known false positives

  • O365 Security and Compliance may also generate false positives or trigger on legitimate behavior, filter as needed.

MITRE ATT&CK coverage

Telemetry coverage

PlatformRecord / event type
Microsoft 365AlertTriggered

Rules detecting the same action

These rules filter on the same operation.

Rule body

name: O365 Security And Compliance Alert Triggered
id: 5b367cdd-8dfc-49ac-a9b7-6406cf27f33e
version: 12
creation_date: '2024-04-17'
modification_date: '2026-05-13'
author: Mauricio Velazco, Splunk
status: production
type: TTP
description: The following analytic identifies alerts triggered by the Office 365 Security and Compliance Center, indicating potential threats or policy violations. It leverages data from the `o365_management_activity` dataset, focusing on events where the workload is SecurityComplianceCenter and the operation is AlertTriggered. This activity is significant as it highlights security and compliance issues within the O365 environment, which are crucial for maintaining organizational security. If confirmed malicious, these alerts could indicate attempts to breach security policies, leading to unauthorized access, data exfiltration, or other malicious activities.
data_source: []
search: |-
    `o365_management_activity` Workload=SecurityComplianceCenter Category=ThreatManagement Operation=AlertTriggered
      | spath input=Data path=f3u output=user
      | spath input=Data path=op output=operation
      | spath input=_raw path=wl
      | spath input=Data path=rid output=rule_id
      | spath input=Data path=ad output=alert_description
      | spath input=Data path=lon output=operation_name
      | spath input=Data path=an output=alert_name
      | spath input=Data path=sev output=severity
      | fillnull
      | stats count earliest(_time) as firstTime latest(_time) as lastTime
        BY user, Name, rule_id,
           alert_description, alert_name, severity,
           dest, src, vendor_account,
           vendor_product, signature
      | `security_content_ctime(firstTime)`
      | `security_content_ctime(lastTime)`
      | `o365_security_and_compliance_alert_triggered_filter`
how_to_implement: You must install the Splunk Microsoft Office 365 Add-on and ingest Office 365 management activity events.
known_false_positives: O365 Security and Compliance may also generate false positives or trigger on legitimate behavior, filter as needed.
references:
    - https://attack.mitre.org/techniques/T1078/004/
    - https://learn.microsoft.com/en-us/purview/alert-policies?view=o365-worldwide
    - https://learn.microsoft.com/en-us/purview/alert-policies
finding:
    title: Security and Compliance triggered an alert for $user$
    entity:
        field: user
        type: user
        score: 50
analytic_story:
    - Office 365 Account Takeover
asset_type: O365 Tenant
mitre_attack_id:
    - T1078.004
product:
    - Splunk Enterprise
    - Splunk Enterprise Security
    - Splunk Cloud
category: cloud
security_domain: identity

Stages and Predicates

Stage 1: search

`o365_management_activity` Workload=SecurityComplianceCenter Category=ThreatManagement Operation=AlertTriggered

Stage 2: spath

| spath input=Data path=f3u output=user

Stage 3: spath

| spath input=Data path=op output=operation

Stage 4: spath

| spath input=_raw path=wl

Stage 5: spath

| spath input=Data path=rid output=rule_id

Stage 6: spath

| spath input=Data path=ad output=alert_description

Stage 7: spath

| spath input=Data path=lon output=operation_name

Stage 8: spath

| spath input=Data path=an output=alert_name

Stage 9: spath

| spath input=Data path=sev output=severity

Stage 10: fillnull

| fillnull

Stage 11: stats

| stats count earliest(_time) as firstTime latest(_time) as lastTime
    BY user, Name, rule_id,
       alert_description, alert_name, severity,
       dest, src, vendor_account,
       vendor_product, signature

Stage 12: search

| `security_content_ctime(firstTime)`

Stage 13: search

| `security_content_ctime(lastTime)`

Stage 14: search

| `o365_security_and_compliance_alert_triggered_filter`

Indicators

These rows show field, operator, and value matches.