Join our Newsletter — 33% off our NHI Course
Home› Guides› SRUM Forensics Guide: Reading Per-App Network Usage to…
Guide Incident Response & Forensics

SRUM Forensics Guide: Reading Per-App Network Usage to Scope Exfiltration

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 20 November 2026 16 min read
On this page

The System Resource Usage Monitor (SRUM) database records per-application, per-user resource and network byte counts on Windows, which makes it one of the few host artefacts that can put a number on how much data a program sent. When an investigation asks "did this tool move data off the machine, and roughly how much", SRUM is often the first place a Windows examiner looks after the event logs and execution artefacts.

This guide goes deeper than the SRUM section of our Windows Forensic Artefacts Guide. It covers where the database lives, which tables matter, how the identifier mapping works, how to collect and parse it without damaging it, and, most importantly, what the numbers can and cannot prove. Structural details come from the libyal ESE knowledge base description of SRUM, the SrumECmd project documentation and the Velociraptor SRUM artifact reference. Anything those sources mark as unknown is left out here rather than guessed.

Key takeaways

  • SRUM lives in an Extensible Storage Engine (ESE) database at C:\Windows\System32\sru\SRUDB.dat, with its extension configuration under the SRUM Extensions key in the SOFTWARE hive.
  • The Network Data Usage table records BytesSent and BytesRecvd per application, user and network interface, which is the core of exfiltration scoping.
  • Applications and users are stored as integer IDs. You must resolve them through SruDbIdMapTable, where user entries hold a Windows SID.
  • The database is usually dirty when collected from a live system. Collect it together with its transaction logs and parse a copy, never the original.
  • SRUM gives aggregated byte counts per time slot, not destinations, file names or exact transfer times. Pair it with network, proxy and cloud audit evidence before drawing conclusions.
  • Write intervals and retention are not described in the primary format documentation. Validate them on a test build that matches the suspect host rather than quoting a figure.

What SRUM is and why examiners use it

SRUM is a Windows feature that keeps a running account of how applications use system resources: processor cycles, disk input and output, network bytes, network connectivity and energy. The data is grouped by application and by user. For a defender, that grouping matters more than any single counter. Most host artefacts tell you that something ran. SRUM is one of the few that tells you how much it did while it ran.

The most common investigative uses are:

  • Exfiltration scoping. An archiving tool, a file sync client or a renamed binary with a large BytesSent total during the intrusion window is a strong lead. This aligns with MITRE ATT&CK techniques such as T1567 Exfiltration Over Web Service, T1048 Exfiltration Over Alternative Protocol and T1041 Exfiltration Over C2 Channel.
  • Corroborating execution. A row for an application under a given user in a given time slot supports, though does not on its own prove, that the application was active then.
  • Attributing activity to an account. Because rows carry a user identifier that maps to a SID, SRUM can help separate activity by an interactive user from activity by a service or machine account.
  • Network context. Interface and profile identifiers can show whether activity happened on a corporate network, a home Wi-Fi profile or another interface.

SRUM is especially useful in insider and data theft cases, where an attacker may have cleared browser history or deleted the tool but did not think about a system database they never interacted with directly. Our Insider Data Theft Guide covers the wider investigation around that scenario.

Where the database lives and how it is built

The libyal ESE knowledge base documents the database file as C:\Windows\System32\sru\SRUDB.dat. It is an ESE database, the same engine family used by several other Windows components, so it comes with transaction log files and checkpoint files in the same folder. The SrumECmd documentation describes the parser copying both the database and its transaction logs, which is a strong hint about what you need to collect.

The same libyal description points to the registry location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\SRUM\Extensions for the SRUM extension configuration. Practically, this means the SOFTWARE hive is the companion file to SRUDB.dat. SrumECmd documents its -r option for the SOFTWARE hive as "optional, but recommended", and states that supplying it fills in user names and Wi-Fi profile names.

Each data source inside SRUM is a separate table named by a GUID. The libyal documentation was tested against Windows 10 and marks some tables and the Windows 8 layout as still to be documented. Treat any table it lists as unknown as unknown in your report too.

