The User Didn't Upload the File — OneDrive Did It Automatically
A sensitive file appeared in OneDrive.
The audit trail showed cloud activity.
The user was the obvious person to ask.
“I didn't upload it.”
That sounded impossible.
Until Agent Foskett stopped treating the file reached OneDrive and the user manually uploaded the file as the same statement.

Cloud Activity Does Not Always Describe Human Intent
A file appearing in a cloud service proves an event occurred. It does not, by itself, prove the user deliberately opened a browser and uploaded it.
The allegation sounded simple
Start with the cloud event
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
CloudAppEvents
| where Timestamp > ago(7d)
| where ObjectName has "Quarterly-Financials.xlsx"
| project Timestamp, ActionType, Application,
AccountDisplayName, AccountId, IPAddress,
ObjectName, ObjectType, RawEventData
| order by Timestamp asc
Now go back to the device
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
DeviceFileEvents
| where Timestamp > ago(7d)
| where FileName =~ "Quarterly-Financials.xlsx"
| project Timestamp, DeviceName, ActionType,
FolderPath, FileName, SHA256,
InitiatingProcessFileName,
InitiatingProcessAccountName
| order by Timestamp asc
The path changed the investigation
Was OneDrive active at the time?
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
DeviceProcessEvents
| where Timestamp > ago(7d)
| where FileName =~ "OneDrive.exe"
| project Timestamp, DeviceName, FileName,
ProcessCommandLine, AccountName,
InitiatingProcessFileName
| order by Timestamp asc

