> For the complete documentation index, see [llms.txt](https://darkcybe.gitbook.io/darkcybe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://darkcybe.gitbook.io/darkcybe/guides/dfir/dfir-tools/program-execution/srumecmd.md).

# SrumECmd

How to use SrumECmd to parse the Windows SRUM database in order to provide evidence of program execution and network connections during incident investigations.

SrumECmd is a command line tool developed by Eric Zimmerman, to process the SRUM Database on Windows operating systems, identifying items such as:

* Executable filepaths
* Timestamps of execution times
* Byte read/write processed by an application
* Power Consumption details
* Network Connection details
* Details of push notifications

Further Information the SRUM can be found on [Darkcybe - Evidence of Execution](https://darkcybe.github.io/posts/DFIR_Evidence_of_Execution/#system-resource-usage-monitor-srum)

| Tool Name                                              | Version  | MITRE ATT\&CK Tactic                                  | MITRE ATT\&CK Technique |
| ------------------------------------------------------ | -------- | ----------------------------------------------------- | ----------------------- |
| [SrumECmd](https://ericzimmerman.github.io/#!index.md) | V0.5.1.0 | [Execution](https://attack.mitre.org/tactics/TA0002/) |                         |

## Instructions

### Parsing a Live or Copied SRUM.dat Database

The default location for the SRUM database is `C:\Windows\System32\SRU\`. The database can be interrogated on a live system or against a collected copy of the SRUM database.

```powershell
SrumECmd.exe -f C:\Windows\System32\sru\SRUDB.dat --csv /path/to/output
```

#### **Output**

SrumECmd will produce a number of .csv files on completion of the tools execution with differing objects of interest in each. Examples of the output of the tool for a number of the objects can be seen below.

App Resource Usage

<figure><img src="https://1729410104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUWgoU3Cxbipx0MCPbAcJ%2Fuploads%2FkcKfQT2oIfYImhdWZcw8%2FSrumECmd_App_Rsc.png?alt=media&amp;token=0c287f85-b12f-424e-8694-ec8a5d3927b8" alt="SrumECmd Output - App Resource Usage"><figcaption></figcaption></figure>

Network Connection

<figure><img src="https://1729410104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUWgoU3Cxbipx0MCPbAcJ%2Fuploads%2Fmq5ADIqcfnaqSesPtKYS%2FSrumECmd_Net_Conn.png?alt=media&amp;token=04ad047a-3185-4d8b-a91f-cdf88b65698e" alt="SrumECmd Output - Network Connection"><figcaption></figcaption></figure>

Network Usage

<figure><img src="https://1729410104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUWgoU3Cxbipx0MCPbAcJ%2Fuploads%2FwSofEO653yijYuzfWCbE%2FSrumECmd_Net_Use.png?alt=media&amp;token=24e3a4cb-3644-4b1f-909b-848abd3e0de3" alt="SrumECmd Output - Network Usage"><figcaption></figcaption></figure>

Unknown 312

<figure><img src="https://1729410104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUWgoU3Cxbipx0MCPbAcJ%2Fuploads%2FdsnXuDsYNsK3SZRUXxLa%2FSrumECmd_312.png?alt=media&amp;token=8fd2db5f-149d-42fb-878f-8905ce0573d8" alt="SrumECmd Output - Unknown 312"><figcaption></figcaption></figure>

Unknown D8F

<figure><img src="https://1729410104-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUWgoU3Cxbipx0MCPbAcJ%2Fuploads%2FPIHnp3fUrLXfuFZ4TBBN%2FSrumECmd_D8F.png?alt=media&amp;token=631ac7c2-eaec-40fa-a0a0-ff91b4aee7d5" alt="SrumECmd Output - Unknown D8F"><figcaption></figcaption></figure>