The tables that matter for an investigation

The following tables and GUIDs come from the libyal ESE knowledge base, with the Execution Stats GUID taken from the Velociraptor SRUM artifact reference.

TableGUIDUseful columns
Network Data Usage Monitor{973F5D5C-1D90-4944-BE8E-24B94231A174}TimeStamp, AppId, UserId, InterfaceLuid, L2ProfileId, BytesSent, BytesRecvd
Network Connectivity Usage Monitor{DD6636C4-8929-4683-974E-22C046A43763}InterfaceLuid, L2ProfileId, ConnectedTime, ConnectStartTime
Application Resource Usage{D10CA2FE-6FCF-4F6D-848E-B2E99266FA89}Foreground and background cycle time, bytes read and written, read and write operation counts, flushes
Energy Usage{FEE4E14F-02A9-4550-B5CE-5FA2DA202E37}EventTimestamp, ChargeLevel, CycleCount and capacity fields
Execution Stats (as named by Velociraptor){5C8CF1C7-7257-4F13-B223-970EF5939312}EndTime, which Velociraptor converts as a Windows FILETIME
Identifier mapSruDbIdMapTableIdType, IdIndex, IdBlob

Network Data Usage

This is the table most cases revolve around. Each row ties an application ID and user ID to an interface and to byte counts sent and received. Velociraptor's suggested summary groups by application, user and InterfaceLuid and totals BytesSent and BytesRecvd, which is a sensible first pass for any case.

Application Resource Usage

This table separates foreground and background activity: cycle time, context switches, bytes read and written and the count of read and write operations. A process that read a large volume from disk in the background shortly before a spike in network bytes sent is a pattern worth writing down, as long as you describe it as correlation.

Network Connectivity

Rows here describe how long an interface and profile were connected (ConnectedTime) and when the connection started (ConnectStartTime, documented as a FILETIME value). This helps place the host on a particular network during the window under review.

Energy tables

Energy rows are mostly relevant on laptops, where charge level and state transitions can help establish whether a device was on battery or connected to power at a point in time. The libyal description does not define the format of EventTimestamp, so do not interpret it without testing.

Resolving AppId and UserId

SRUM stores applications and users as integers. The SruDbIdMapTable holds the mapping. According to the libyal documentation it has three columns: IdType, IdIndex and IdBlob. For IdType 3 the entry is a user identifier and IdBlob holds a Windows SID. For types 0, 1 and 2 the blob holds a UTF-16 string, and the documentation lists the precise meaning of those types as unknown.

In practice, parsers present the resolved strings as application paths or names and the SID as the user. Velociraptor documents using an srum_lookup_id function to resolve AppId and UserId, then a SID lookup to produce the user. SrumECmd adds user names when you supply the SOFTWARE hive.

Three practical points follow:

  • Always keep the raw ID. Report the integer alongside the resolved string so a reviewer can trace your mapping.
  • Resolve SIDs carefully. A SID resolves against the local accounts on the host or the directory it was joined to. Record which source you used. Machine, service and virtual service accounts appear as SIDs too, and they are part of the non-human identity picture on the host.
  • Watch for renamed binaries. The application string is a path or name, not a hash. A tool renamed to look like a system binary will appear under the new name. Confirm identity with execution artefacts and file hashes from other sources.

Timestamps and what they actually mark

The libyal documentation describes the TimeStamp column in each table as an OLE Automation date value. ConnectStartTime is a FILETIME. Velociraptor converts EndTime in the Execution Stats table as a FILETIME. Other 64-bit timestamp fields are not described in the format documentation.

The more important question is semantic. A SRUM row summarises usage over a period and is written in batches. The row timestamp tells you when that summary was recorded, not the moment a particular file left the host. Treat SRUM rows as time slots and express findings as "during the slot ending at" rather than "at". Neither of the primary sources documents the write interval, so if your conclusions depend on the slot length, test it on a lab system running the same Windows build and record the method in your notes.

