DET-136 · human · confidence High
Sharing to Personal Mail Domains
Detect files shared directly with consumer email addresses such as gmail.com or outlook.com.
Insiders often share company files with their own personal account before leaving. The sharing invitation event names the target address, so it is easy to match against a list of consumer mail domains and, better, against the person's known personal email from HR records.
HR systems often hold the employee's personal email from onboarding. Matching sharing targets to that exact address turns a broad rule into a near-certain one, and covers leavers who share to themselves days before their last day.
- Data sources
- Microsoft 365 unified audit logGoogle Drive audit logBox or Dropbox admin logs
- Platforms
- Microsoft 365Google WorkspaceSaaS
Logic
OfficeActivity
| where Operation in ("SharingInvitationCreated", "AddedToSecureLink", "SecureLinkUsed")
| extend Target = tostring(TargetUserOrGroupName)
| where Target matches regex @"@(gmail|outlook|hotmail|yahoo|icloud|proton(mail)?)\."
| summarize Files = dcount(OfficeObjectId) by UserId, Target, bin(TimeGenerated, 1d)False positives
Contractors and partners who use consumer email, and employees sharing personal documents like benefits forms.