XingLo SkillSearch

Windows UAL 用户访问日志解析

面向 Windows Server 的 User Access Logging(UAL)取证,指导使用 Eric Zimmerman 的 SumECmd 解析 SystemIdentity.mdb、Current.mdb 及连续的 UAL 数据库,并输出多类 CSV。可提取访问服务器角色的客户端 IP/主机、用户或设备标识、DNS 信息、首次/最后访问时间、访问次数、服务器角色、虚拟机及系统身份等记录,并支持按天展开访问统计。适合服务器入侵、横向移动和远程访问调查,用于回答“哪些客户端在什么时间访问过这台服务器的哪些角色/服务”,并与事件日志、网络日志和账户痕迹进行关联。

在 AI 中使用此 Skill将本页链接复制给 AI,即可让 AI 获取完整 Skill 内容并按此执行
安全提示: 本站 Skill 均经 ChatGPT 最新模型扫描,未发现恶意脚本及危险指令、未检出已知恶意行为特征,但不保证绝对安全,使用即表示接受此风险

Skill 文件

版本 20260318 · 7bd06ab98c836cfc5bbf330a31f71997

SKILL.md
---
name: sumecmd
version: 1.0.0
description: Parse and extract Windows User Access Logging (UAL) databases using Eric Zimmerman's SumECmd. Covers CLI flags, CSV output, and output field reference for client access, DNS, role access, and VM entries.
metadata:
  tool-name: SumECmd
  tool-vendor: Eric Zimmerman
---

# SumECmd Skill

SumECmd is Eric Zimmerman's command-line tool for parsing Windows User Access Logging (UAL) databases. It processes the SystemIdentity.mdb and chained .mdb files found under `C:\Windows\System32\LogFiles\SUM`, extracting client access records, DNS entries, role access history, and virtual machine information. Forensic interpretation of UAL data (lateral movement detection, service access profiling, etc.) belongs in a separate analysis skill.

## Command Syntax

```
SumECmd.exe -d <directory> --csv <dir> [other options]
```

Single-letter options use a single dash (`-`). Multi-character options use double dashes (`--`).

## Input

| Flag | Description |
|------|-------------|
| `-d` | Directory to process, looking for SystemIdentity.mdb, Current.mdb, and chained databases. Required. |

## Output Formats

| Flag | Description |
|------|-------------|
| `--csv` | Directory to write CSV output. Required. |

It's recommended to write results to a file. Forensic output can be very large and may consume the context window. SumECmd produces multiple CSV files per run (one per data type).

## Options

| Flag | Description | Default |
|------|-------------|---------|
| `--wd` | Generate CSV with day-level detail breakdowns | TRUE |
| `--dt` | Custom date/time format string | `yyyy-MM-dd HH:mm:ss` |
| `--debug` | Show debug information | FALSE |
| `--trace` | Show trace information | FALSE |

## Output Files

SumECmd produces multiple CSV files per run:

| File | Description |
|------|-------------|
| `*_Clients.csv` | Client access records (users/machines that accessed server roles) |
| `*_ClientDayDetails.csv` | Day-level access breakdowns (when `--wd` is enabled) |
| `*_Dns.csv` | DNS hostname/address resolution records |
| `*_RoleAccess.csv` | Server role first/last seen access times |
| `*_Vm.csv` | Virtual machine entries |
| `*_ChainedDbInfo.csv` | Chained database metadata |
| `*_RoleInfo.csv` | Role GUID to name mappings |
| `*_SystemIdentInfo.csv` | System identity and OS version |

## Common Output Fields — Clients (CSV)

Output columns depend on tool version.

| Column | Description |
|--------|-------------|
| **RoleGuid** | GUID of the server role accessed |
| **RoleDescription** | Resolved role name |
| **AuthenticatedUserName** | Username of the authenticated client |
| **TotalAccesses** | Total number of accesses |
| **InsertDate** | First access timestamp |
| **LastAccess** | Most recent access timestamp |
| **IpAddress** | Client IP address |
| **ClientName** | Client hostname |
| **TenantId** | Tenant identifier |
| **SourceFile** | Source .mdb file |

## Common Output Fields — DNS (CSV)

| Column | Description |
|--------|-------------|
| **HostName** | DNS hostname |
| **Address** | Resolved IP address |
| **LastSeen** | Last seen timestamp |
| **SourceFile** | Source .mdb file |

## Common Output Fields — RoleAccess (CSV)

| Column | Description |
|--------|-------------|
| **RoleGuid** | GUID of the server role |
| **RoleDescription** | Resolved role name |
| **FirstSeen** | First access timestamp |
| **LastSeen** | Last access timestamp |
| **SourceFile** | Source .mdb file |

## Common Output Fields — VM (CSV)

| Column | Description |
|--------|-------------|
| **VmGuid** | Virtual machine GUID |
| **CreationTime** | VM creation timestamp |
| **LastSeenActive** | Last seen active timestamp |
| **BiosGuid** | BIOS GUID |
| **SerialNumber** | VM serial number |
| **SourceFile** | Source .mdb file |

## Workflow Examples

### Parse UAL databases to CSV

```
SumECmd.exe -d "C:\Cases\Evidence\LogFiles\SUM" --csv "C:\Cases\Output"
```

### Parse without day-level details

```
SumECmd.exe -d "C:\Cases\Evidence\LogFiles\SUM" --csv "C:\Cases\Output" --wd false
```

### Parse from a mounted forensic image

```
SumECmd.exe -d "E:\Windows\System32\LogFiles\SUM" --csv "C:\Cases\Output"
```