Normalise everything to UTC in your timeline, and note which parser and version produced each conversion. SrumECmd documents a --dt option for a custom output format, with yyyy-MM-dd HH:mm:ss as the default. Our Forensic Timeline Analysis Guide covers how to merge these slots with event-level sources.

Collecting SRUM without damaging it

Because SRUM is an open ESE database on a running system, the file is usually in use and may not be in a clean state. The collection plan should reflect that.

  1. Collect the whole sru folder. Take SRUDB.dat and the transaction log and checkpoint files beside it, plus the SOFTWARE hive and its transaction logs. Use a forensic collector or a volume shadow copy so you get a consistent set.
  2. Hash on collection. Record hashes of each file before any processing.
  3. Work on copies. SrumECmd documents that it never opens SRUDB.dat in place. It copies the database and logs to a temporary folder (configurable with --temp), so the originals can stay read-only.
  4. Replay logs before repairing. SrumECmd replays collected transaction logs into its copy. Only if the copy is still dirty, typically because logs are missing, does it repair it with esentutl.exe /p. The documentation states that data held only in the missing logs is lost, and that the tool reports when that happens. Record that message in your notes because it bounds what you can claim.
  5. Check state explicitly. The SrumECmd documentation notes that esentutl.exe /mh SRUDB.dat still works to inspect database state. Run it against a copy and keep the output.

For a live collection across many hosts, the Velociraptor Windows.Forensics.SRUM artifact parses the database in place from c:/windows/system32/sru/srudb.dat by default, can filter by an ExecutableRegex, and offers an Upload option to collect the raw file. Uploading the file as well as the parsed rows lets you reparse later with a second tool. See our EZ Tools Guide for the wider toolset SrumECmd belongs to.

Parsing and the output you will work with

SrumECmd accepts a single database with -f, the SOFTWARE hive with -r, or a directory with -d, which it searches recursively for both files. Output goes to the folder given in --csv, one CSV per table named <timestamp>_SrumECmd_<table>_Output.csv. The documented tables always written are AppResourceUseInfo, AppTimelineProvider, EnergyUsage, NetworkConnections, NetworkUsages, PushNotifications and vfuprov. Some Windows Server 2022 tables (ProcessorTime, SizeInBytes, TotalUsed and NetworkBytes) are written only when they contain rows.

A practical first pass on NetworkUsages:

  1. Filter to the investigation window, with a margin either side to allow for slot boundaries.
  2. Group by application and user, sum bytes sent and received, and sort by bytes sent.
  3. Flag applications that are unusual for the host role: archivers, sync clients, command-line transfer tools, scripting hosts and anything running from a user-writable path.
  4. For each flagged application, list the individual slots, the interface and the profile to see when and over which network the volume moved.
  5. Compare with the same host's baseline outside the window, or with peer hosts, before calling a total unusual.

The following is an illustrative pseudo-query, not tied to a specific product, showing the shape of that first pass:

NetworkUsages | where Timestamp between (start - 2h .. end + 2h) | summarize Sent = sum(BytesSent), Recv = sum(BytesRecvd) by ExeInfo, UserName, InterfaceLuid | order by Sent desc

Field names in your output will depend on the parser you use. Check them against the tool's own output before adapting any query.

What SRUM can and cannot prove

SRUM is persuasive because it produces numbers. That is also its risk: numbers look more precise than they are. Keep the limits in view.

What it can support

  • That an application identified by a given path or name, under a given user SID, was associated with a recorded volume of network bytes in a recorded time slot.
  • That the host was connected through a particular interface and profile for a recorded duration.
  • That an application had foreground or background disk and processor activity in a slot.

What it cannot show on its own

  • Destinations. SRUM records bytes per application and interface. It does not record remote addresses, domains or cloud accounts. Those come from firewall, proxy, DNS, endpoint telemetry or cloud audit logs.
  • Content. It does not say which files were sent. Disk byte counts plus file system artefacts may support an inference, nothing more.
  • Exact timing. Rows describe slots, so you cannot place a transfer to the minute from SRUM alone.
  • Intent or the human behind it. A user SID shows the security context, not who was at the keyboard. Shared or compromised credentials and service accounts break that link.
  • Absence. No row does not prove no activity. Recent activity may not yet be written, data may have been lost in a dirty database repair, and the database can be deleted or reset.

