Glossary
NTUSER.DAT
The per-user registry hive stored in each Windows profile and loaded as HKEY_CURRENT_USER, rich in user activity and persistence traces.
NTUSER.DAT is the main per-user registry hive. Each user profile has its own copy at the root of the profile folder, for example C:\Users\<username>\NTUSER.DAT (on Windows XP, under C:\Documents and Settings\<username>). When the user logs on, Windows loads it under HKEY_USERS\<SID> and exposes it as HKEY_CURRENT_USER.
Because it records a user's own settings and history, NTUSER.DAT is one of the most valuable sources for attributing activity to a specific account (identified by its SID). It holds, among others:
- program launch traces such as UserAssist;
- recently used files and commands, including RecentDocs, RunMRU, TypedPaths and the common dialog MRU lists;
- per-user autostart entries in the Run keys;
- application settings and recent file lists for many third-party programs.
The file is locked while the user is logged on, so it has to be collected from a forensic image, a Volume Shadow Copy or with raw-access tools rather than a simple copy. Collect the accompanying transaction logs (NTUSER.DAT.LOG1 and .LOG2) as well, since recent changes may exist only there. Remember that Explorer folder history (ShellBags) and some other shell data live in the second user hive, UsrClass.dat, which should always be collected alongside it.
Related artifacts
- Clipboard historyClipboard history cheat sheet: what Windows 10/11 keeps in memory, pinned items on disk, cloud clipboard text in ActivitiesCache.db and the registry settings.
- Installed Programs (Uninstall Keys, MSI, AppX)Installed programs cheat sheet: Uninstall keys, MsiInstaller events 1033/11707, cached MSIs, AppX packages, winget logs and Amcache to date software installs.
- Office MRU and Trust RecordsOffice MRU and TrustRecords cheat sheet: File MRU and User MRU keys per Office version, the [T…] timestamp, and how to spot documents with macros enabled.
- OneDrive sync clientOneDrive cheat sheet: account registry keys, SyncEngineDatabase.db and <CID>.dat metadata, ODL logs, SafeDelete.db, Files On-Demand and how to parse them.
- OpenSaveMRU and LastVisitedMRUOpenSavePidlMRU and LastVisitedPidlMRU cheat sheet: ComDlg32 keys per Windows version, what the open/save dialog records, timestamps and upload tips.
- Program Compatibility Assistant (PCA)Program Compatibility Assistant cheat sheet: Windows 11 PcaAppLaunchDic.txt and PcaGeneralDb files, the AppCompatFlags Store key, fields and UTC times.
- RDP connection artifactsRDP forensics cheat sheet: target-side event IDs (4624 type 10, 1149, 21–25, 131) and source-side traces (Terminal Server Client keys, Default.rdp, 1024).
- RecentDocsRecentDocs cheat sheet: NTUSER.DAT key and per-extension subkeys, MRUListEx order, what the LastWrite time means and how to link entries to LNK files.
- Registry hivesRegistry hives cheat sheet: SYSTEM, SOFTWARE, SAM, SECURITY, NTUSER.DAT, UsrClass.dat, transaction logs, RegBack, LastWrite times and collection.
- Run keys and Startup foldersRun keys and Startup folders cheat sheet: Run, RunOnce, Wow6432Node and Policies paths, StartupApproved enabled/disabled bytes, timestamps and pitfalls.
- RunMRURunMRU cheat sheet: commands typed in the Windows Run dialog (Win+R) in NTUSER.DAT, MRUList order, the LastWrite time and LOLBin or UNC patterns to hunt.
- ShellBagsShellBags cheat sheet: BagMRU and Bags keys in UsrClass.dat and NTUSER.DAT, shell items, folder timestamps, deleted and USB folders, and parsing with SBECmd.
- TypedPaths and WordWheelQueryTypedPaths and WordWheelQuery cheat sheet: paths typed in the Explorer address bar and Explorer search terms in NTUSER.DAT, order, timestamps and tips.
- UserAssistUserAssist cheat sheet: NTUSER.DAT GUID keys, ROT13 value names, run count, focus time and last run FILETIME for programs a user launched from Explorer.
- Windows Subsystem for Linux (WSL)WSL cheat sheet: Lxss registry key, WSL1 rootfs vs WSL2 ext4.vhdx, bash_history inside distros, wsl.exe execution traces, wsl$ share access and evasion.