USN journal
The NTFS change journal, $UsnJrnl:$J, which records creates, writes, renames, deletes and attribute changes for every file.
In more detail
Each entry holds a file reference, time, reason flags and file name, so it keeps names and reasons for files that no longer exist. It has a fixed size and old entries are dropped as new ones arrive, so export it early in a case. The $J stream is sparse, with zeros where old data was released.
Related terms
- USN reason flags — Bit flags in each USN journal record that say what happened to a file, such as FILE_CREATE, DATA_EXTEND, RENAME_NEW_NAME or FILE_DELETE.
- MFT — Master File Table: the NTFS table with one record, usually 1 KiB, for every file and folder on the volume.
- timestomping — Changing a file's timestamps to make it look older or blend in with legitimate files.
Taught in
- Disk Forensics: MFT, UsnJrnl & Prefetch — Security Operations & Threat Hunting (SOC)