SharePoint, Teams & SOC Playbooks · T1530 / T1567

Detecting Mass SharePoint & OneDrive FileDownloaded Exfiltration in UAL

Direct Answer (Key Forensic Takeaway)

When departing employees or external intruders bulk-download SharePoint or OneDrive libraries, Purview RecordType 6 records FileDownloaded (browser/API downloads) and FileSyncDownloadedFull (OneDrive sync client downloads) containing SourceFileName, SiteUrl, ClientIP, and UserAgent. AuditVane rule AV-010 flags download bursts automatically and exports every downloaded filename.

Detection Objective & Threat Scope

SharePoint Online and OneDrive for Business concentrate an enterprise’s intellectual property, M&A models, customer CRM dumps, and source archives in one cloud repository. Whether an insider gives two weeks’ notice and copies the Finance folder, or an external AiTM attacker runs a Graph/browser scrape after landing in an employee session, `FileDownloaded` telemetry is your primary proof of data loss.

Unlike email attachments capped at 35 MB, a single SharePoint browser click on "Download" over a top-level folder can export gigabytes of corporate spreadsheets as a ZIP bundle in seconds.

Inside Purview RecordType 6 (`SharePointFileOperation`), compare `FileAccessed` (viewing a document in the web viewer), `FileDownloaded` (pulling raw file bytes via browser, folder ZIP export, or Graph API), and `FileSyncDownloadedFull` (desktop OneDrive sync client writing offline copies locally). Each record exposes `SourceFileName`, `SourceRelativeUrl`, `SiteUrl`, `ClientIP`, and `UserAgent`.

AuditVane rule `AV-010` aggregates `FileDownloaded` and `FileSyncDownloadedFull` counts per actor and alerts whenever download bursts or external sharing links appear—letting analysts export an instant CSV list of every touched file for HR, legal, and DLP review.

1. RAW TELEMETRY SharePoint, Teams & SOC Playbooks T1530 / T1567 2. CLIENT-SIDE PARSE AuditVane Engine FileDownloaded SharePoint audit lo 0 Bytes Uploaded 3. SOC OUTCOME Scoped Containment IOCs · CSV · KQL
Local browser DFIR workflow for FileDownloaded SharePoint audit log exfiltration (T1530 / T1567)
AdSense-Ready In-Article Placement

Forensic Telemetry Fields & High-Signal Indicators

Telemetry Field / Pattern Meaning in M365 / Entra High-Signal Threat Indicator
FileDownloadedRaw file downloaded via browser, ZIP, or Graph APIFlagged by AuditVane AV-010 during bursts
FileSyncDownloadedFullFull copy written locally by OneDrive sync clientTracks personal-PC sync exfiltration
FileAccessedDocument rendered in web previewerHigh velocity indicates scripted scraping
SourceFileName / SourceFileExtensionExact file name & extension downloadedPrioritize .xlsx, .csv, .zip, .pst, .sql, .pdf
SiteUrl / SourceRelativeUrlSharePoint site & folder hierarchySeparates HR/Finance/Legal leaks from benign templates
ClientIP / UserAgentNetwork origin & client stringWatch personal ISPs, VPN exits, or curl/python scripts

Export FileDownloaded Bursts & Summarize Top Downloaders via PowerShell & KQL

