Skip to content

Add Windows ShellBags artifact - #155

Merged
abrignoni merged 1 commit into
mainfrom
feat/win-shellbags
Sep 16, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/win-shellbags

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds a Windows ShellBags artifact. ShellBags record the folders a user browsed in Explorer.

  • Shell Path: rebuilt by walking the BagMRU tree and decoding each node's shell item (drive, long or short folder name, or a documented shell-folder name; other item types shown as {GUID} or a neutral label).
  • Registry Last Write: the BagMRU node key's last-write time, which approximates when the folder was last browsed at or below that node.
  • Item Modified: the DOS modification date stored inside a file-entry shell item, where present.

Reads both UsrClass.dat and NTUSER.DAT (and the ShellNoRoam tree). Shell-item parsing follows the libyal libfwsi Windows Shell Item format.

🤖 Generated with Claude Code

Reconstructs the folders browsed in Explorer from the BagMRU shell items in
UsrClass.dat and NTUSER.DAT. Walks the BagMRU tree, decodes each node's shell
item to a name (drive, long or short folder name, or a documented shell-folder
name), and rebuilds the full path. Reports each folder's registry last-write
time and, for file-entry items, the folder's embedded DOS modification date.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit f95b736 into main Sep 16, 2026
10 checks passed
@abrignoni
abrignoni deleted the feat/win-shellbags branch September 16, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant