Shellbags
Windows Shellbags
are Registry
entries that track what directories a user
has browsed via Explorer GUI. These entries are stored in the undocumented
ShellItem
binary format.
artemis
supports parsing the most common types of shellitems
, but if you
encounter a shellitem
entry that is not supported please open an issue!
Other parsers:
References:
TOML Collection
system = "windows"
[output]
name = "shellbags_collection"
directory = "./tmp"
format = "json"
compress = false
endpoint_id = "6c51b123-1522-4572-9f2a-0bd5abd81b82"
collection_id = 1
output = "local"
[[artifacts]]
artifact_name = "shellbags"
[artifacts.shellbags]
resolve_guids = true
# Optional
# alt_drive = 'C'
Collection Options
alt_drive
Expects a single character value. Will use an alternative drive letter when parsingShellbags
. This configuration is optional. By defaultartemis
will use the%systemdrive%
value (typicallyC
)resolve_guids
Boolean value whether to try to resolve GUIDS found when parsingShellbags
.- If false:
"resolve_path": "20d04fe0-3aea-1069-a2d8-08002b30309d\C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current",
- If true:
"resolve_path": "This PC\C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current",
- If false:
Output Structure
An array of Shellbag
entries
export interface Shellbags {
/**Reconstructed directory path */
path: string;
/**FAT created timestamp. Only applicable for Directory `shell_type` */
created: number;
/**FAT modified timestamp. Only applicable for Directory `shell_type` */
modified: number;
/**FAT modified timestamp. Only applicable for Directory `shell_type` */
accessed: number;
/**Entry number in MFT. Only applicable for Directory `shell_type` */
mft_entry: number;
/**Sequence number in MFT. Only applicable for Directory `shell_type` */
mft_sequence: number;
/**
* Type of shellitem
*
* Can be:
* `Directory, URI, RootFolder, Network, Volume, ControlPanel, UserPropertyView, Delegate, Variable, MTP, Unknown, History`
*
* Most common is typically `Directory`
*/
shell_type: string;
/**
* Reconstructed directory with any GUIDs resolved
* Ex: `20d04fe0-3aea-1069-a2d8-08002b30309d` to `This PC`
*/
resolve_path: string;
/**User Registry file associated with `Shellbags` */
reg_file: string;
/**Registry key path to `Shellbags` data */
reg_path: string;
/**Full file path to the User Registry file */
reg_file_path: string;
}