Skip to content
Blog

USN Journal Parser · NTFS $UsnJrnl:$J · in-browser DFIREvery file change on the volume, on one timeline.

Parse Windows NTFS USN Journal ($UsnJrnl:$J) files entirely in your browser. Files never leave your machine.

  • Runs 100% in your browser
  • No upload, no account
  • Open source · Apache-2.0
Where do I find $J? →
Drop your $J — or a whole collection$UsnJrnl:$J (optionally with $MFT), a ZIP triage collection (KAPE, Velociraptor…) or a folder.

Sample: synthetic files from a fictional intrusion (host FIN-WKS-07). No real data.

Files never leave your machine.

How to get your data

Full extraction guide →

$J is a hidden, locked NTFS stream: Explorer, copy and robocopy give you an empty file or an access error. The first tab gets you the real bytes in about two minutes.

  1. Collect $J (+ $MFT)
  2. Drop the file, folder or ZIP here
  3. Parsed in your browser, nothing uploaded

KAPE, one command (live Windows host)

Recommended

You need: KAPE (free, from Kroll) unzipped on the host or a USB drive, and a console opened as administrator in the KAPE folder.

Command Prompt (cmd.exe)
kape.exe --tsource C: --tdest C:\triage --target $J,$MFT
PowerShell: same command, target list in single quotes (otherwise $J is read as a variable)
.\kape.exe --tsource C: --tdest C:\triage --target '$J,$MFT'

Result: C:\triage\C\$Extend\$J / C:\triage\C\$MFT. Drop the C:\triage\C folder here, or a ZIP of it.

Gotchas

  • Explorer, copy or robocopy never give you the journal: $J needs a raw NTFS reader (the tools above) and administrator rights on a live host.
  • The journal is a fixed-size ring buffer: on a busy volume it may reach back only days or hours. Collect it first, before more activity overwrites the oldest records.
  • A file of a few bytes is $Max, not $J, and fsutil usn readjournal output is text, not a journal. A long run of zeroes at the start of $J is normal.
$UsnJrnl_$J · 412,908 records

Built for triage

From a raw $J to answers in seconds

A WebAssembly port of a battle-tested Rust parser, wrapped in a workspace designed for the questions you actually ask of a USN journal.

How it works

Three steps, no install

  1. 01

    Collect $J

    Extract \$Extend\$UsnJrnl:$J with KAPE, FTK Imager or RawCopy — plus $MFT if you want full paths.

  2. 02

    Drop it here

    The parser runs in a Web Worker on your machine. Nothing is uploaded, nothing is logged.

  3. 03

    Investigate

    Filter, pivot on the timeline, open any record and export the slice you need.

What is the NTFS USN Journal?

The USN Journal (Update Sequence Number Journal, also called the NTFS change journal) is a log NTFS keeps of every change made to files and directories on a volume: creates, deletes, renames, writes, truncations, attribute and security changes. Each change appends a small record with a timestamp, the file's MFT reference, its parent directory's reference, the file name and a reason bitmask. Windows enables it on the system volume, and backup, search indexing and sync software rely on it, which is why it is almost always there when you need it for an investigation.

Where $UsnJrnl lives: the $J and $Max streams

The journal is the metadata file \$Extend\$UsnJrnl at the root of the volume. It has two named data streams:

  • $UsnJrnl:$J holds the records. It is a sparse stream that behaves like a ring buffer: new records are appended at the end, and NTFS frees the oldest region once the journal grows past its maximum size. A copy of $J can be hundreds of megabytes of zeros followed by the live records, so parsers skip the leading zeros.
  • $UsnJrnl:$Max only holds the journal's configuration (maximum size, allocation delta, journal ID). It contains no records.

Explorer, copy or robocopy cannot copy either stream from a live system. Collect $J with a raw-volume tool (FTK Imager, KAPE, RawCopy, The Sleuth Kit's icat) as described in extracting $UsnJrnl from a disk image, then drop it into the parser above.

Inspect it with fsutil

On a live Windows host, from an elevated prompt:

fsutil usn queryjournal C:

This prints the journal ID, the first and next USN, and the configuration, for example Maximum Size : 0x0000000002000000 (32 MB, the usual size on a client system volume) and Allocation Delta : 0x0000000000800000 (8 MB). The other fsutil usn subcommands:

CommandWhat it does
fsutil usn readjournal C: csvDumps the records (add startusn= to begin at a given USN)
fsutil usn readdata C:\path\file.txtShows the file's latest USN and its file reference number
fsutil usn createjournal m=1073741824 a=134217728 C:Creates the journal or resizes it (here 1 GB max, 128 MB delta)
fsutil usn deletejournal /d C:Disables and deletes the journal

How long does it go back? With a 32 MB journal, a busy workstation keeps anywhere from hours to a few days of activity. Servers that someone resized to 1 GB or more can keep weeks. Comparing the timestamps of the first and last records in the parser tells you the window you actually have. Raising m= before an incident is one of the cheapest forensic-readiness changes you can make. A deleted or recreated journal (deletejournal, or a new journal ID) is itself an anti-forensics indicator.

What a record contains (USN_RECORD_V2 / V3)

NTFS writes version 2 records. Version 3 uses 128-bit file IDs (ReFS, and some APIs ask for them); the fields are otherwise the same.

FieldSize (V2)What it tells you
RecordLength4Size of the record, including the name
MajorVersion / MinorVersion2 + 22.0 on NTFS, 3.0 with 128-bit IDs
FileReferenceNumber8MFT entry + sequence number: the key that ties every record for one file together
ParentFileReferenceNumber8MFT entry of the parent directory: rebuild full paths with the $MFT
Usn8Offset of the record in $J, increases monotonically
TimeStamp8Windows FILETIME, UTC
Reason4Bitmask of what changed (see below)
SourceInfo4Set when the change came from the OS or a replication agent rather than a user
SecurityId4Index into $Secure
FileAttributes4Hidden, system, directory, archive...
FileNameLength / FileNameOffset2 + 2Location of the name
FileNamevariableUTF-16LE file name only, never the full path

The reason flags you will read most

FlagValueMeaning
DATA_OVERWRITE0x00000001Existing data was rewritten
DATA_EXTEND0x00000002Data was appended (file grew)
DATA_TRUNCATION0x00000004File was truncated
FILE_CREATE0x00000100File or directory created
FILE_DELETE0x00000200File or directory deleted
SECURITY_CHANGE0x00000800ACL changed
RENAME_OLD_NAME0x00001000Name before a rename or move
RENAME_NEW_NAME0x00002000Name after a rename or move
BASIC_INFO_CHANGE0x00008000Attributes or timestamps changed (timestomping shows up here)
CLOSE0x80000000Last handle closed: the flags in this record sum up the whole change

Flags accumulate while a file is open, so a record usually carries several: FILE_CREATE | DATA_EXTEND | CLOSE is a file written and closed in one go. The reason codes guide covers every bit and the patterns behind ransomware, exfiltration and secure-deletion tools.

The journal says what changed and when, not who: there is no user or process in a record. Correlate with Security event logs, Sysmon and Prefetch for that, and see USN journal vs $MFT vs $LogFile for which NTFS artefact answers which question.

When is it used?

Incident response, intrusion timelines, ransomware analysis, insider-threat investigations — any case where you need a record of file activity even after files have been deleted from disk.

Why parse in the browser?

Journal files contain artefacts of every action on the volume — sensitive by nature. This tool ships a WebAssembly parser to your machine; the file never reaches our servers, and there is nothing to log.

Ready when your $J is.

Free, private and open source. Drop a journal and start reading the volume's history.

Open a $J file