# PowerShell Purview UAL extraction:
Search-UnifiedAuditLog -StartDate (Get-Date).AddDays(-30) -EndDate (Get-Date) -UserIds "contractor@domain.com" `
  -Operations FileDownloaded,FileSyncDownloadedFull -SessionId ([guid]::NewGuid()) -SessionCommand ReturnLargeSet -ResultSize 5000 |
  Export-Csv .\SP_Downloads.csv -NoTypeInformation

// Sentinel KQL burst hunt:
OfficeActivity | where Operation in ("FileDownloaded","FileSyncDownloadedFull")
| summarize FileCount=count(), Files=make_set(SourceFileName, 20), IPs=make_set(ClientIP) by UserId
| where FileCount >= 25 | order by FileCount desc

Sample SharePoint Exfiltration Summary

UserId                             FileCount Files                                                IPs
------                             --------- -----                                                ---
it.contractor@contoso.invalid      38        ["Q4-M&A-Valuation-Model.xlsx","Executive-Comp..."]  ["104.28.221.14"]

Normal Office Usage vs. SharePoint Data Exfiltration Bursts

Behavioral MetricOrdinary Daily WorkInsider / Attacker Exfiltration
Access Timing & Volume5–15 files across user’s own department during work hoursDozens/hundreds of files across Finance, HR & Legal after hours
File ExtensionsRoutine working `.docx` / `.pptx` draftsMass `.xlsx`, `.csv`, `.zip`, `.sql`, `Recovery-Codes.txt`
UserAgent / DeviceCorporate Intune Windows/Mac Edge or Office desktopHome ISP IP, unmanaged Chrome, or `FileSyncDownloadedFull` on personal PC
Paired Sharing EventsInternal link shares to coworkersPaired with `AnonymousLinkCreated` or `AddedToSecureLink`

SharePoint FileDownloaded AuditData Payload

{
  "CreationTime": "2026-12-03T19:01:28Z",
  "Operation": "FileDownloaded",
  "RecordType": 6,
  "Workload": "SharePoint",
  "UserId": "it.contractor@contoso-demo.invalid",
  "ClientIP": "104.28.221.14",
  "SourceFileName": "Executive-Compensation-2026.csv",
  "SiteUrl": "https://contoso.sharepoint.com/sites/HR",
  "UserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/131.0"
}

Notice how `SiteUrl` (`/sites/HR`) and `SourceFileName` (`Executive-Compensation-2026.csv`) immediately prove cross-department sensitive data access from external IP `104.28.221.14`.

Real-World Incident Walkthrough

At 19:01 UTC—two days after submitting notice—an IT contractor downloads `Q4-M&A-Valuation-Model.xlsx` from `/sites/Finance`, `Executive-Compensation-2026.csv` from `/sites/HR`, and `AWS-Root-Recovery-Codes.txt` from OneDrive via `104.28.221.14`, then generates a public anonymous link on `Customer-DB-Export`.

Dropping the contractor’s Purview CSV into AuditVane fires `AV-010` immediately, displaying every exact `SourceFileName` and `SiteUrl` in chronological order alongside `AV-011` role-escalation checks.

Step-by-Step Triage, Containment & Verification

  1. Export 30–90 days of `FileDownloaded`, `FileSyncDownloadedFull`, and sharing events (`RecordType 6` and `14`) for the suspected account.
  2. Drop the CSV into AuditVane and click the `AV-010` finding card to isolate all download bursts and anonymous shares.
  3. Click **Export Flattened CSV** to hand HR, Legal, and site owners a clean spreadsheet listing every downloaded `SourceFileName` and `SiteUrl`.
  4. Correlate `ClientIP` values with Entra Sign-In JSON (`AV-009`) to identify whether downloads happened on an unmanaged personal laptop or a proxy.
  5. Revoke user access (`Revoke-MgUserSignInSession` + disable account) and strip external sharing links.
  6. Enforce Conditional Access App Enforced Restrictions (blocking downloads on unmanaged devices so employees can view via browser only).

How to Verify Containment Completed Cleanly

  • Complete chronological list of downloaded filenames and SharePoint sites exported.
  • Unmanaged-device download policies (`AppEnforcedRestrictions`) evaluated in Conditional Access.
  • Account disabled and OneDrive sync devices unlinked if insider exit case.

Analyst Blind Spots, Licensing Quirks & False Positives

Opening a Word or Excel file inside desktop Office ("Open in Desktop App") automatically emits a `FileDownloaded` event while Office fetches the editable copy! Differentiate desktop Office edits (which show `Microsoft Office` UserAgent and low counts) from browser ZIP downloads or `FileSyncDownloadedFull` bursts.

When an employee clicks Download on a folder containing 200 files, SharePoint logs 200 individual `FileDownloaded` records sharing near-identical timestamps—make sure your export window doesn’t hit the 50,000-row ceiling.

Frequently Asked Questions

Does FileDownloaded log when someone downloads an entire folder as a ZIP?

Yes! SharePoint emits individual FileDownloaded audit events for every file packaged into that ZIP download.

How does AuditVane flag SharePoint exfiltration?

Rule AV-010 flags bursts of FileDownloaded / FileSyncDownloadedFull operations per actor as well as any AnonymousLinkCreated or SharingSet sharing activity.

Can I extract a clean Excel list of every downloaded filename from AuditVane?

Yes—click Export Flattened CSV to unpack SourceFileName, SiteUrl, ClientIP, and Timestamp into clean spreadsheet columns.

How can I block downloads on unmanaged home laptops?

Configure SharePoint Admin -> Access Control -> Unmanaged Devices ("Allow limited, web-only access") paired with Entra Conditional Access App Enforced Restrictions.

Related Forensics Guides