Write findings in calibrated language: "SRUM records approximately X bytes sent by application Y under SID Z in slots between A and B, consistent with the upload reported in the proxy logs" is defensible. "The attacker exfiltrated X bytes at time A" is not.

Corroborating SRUM with other evidence

A SRUM finding becomes evidence when it lines up with independent sources. Useful pairings include:

  • Execution artefacts. Prefetch, Amcache and ShimCache confirm a binary existed or ran and help match a SRUM path to a hash. See our Amcache and ShimCache Forensics Guide.
  • Event logs. Logon sessions and process creation events give exact times and parent processes that SRUM lacks. Our Windows Event Log Guide covers the relevant events.
  • Network records. Proxy, firewall and DNS logs provide destinations and byte counts that should broadly match the SRUM totals for the same application and window.
  • Cloud and SaaS audit logs. Where an upload went to a cloud storage service, the provider's audit trail can confirm the account and file names on the receiving end. Our Data Exfiltration Scoping Guide covers building that picture.

When totals disagree, do not force them to match. Byte counts from different layers measure different things, such as protocol overhead, compression and retransmissions. Explain the difference rather than averaging it away.

Anti-forensics and integrity concerns

An attacker who knows about SRUM may delete or tamper with the database. File deletion fits MITRE ATT&CK T1070.004 File Deletion. Signs to look for include a missing or unusually small SRUDB.dat, a database whose earliest records start suspiciously recently, gaps across a period when other artefacts show the host was active, and repair messages indicating lost data. Volume shadow copies may hold an earlier version of the database worth parsing separately. Our Anti-Forensics Detection Guide covers the wider topic.

Also consider legitimate causes of gaps. Operating system upgrades, reimaging and system policy can all affect what SRUM holds. Record what you checked before attributing a gap to an attacker.

Common failure patterns

  • Collecting only SRUDB.dat. Without the transaction logs, a dirty database has to be repaired and recent data can be lost.
  • Parsing the original file. Opening the evidence copy with a tool that writes to it, or running a repair on it, alters the evidence.
  • Skipping the SOFTWARE hive. Without it, user names and Wi-Fi profile names are not filled in, and analysts end up guessing.
  • Reading a slot timestamp as an event time. This leads to timelines that are precise and wrong.
  • Treating bytes sent as proof of theft. Backups, updates, sync clients and video calls move a lot of data. Baseline first.
  • Trusting the application name. Renamed binaries are common. Confirm identity with hashes from other artefacts.
  • Using one parser without checking. Parsers differ in how they label and convert fields. Reparse key findings with a second tool.
  • Quoting retention or write intervals from memory. Measure them on a matching build or leave them out of the report.

Practitioner checklist

  • Collect the full C:\Windows\System32\sru folder and the SOFTWARE hive with their transaction logs, ideally from a volume shadow copy, and hash every file.
  • Check for older copies of the database in volume shadow copies and parse them separately.
  • Parse on a copy, replay logs, and record any repair or data loss reported by the parser.
  • Resolve AppId and UserId through SruDbIdMapTable, keeping raw IDs and noting the SID resolution source.
  • Summarise NetworkUsages by application, user and interface for the window, then drill into individual slots.
  • Baseline the same host and peer hosts before calling any total anomalous.
  • Confirm application identity with execution artefacts and hashes, and confirm destinations with network or cloud logs.
  • Write findings in slot-based, calibrated language and state what SRUM cannot show.
  • Reparse critical findings with a second tool and document versions of every tool used.

Standards and references

Related NHI Mgmt Group resources: Windows Forensic Artefacts Guide · Data Exfiltration Scoping Guide · Forensic Timeline Analysis Guide · Digital Forensics (DFIR) Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.