817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Code Commits Issues Pull requests Wiki Builds Discussions Projects Insights Search Anthropic-Cybersecurity-Skills / skills / analyzing-windows-shellbag-artifacts / references / api-reference.md 2.1 KB
Code Raw Blame Permalink API Reference: Windows ShellBag Forensics
SBECmd (Eric Zimmerman)
Syntax
SBECmd.exe -d <registry_dir> # Process directory of hives
SBECmd.exe --hive <NTUSER.DAT> # Single hive
SBECmd.exe -d <dir> --csv <output_dir> # CSV export
SBECmd.exe -d <dir> -l # Live system registry
Output Fields
Field
Description
AbsolutePath
Full reconstructed folder path
CreatedOn
Folder creation timestamp
ModifiedOn
Folder modification timestamp
AccessedOn
Folder access timestamp
MFTEntryNumber
NTFS MFT reference
ShellType
Folder, network, zip, etc.
ShellBags Explorer (GUI)
Features
Tree view of folder access history
Timeline view of access patterns
Filtering by date range
Export to CSV/JSON
Registry Paths
NTUSER.DAT
Software\Microsoft\Windows\Shell\BagMRU
Software\Microsoft\Windows\Shell\Bags
Software\Microsoft\Windows\ShellNoRoam\BagMRU
UsrClass.dat
Local Settings\Software\Microsoft\Windows\Shell\BagMRU
Local Settings\Software\Microsoft\Windows\Shell\Bags
regipy (Python)
Installation
pip install regipy
Usage
from regipy.registry import RegistryHive
hive = RegistryHive("NTUSER.DAT")
key = hive.get_key("Software\Microsoft\Windows\Shell\BagMRU")
for value in key.iter_values():
print(value.name, type(value.value))
Shell Item Types
Type Byte
Description
0x1F
Root folder (GUID - Desktop, My Computer)
0x2F
Volume (drive letter)
0x31
File entry (directory)
0x32
File entry (file)
0x41
Network location
0x42
Compressed folder
0x46
Network share (UNC path)
0x71
Control Panel item
Forensic Value
Artifact
Intelligence
Network paths
Remote share access (lateral movement)
USB paths
Removable media (data exfiltration)
Deleted folders
Evidence of anti-forensics awareness
Temp directories
Staging areas for tools/malware
AppData paths
Persistence mechanism locations
Recycle Bin
Awareness of deleted content