Skip to content

ShellBags

Definition

Per-user shell folder-view records whose paths, fields and coverage depend on Windows version and interaction context.

Registry hives
UsrClass.dat and NTUSER.DAT, under Shell\BagMRU and \Bags
Records
Folder paths opened in Explorer, including window position and view settings
Survives deletion
Yes, entries persist for folders and removable drives no longer present
Tool support
ShellBags Explorer (Eric Zimmerman), RegRipper plugins

Common questions

Why are ShellBags useful when the folder itself has been deleted?+

The registry keeps the folder record even after the folder, drive, or file is gone, because the entry is written when Explorer displays the folder, not tied to the target's continued existence. This lets an examiner show a USB drive or network share was browsed even though nothing from it remains on disk.

Do ShellBags prove a file was opened, or just that a folder was viewed?+

Only that the folder was displayed in Explorer, not that any file inside it was opened, copied, or read. Pairing ShellBags with LNK files, jump lists, or recent-file MRU lists is needed to show individual file interaction.

Related terms

Alternate Data Stream (ADS)
A named NTFS stream distinct from the default unnamed data stream. Presence, name or size does not establish malicious content.
File Slack
Space beyond a file’s logical content within its allocation under stated assumptions. Its existence and contents depend on allocation, storage and filesystem...
Hiberfil.sys
A Windows hibernation-related file whose content depends on state, file type and OS version; not universally a full current RAM image.
LNK File
A Windows Shell Link file with a header and optional structures describing a target and link-resolution information.
Volume Shadow Copy (VSS)
Windows infrastructure for point-in-time volume views when configured and retained; access and consistency depend on the source and acquisition.

Explained in