What is Shellbags? And How Do Shellbags Work in Windows?
Shellbags are a set of artifacts stored in the Windows operating system that record the history of user interactions with file folders. These artifacts primarily track folder access events, such as when a user opens, views, or arranges folders. Shellbags can hold a wealth of information, including the folder paths, view settings (e.g., icon size, sorting order), and even the last accessed or modified times of the folders.
Windows uses these Shellbags to store metadata related to folders in various system files, particularly the Windows Registry. Unlike traditional files, Shellbags are not visible to the user and are not directly accessible through normal file browsing. However, they serve an important role in Windows, as they allow the operating system to remember and restore user-specific folder views and access preferences each time a user opens a folder.
How Do Shellbags Work?
When a user interacts with folders in Windows—whether by opening them, sorting them by name, or changing their view settings—Windows records these actions in the Shellbags. This data is stored in the registry under specific keys that correspond to the accessed folders.
Each time a user navigates through a folder, Windows updates the Shellbags to reflect the most recent activity, including:
- The folder path (e.g., C:\Users\Documents\)
- The view settings (e.g., list view, icon view, sorting order)
- Windows also keeps a record of the folder’s physical location, meaning that even if the folder itself has been deleted or moved, the Shellbags can still provide a trail of where it was previously located.
Why Does This Matter for Forensics?
For forensic investigators, Shellbags are an invaluable factor. They help uncover a detailed history of user actions, even when other forms of evidence, such as deleted files, are no longer available. In cases where a user attempts to cover their tracks by deleting or modifying files, Shellbags can provide critical evidence of folder access that might otherwise remain hidden.
By analyzing Shellbags, forensic experts can trace the user’s activity, reconstruct their interactions with the file system, and identify potentially relevant evidence for investigations.