Windows ShellBags 文件夹访问解析
面向 Windows ShellBags 文件夹访问痕迹取证,指导使用 Eric Zimmerman 的 SBECmd 从 NTUSER.DAT、UsrClass.dat 等注册表 Hive 或当前系统中解析 ShellBag 数据并输出 CSV。可提取用户曾浏览过的目录路径、Shell Item 类型、时间戳、MFT Entry/Sequence 等信息,并支持多 Hive 去重、时区转换和脏 Hive 处理。即使目录已经被删除,ShellBags 仍可能保留历史访问记录,因此适合还原用户浏览过的本地目录、移动介质和网络位置,并与 LNK、Jump List、USB 痕迹共同分析用户文件访问行为。
在 AI 中使用此 Skill将本页链接复制给 AI,即可让 AI 获取完整 Skill 内容并按此执行
安全提示: 本站 Skill 均经 ChatGPT 最新模型扫描,未发现恶意脚本及危险指令、未检出已知恶意行为特征,但不保证绝对安全,使用即表示接受此风险
Skill 文件
版本 20260318 · 97a87e412f015ac38329a4e22527ff20
SKILL.md
--- name: sbecmd version: 1.0.0 description: Parse and extract Windows ShellBags data from registry hives using Eric Zimmerman's SBECmd. Covers CLI flags, CSV output, deduplication, timezone support, and output field reference. metadata: tool-name: SBECmd tool-vendor: Eric Zimmerman --- # SBECmd Skill SBECmd is Eric Zimmerman's command-line tool for parsing Windows ShellBags data from registry hives. It extracts folder access metadata from NTUSER.DAT and UsrClass.dat hives, including folder paths, timestamps, MFT references, and shell item types. Forensic interpretation of ShellBags data (folder access reconstruction, user activity analysis, etc.) belongs in a separate analysis skill. ## Command Syntax ``` SBECmd.exe -d <directory> --csv <dir> [other options] SBECmd.exe -l --csv <dir> [other options] ``` Single-letter options use a single dash (`-`). Multi-character options use double dashes (`--`). ## Input (one required) | Flag | Description | |------|-------------| | `-d` | Directory to search for registry hives | | `-l` | Process the live system registry | ## 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. SBECmd always outputs to CSV. ## Options | Flag | Description | Default | |------|-------------|---------| | `--dedupe` | Deduplicate entries across all hives in `-d` directory | FALSE | | `--dt` | Custom date/time format string | `yyyy-MM-dd HH:mm:ss` | | `--tz` | Timezone for timestamp display (use `--tz list` for options) | UTC | | `--nl` | Ignore transaction log files for dirty hives | FALSE | | `--debug` | Show debug information | FALSE | | `--trace` | Show trace information | FALSE | ## Common Output Fields (CSV) Output columns depend on tool version. When `--dedupe` is used, output is written to `Deduplicated.csv`. | Column | Description | |--------|-------------| | **BagPath** | Registry path to the ShellBag entry | | **Slot** | Bag slot number | | **NodeSlot** | Node slot number | | **MRUPosition** | Most Recently Used position | | **AbsolutePath** | Full reconstructed folder path | | **ShellType** | Shell item type identifier | | **Value** | Shell item value data | | **ChildBags** | Number of child bag entries | | **CreatedOn** | Target folder creation timestamp | | **ModifiedOn** | Target folder last modified timestamp | | **AccessedOn** | Target folder last accessed timestamp | | **LastWriteTime** | Registry key last write timestamp | | **MFTEntry** | MFT entry number of the target folder | | **MFTSequenceNumber** | MFT sequence number of the target folder | | **ExtensionBlockCount** | Number of extension blocks in the shell item | | **FirstInteracted** | First interaction timestamp | | **LastInteracted** | Last interaction timestamp | | **Miscellaneous** | Additional shell item properties | ## Workflow Examples ### Parse a directory of hives to CSV ``` SBECmd.exe -d "C:\Cases\Evidence\Registry" --csv "C:\Cases\Output" ``` ### Parse with deduplication ``` SBECmd.exe -d "C:\Cases\Evidence\Registry" --csv "C:\Cases\Output" --dedupe ``` ### Parse with a specific timezone ``` SBECmd.exe -d "C:\Cases\Evidence\Registry" --csv "C:\Cases\Output" --tz "US Eastern Standard Time" ``` ### Parse the live system registry ``` SBECmd.exe -l --csv "C:\Cases\Output" ``` ### Parse dirty hives without transaction logs ``` SBECmd.exe -d "C:\Cases\Evidence\Registry" --csv "C:\Cases\Output" --nl ```
此文件不提供内嵌文本预览
请使用左侧文件行末尾的外链图标打开原始文件。
