Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.3 KB
Raw Blame
id: splunk-security-content-289ed0a1-4c78-4a43-9321-44ea2e089c14
name: O365 New Forwarding Mailflow Rule Created
description: The following analytic detects the creation of new mail flow rules in
  Office 365 that may redirect or copy emails to unauthorized or external addresses.
  It leverages Office 365 Management Activity logs, specifically querying for the
  "New-TransportRule" operation and parameters like "BlindCopyTo", "CopyTo", and "RedirectMessageTo".
  This activity is significant as it can indicate potential data exfiltration or unauthorized
  access to sensitive information. If confirmed malicious, attackers could intercept
  or redirect email communications, leading to data breaches or information leakage.
severity: medium
enabled: false
tags:
  mitre:
  - T1114
  categories:
  - cloud
references:
- https://attack.mitre.org/techniques/T1114/
- https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/mail-flow-rules
- https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/mail-flow-rule-actions
logsource:
  product: splunk
detection:
  splunk_spl: '`o365_management_activity` Workload=Exchange Operation="New-TransportRule"
    | eval match1=mvfind(''Parameters{}.Name'',"BlindCopyTo") | eval match2=mvfind(''Parameters{}.Name'',"CopyTo")
    | eval match3=mvfind(''Parameters{}.Name'', "RedirectMessageTo") | where match1>=
    0 OR match2>= 0 OR match3>=0 | eval ForwardTo=coalesce(BlindCopyTo, CopyTo, RedirectMessageTo)
    | search ForwardTo!="" | rename UserId as user | fillnull | stats count earliest(_time)
    as firstTime latest(_time) as lastTime by user, Name, ForwardTo, vendor_account,
    vendor_product, dest, signature | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`
    | `o365_new_forwarding_mailflow_rule_created_filter`'
provenance:
  source: splunk/security_content
  source_id: 289ed0a1-4c78-4a43-9321-44ea2e089c14
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/cloud/o365_new_forwarding_mailflow_rule_created.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema