SumData 2026.11.0

dotnet add package SumData --version 2026.11.0
                    
NuGet\Install-Package SumData -Version 2026.11.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SumData" Version="2026.11.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SumData" Version="2026.11.0" />
                    
Directory.Packages.props
<PackageReference Include="SumData" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SumData --version 2026.11.0
                    
#r "nuget: SumData, 2026.11.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package SumData@2026.11.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SumData&version=2026.11.0
                    
Install as a Cake Addin
#tool nuget:?package=SumData&version=2026.11.0
                    
Install as a Cake Tool

SumECmd

Parses Microsoft User Access Logging (UAL) databases, the C:\Windows\System32\LogFiles\Sum folder on Windows Server: the server's identity, its roles, and the clients, users and IP addresses that accessed each role, with their daily access counts, DNS and virtual machine information. Results are exported to CSV.

Version 2026.11.0
Download .NET 10 (recommended) · .NET Framework 4.7.2
All tools ericzimmerman.github.io or Get-ZimmermanTools, which downloads them all and keeps them current
Changes ChangeLog
Issues EricZimmerman/Sum or EricZimmerman/Issues

Requirements

  • .NET 10 build: the .NET 10 runtime. Run SumECmd.exe on Windows. SumECmd is Windows only: the databases are read with Windows' ESE engine (esent.dll).
  • .NET Framework build: .NET Framework 4.7.2 or later (Windows only).

Command line

Usage:
  SumECmd [options]

Options:
  -d <d>          Directory to process, looking for SystemIdentity.mdb, Current.mdb, etc. in it and every folder under it (one set of CSVs, SourceDirectory says which folder a row is from). Required.
  --csv <csv>     Directory to save CSV formatted results to. Be sure to include the full path in double quotes
  --wd            Generate CSV with day level details. Default is TRUE
  --dt <dt>       The custom date/time format to use when displaying time stamps. See https://goo.gl/CNVq0k for options [default: yyyy-MM-dd HH:mm:ss]
  --temp <temp>   Folder for the temporary copies of the UAL databases and their transaction logs, which are opened instead of the evidence and deleted when done. Default: a Temp folder next to SumECmd. A folder that isn't there is created, and removed again when done. If that folder can't be written to, SumECmd stops: give a writable folder with --temp
  --debug         Show debug information during processing
  --trace         Show trace information during processing
  --co            When true, save all console messages to <timestamp>_SumECmd_<version>_ConsoleLog.txt in the --csv directory. Use --co false to turn it off
  -?, -h, --help  Show help and usage information
  --version       Show version information

Short options (a single letter) start with one dash, long options with two.

Examples

SumECmd.exe -d "C:\Temp\sum" --csv "C:\Temp\"

Output

Seven CSVs, named <timestamp>_SumECmd_SUMMARY_<name>_Output.csv and <timestamp>_SumECmd_DETAIL_<name>_Output.csv. -d is searched recursively: every folder in or under it with a SystemIdentity.mdb or Current.mdb goes into the same CSVs, and the last column, SourceDirectory, says which folder a row is from:

  • SUMMARY_SystemIdentInfo: one row per SYSTEM_IDENTITY entry: OS version, and (new in 2026.10.0, after the existing columns) host and domain name, manufacturer, model, serial numbers, last boot, time zone, processors and memory.
  • SUMMARY_RoleInfos, SUMMARY_ChainedDbInfo: the role GUIDs and the yearly databases.
  • DETAIL_Clients, DETAIL_ClientsDetailed (one row per day with accesses, with --wd), DETAIL_DnsInfo, DETAIL_RoleAccesses, DETAIL_VmInfo: from Current.mdb and each yearly ({GUID}.mdb) database, including yearly databases that SystemIdentity.mdb doesn't list.

Current.mdb does not store its year: the day columns are dated in the year of the latest access in it (earlier versions used the year of the computer running SumECmd).

A database that can't be opened no longer loses the others, and a bad value no longer loses the rest of its table: the problems are listed at the end.

Dirty databases

The databases are never opened where they are: SumECmd copies them, with their transaction logs (Svc*.log, Svc.chk, *.jrs), to a temporary folder, and works on the copies. Nothing in the -d folder changes, so it can be read-only. The temporary folder is --temp, or by default a Temp folder next to SumECmd (never the user's %TEMP%); the copies are deleted when done. If that folder can't be written to, SumECmd stops and asks for --temp.

UAL databases collected from a running server are usually in a dirty state. SumECmd handles this by itself, on the copies:

  1. The transaction logs, when they were collected, are replayed (what esentutl.exe /r svc /i does).
  2. A database that is still dirty (its logs are missing) is repaired with esentutl.exe /p. What only the missing logs had is lost; SumECmd says when this was done.

There is no need to repair anything by hand any more. esentutl.exe /mh <dbname>.mdb shows a database's state.

Exit codes

Code Meaning
0 Success. Databases that are damaged or missing from the -d folder are reported but are not a failure
1 The tool failed: invalid arguments, a missing -d folder, a database it can't read (access denied, locked), a --temp folder that can't be written to, an export that failed, or a system other than Windows

What's new in 2026.11

  • -d is searched recursively: every folder with a SystemIdentity.mdb or Current.mdb under it is read with its chained databases, and all of them go into one set of CSVs with a new last column, SourceDirectory (Issues #265, PR #12 by reece394).

What's new in 2026.10

  • The databases are read from copies in a temporary folder: nothing in the -d folder changes (it created edb.chk, edb.log and other files there).
  • Dirty databases (as Current.mdb usually is) are handled automatically: logs are replayed into the copies, and a copy that is still dirty is repaired with esentutl /p. Repairing by hand is no longer needed.
  • Current.mdb's day counts are dated in the year of its data instead of the year of the computer running SumECmd.
  • Day counts and OS build numbers over 32,767 are no longer negative.
  • One database that can't be opened no longer loses the others, a bad value no longer loses the rest of its table, and yearly databases not listed in SystemIdentity.mdb are read too.
  • SystemIdentInfo has the host and domain name, manufacturer, model, serial numbers, last boot, time zone, processors and memory, as new columns at the end.
  • New --temp. Exit code 1 when the tool fails (it was always 0). Error reports include source file and line numbers.
  • --co (on by default; --co false turns it off) saves all console messages to <yyyyMMddHHmmss>_SumECmd_<version>_ConsoleLog.txt in the --csv directory, with the same time (UTC) as the CSV names (Issues #259) (2026.10.1).

The full list is in the ChangeLog.

Building

dotnet build Sum.slnx -c Release

Builds net10.0 and net472 (Windows only). The databases are read by the SumData library in this repository (NuGet).

Further reading

Special thanks

Open source development funding and support provided by the SANS Institute and SANS DFIR.

License

MIT, Copyright (c) Eric R. Zimmerman 2027.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.11.0 99 11/21/2026
2026.10.0 138 10/18/2026
1.1.0 499 1/8/2025
1.0.0 403 7/7/2023