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.
In more detail
Flags accumulate while a file is open, and a final record carries the close flag. BASIC_INFO_CHANGE means timestamps or attributes changed, which is what timestomping leaves. Decode them with a bitwise AND against each flag's value.
Related terms
- USN journal — The NTFS change journal, $UsnJrnl:$J, which records creates, writes, renames, deletes and attribute changes for every file.
- 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)