Skip to content
Vol. 1 · Ed. 2026
CyberGlossary
Entry № 1148

Shellbags

Reviewed byCybersecurity entrepreneur & security researcher

What is Shellbags?

ShellbagsRegistry keys that store per-user Windows Explorer folder-view settings and serve as forensic evidence that a specific user viewed a specific folder, including removable and network paths.


Shellbags are registry structures that Windows Explorer writes to remember how each folder window looked — its size, position, view mode, and sort order. Their forensic value is that they persist after the folder is gone: the entry survives even when the directory, the removable drive, or the network share it describes no longer exists.

Where they live

For modern Windows the relevant hives are per-user UsrClass.dat (HKCU\Software\Classes), under Local Settings\Software\Microsoft\Windows\Shell\BagMRU and ...\Bags. NTUSER.DAT holds a parallel, usually smaller set. BagMRU stores a tree of ShellItem ID lists — binary blobs that encode the path hierarchy, folder type, and embedded MFT-style timestamps — while Bags stores the view preferences keyed by a bag number.

Investigative use

Because Explorer only populates shellbags when a user interactively browses a folder, they are strong evidence of user knowledge and intent: reconstructing the folder structure of a wiped USB stick, proving access to an encrypted container or ZIP, or showing navigation to \\fileserver\HR$\Salaries in an insider case. Interpretation requires care — timestamps reflect last interaction, not first — so analysts corroborate with $MFT, UsnJrnl, and LNK/Jumplist data. Tooling: ShellBags Explorer and SBECmd (Eric Zimmerman), RegRipper plugins, and KAPE modules.

flowchart TD
  A[User opens folder<br/>in Explorer] --> B[Explorer saves view prefs]
  B --> C[BagMRU:<br/>ShellItem path + timestamps]
  B --> D[Bags:<br/>view mode / window layout]
  C --> E{Folder later deleted<br/>or drive removed}
  E --> F[Shellbag entry persists]
  F --> G[Forensic parsing<br/>ShellBags Explorer / RegRipper]
  G --> H[Proof of folder access<br/>& historical structure]

● Examples

  1. 01

    Showing a user navigated to an external USB folder named exfil_2024 even after the drive was destroyed.

  2. 02

    Proving access to a network share \\fileserver\HR$\Salaries during an insider-threat investigation.

● Frequently asked questions

What is Shellbags?

Registry keys that store per-user Windows Explorer folder-view settings and serve as forensic evidence that a specific user viewed a specific folder, including removable and network paths. It belongs to the Forensics & IR category of cybersecurity.

What does Shellbags mean?

Registry keys that store per-user Windows Explorer folder-view settings and serve as forensic evidence that a specific user viewed a specific folder, including removable and network paths.

How do you defend against Shellbags?

Defences for Shellbags typically combine technical controls and operational practices, as detailed in the full definition above.

What are other names for Shellbags?

Common alternative names include: Shell Bags, BagMRU.

● Related terms

● See also