Investigation · Data access
Did data leave, how much, and to where?
Scope exfiltration across Windows host and cloud: transfer-tool artifacts, archive staging, byte counts and cloud downloads, reported as attempted vs completed vs volume with confidence.
When you would ask thisYou need to answer the leadership and legal question of whether data actually left, roughly how much, and to which destination, drawing on both host artifacts and cloud logs.
Steps
- 1
Get a per-application volume baseline from SRUM
The System Resource Usage Monitor (SRUM) records bytes sent and received per application per hour in SRUDB.dat, typically covering the last ~30-60 days. It is the fastest way to see that, say, rclone.exe or a browser pushed a large outbound volume on a given day. Its limitation is that it gives bytes by application, not the destination, so it answers 'how much by what program' but not 'to where'. Use it to spot the spike and the responsible binary, then corroborate direction and destination with the network and tool-specific evidence below.
- 2
Find transfer-tool artifacts (rclone, WinSCP, FileZilla)
Identify the exfiltration tool and its configured destination. rclone leaves an rclone.conf holding the remote name and endpoint, and its full command line (showing the remote and flags) appears in process creation: Security 4688 and Sysmon 1, which also gives the parent and hashes. WinSCP and FileZilla keep session history (WinSCP in the registry under the user hive or an INI; FileZilla in recentservers.xml and sitemanager.xml) naming the hosts and sometimes usernames connected to. These artifacts give the destination that SRUM cannot.
rclone / transfer-tool process launches with command line (collected Security .evtx)Get-WinEvent -Path .\Security.evtx -FilterXPath "*[System[EventID=4688]]" | ForEach-Object { $x = [xml]$_.ToXml(); [pscustomobject]@{ Time = $_.TimeCreated Image = ($x.Event.EventData.Data | Where-Object Name -eq 'NewProcessName').'#text' Cmdline = ($x.Event.EventData.Data | Where-Object Name -eq 'CommandLine').'#text' } } | Where-Object { $_.Image -match 'rclone|winscp|filezilla|pscp|scp' -or $_.Cmdline -match 'rclone|:copy|--remote' } - 3
Detect archive staging before exfil
Data is usually collected into an archive before it leaves. Look for 7-Zip, WinRAR or rar/7z command lines in 4688 / Sysmon 1 (often with a password flag and a large target), and for .7z / .rar / .zip files created via Sysmon 11 (FileCreate). Crucially, staging archives are frequently deleted after upload; Sysmon 23 (FileDelete, which can also archive the deleted file) and the NTFS $UsnJrnl record the create-then-delete even when the file is gone. A large archive created in a staging folder and deleted minutes after an outbound transfer is strong evidence of what was taken.
- 4
Confirm direction and destination from network logs
Pin the destination and direction with network evidence. Sysmon 3 (NetworkConnect) records the process, destination IP/port and hostname for outbound connections; Security 5156 (Windows Filtering Platform allowed a connection) records the application and the remote address/port where WFP auditing is on. At the perimeter, proxy and firewall logs give per-session byte counts to an external destination, which is your best source for 'to where' and 'how much' together. Join the host-side process (from step 2) to the perimeter session by timestamp and the destination IP.
- 5
Check object access for what was read before it left
If sensitive folders carry a SACL, Security 4663 records read attempts on those objects with ObjectName, the AccessMask and the ProcessName, so you can tie the reads to the same process that then transferred data. This depends on auditing having been configured in advance and is uncommon, so treat its presence as a bonus that strengthens the 'what' rather than something you can rely on. Where present, a burst of 4663 reads by the transfer tool immediately before the outbound connection links collection to exfiltration.
- 6
Scope the cloud side of exfiltration
Modern exfil often goes through sanctioned cloud. In Microsoft 365, FileDownloaded and FileSyncDownloadedFull in the UAL/OfficeActivity show bulk retrieval or a full OneDrive/SharePoint sync; in AWS, CloudTrail S3 data events (GetObject) show object reads if a trail captured them. Reconcile the cloud download record against the host and perimeter evidence: a cloud sync to an attacker device and a host-side upload are two different exfil channels and both need scoping. Capture the object counts and sizes the cloud logs report for the volume estimate.
- 7
Report as attempted, completed and volume with confidence
Separate three claims and attach a confidence level to each. 'Attempted' is supported by tool execution and outbound connection attempts (4688, Sysmon 3) even without a byte count. 'Completed' needs evidence the transfer succeeded: perimeter session bytes, a cloud download record, or a tool log of a finished upload. 'Volume' is the byte estimate from SRUM and proxy/firewall counters, which is approximate. State clearly where you have attempted-but-not-confirmed-complete, because overstating completed exfiltration has legal and notification consequences.
Where it goes wrong
- SRUM gives bytes per application but no destination, and it aggregates per hour with a lag before data is written, so treat its volume as approximate and never as a destination attribution.
- Perimeter byte counts can include TLS overhead and retransmissions and may double-count across proxy and firewall, so reconcile the two rather than summing them for the volume figure.
- Sysmon 3 and Security 5156 only exist if network-connection logging / WFP connection auditing was enabled beforehand; their absence does not mean no connection occurred.
- 4663 requires a SACL on the folder configured before the activity, which is rare, so its absence tells you nothing about whether the files were read.
- Staging archives are routinely deleted after upload; rely on Sysmon 23 and the $UsnJrnl to prove a create-then-delete, because the file itself will be gone by the time you look.
- An outbound connection or tool launch proves intent/attempt, not completion; do not report data as exfiltrated without evidence the transfer finished (byte counts, a cloud download record or a tool success log).
Beyond event logs
$MFT and $UsnJrnl
The volume $MFT and $Extend\$UsnJrnl:$J
Records creation, rename and deletion of the staging archive and collected files with timestamps, which proves a file existed and was deleted even when it is no longer on disk.
rclone.conf and transfer-tool session files
%APPDATA%\rclone\rclone.conf; WinSCP session store (registry/INI); FileZilla recentservers.xml and sitemanager.xml
Name the configured remote/endpoint and the hosts connected to, giving the destination that network byte counts alone cannot.
Browser download and upload history
The browser profile (History / downloads) and any web-mail or file-sharing session artifacts
Captures web-based exfiltration (uploads to a personal cloud drive or file-sharing site) that does not involve a transfer tool.
Perimeter proxy / firewall logs
The web proxy, NGFW or CASB logs for the host's IP in the incident window
The best single source for destination plus byte volume together; use it to confirm completion and to estimate how much left.