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.0 KB
Raw Blame
id: splunk-security-content-06b23921-bfe2-4576-89dd-616f06e129da
name: O365 Exfiltration via File Download
description: The following analytic detects when an excessive number of files are
  downloaded from o365 by the same user over a short period of time. O365 may bundle
  these files together as a ZIP file, however each file will have it's own download
  event. This behavior may indicate an attacker staging data for exfiltration or an
  insider threat removing organizational data. Additional attention should be taken
  with any Azure Guest (#EXT#) accounts.
severity: medium
enabled: false
tags:
  mitre:
  - T1567
  - T1530
  categories:
  - cloud
references:
- https://attack.mitre.org/techniques/T1567/exfil
- https://www.varonis.com/blog/sidestepping-detection-while-exfiltrating-sharepoint-data
- https://thedfirjournal.com/posts/m365-data-exfiltration-rclone/
logsource:
  product: splunk
detection:
  splunk_spl: '`o365_management_activity` Operation IN ("filedownloaded")

    | eval user = replace(mvindex(split(lower(UserId),"#ext#"),0),"_","@"), user_flat
    = replace(UserId, "[^A-Za-z0-9]","_")

    | stats values(user) as user, latest(ClientIP) as src values(ZipFileName) as file_name,
    values(Operation) as signature, values(UserAgent) as http_user_agent, dc(SourceFileName)
    as count, min(_time) as firstTime, max(_time) as lastTime by Workload,UserId,SiteUrl

    | rename SiteUrl as file_path,Workload as app

    | where count > 50

    | `security_content_ctime(firstTime)`

    | `security_content_ctime(lastTime)`

    | `o365_exfiltration_via_file_download_filter`'
provenance:
  source: splunk/security_content
  source_id: 06b23921-bfe2-4576-89dd-616f06e129da
  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_exfiltration_via_file_download.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema