Digital Forensic Tools
Home / Workflows / Check NTFS files for timestomping
Case workflow

Were the file times on this NTFS disk changed on purpose?

Timestomping means changing the dates of a file to hide when it was made or used. NTFS keeps two sets of times for each file and a change journal. This workflow compares them to find files whose times do not fit.

This workflow was written from the tools' documentation and published references. It has not yet been checked step by step on the practice data. If a step does not match what you see, please report it.

What you will be able to answer

  • Which files have $STANDARD_INFORMATION times that do not fit their $FILE_NAME times
  • Which files have times that end in all zeros
  • Whether the change journal shows a time change for the file
  • Whether other artifacts show the file was used at a time that contradicts its dates
  • How strong the evidence of time change is, and what else could explain it

What you need

  • A forensic image of an NTFS volume, or the extracted $MFT and $J files
  • A Windows workstation with MFTECmd and Timeline Explorer
  • Free disk space for the CSV output. A large $MFT can give a CSV of several gigabytes
  • A short list of the files or time window of interest, if the case gives one

Steps

  1. 1

    Learn the two sets of times

    Each file record in the $MFT holds times in the $STANDARD_INFORMATION attribute ($SI) and in the $FILE_NAME attribute ($FN). Windows and most tools show the $SI times. Programs can set $SI times through normal calls, while the $FN times are normally kept by the system. So a stomped file often has $SI times that no longer match $FN. Skilled attackers can change both sets.

  2. 2

    Get the NTFS files

    Extract the $MFT from the image. For the change journal, extract the $J stream of $UsnJrnl. FTK Imager and Autopsy can export them from an image. KAPE can collect them from a live system or a mounted image. Note the image hash and the extraction method in your notes. Do not run the tools on the original disk.

    $MFT$Extend\$UsnJrnl:$J$LogFile
  3. 3

    Parse the $MFT into CSV

    MFTECmd reads the $MFT and writes a CSV with the $SI and $FN times of every record. By default it lists the $FN times only when they differ from the $SI times. Use the --at option to include all of them. The output also has extra columns that flag zeroed sub-seconds and $SI earlier than $FN. Check the column names in your version.

    MFTECmd.exe -f "C:\case\$MFT" --csv "C:\case\out" --csvf mft.csv
    ToolsMFTECmd
  4. 4

    Filter the output in Timeline Explorer

    Load the CSV in Timeline Explorer. Filter on the flag for $SI earlier than $FN, and on the flag for times that end in zero sub-seconds. Many hits are normal, so narrow by folder, file type and time window. Put the created time of the $SI next to the created time of the $FN. Look at files in system folders or user folders that were made recently, but claim old dates.

    Copying or moving files can change $SI times and create harmless mismatches. Treat each hit as a lead.

  5. 5

    Check the change journal

    Parse $J with MFTECmd and give it the $MFT so it can resolve folder paths. In the CSV, look for the file you suspect and read its entries in order: create, rename, data change, and a change of basic information. A basic-information change right after the file appears can fit a time change. The journal keeps only a limited history, so old entries may be gone.

    MFTECmd.exe -f "C:\case\$J" -m "C:\case\$MFT" --csv "C:\case\out" --csvf usn.csv
  6. 6

    Look at the $LogFile if you have it

    The $LogFile records recent NTFS operations. It may hold entries about changes to the $FN attribute that the $MFT does not show. It is small and is overwritten quickly on a busy disk, so it often covers only a short period. MFTECmd can parse it with the $MFT. A shadow copy of the volume may hold an older version.

    MFTECmd.exe -f "C:\case\$LogFile" -m "C:\case\$MFT" --csv "C:\case\out" --csvf logfile.csv
    ToolsMFTECmd
  7. 7

    Cross-check with other artifacts

    Look for proof that a file was used or created at a time that contradicts its dates. Shortcut (LNK) files are made when a file is opened, and they record the target's times. Prefetch shows when a program ran. Office documents and photos hold their own metadata. A file that claims to be a year old but shows up in a recent shortcut or in a program's run record is a strong clue.

  8. 8

    State the result with care

    Write down each file, its $SI and $FN times, the journal evidence and the other artifacts. Say whether the evidence fits a time change or has another explanation, such as a copy, a move or a program that sets times. Do not say who changed the times. Add the tool versions and the time zone.

Where the evidence is stored

$STANDARD_INFORMATION times ($SI)Each file record in the $MFT
The created, modified, MFT-changed and accessed times that Windows normally shows
$FILE_NAME times ($FN)Each file record in the $MFT
A second set of times, which many simple tools do not change
$UsnJrnl:$J$Extend folder of the NTFS volume
A list of changes to files, for example create, rename and a change of basic information
$LogFileRoot of the NTFS volume
Recent NTFS operations, kept only for a short time
LNK filesUser's Recent folder
The target file's times at the time it was opened
Prefetch filesWindows\Prefetch
When a program ran, to compare with the file's creation date
File metadataInside the document or photo
Created and edited dates that the file system cannot change

Check your result

  • Confirm the $SI and $FN times of a flagged file in a second tool, for example Autopsy or the Sleuth Kit.
  • Look for the same file in the $J journal and read its entries in order.
  • Check LNK files, Prefetch or file metadata for an opening or run time that conflicts with the file's dates.
  • Compare the flagged files with a baseline from the same volume, to see what normal mismatches look like.

Common mistakes

  • Calling a file stomped only because its $SI time is earlier than its $FN time.
  • Reading the Windows Explorer dates and never opening the $MFT.
  • Mixing up the $SI and $FN columns in the CSV, or comparing only the created time.
  • Forgetting that MFTECmd hides $FN times that match $SI unless you use --at.
  • Ignoring the journal and other artifacts, and relying on one test.

Write it up

A short, careful way to state this kind of finding in a report. Change the details to match your own results.

The $MFT record of [file path] shows a created time of [time, UTC] in $STANDARD_INFORMATION and [time, UTC] in $FILE_NAME. [Other evidence, for example a journal entry or a shortcut file] shows the file at [time]. This is consistent with a change of file times. It is not proof, and it does not show who made the change.

What this does not prove

  • A mismatch between $SI and $FN is not proof. Normal actions such as moving or copying files can cause it.
  • A check that finds nothing does not clear a file. A skilled person can change both sets of times.
  • Times that end in zero sub-seconds can be set by tools, but many programs and file types also make them normally.
  • The $UsnJrnl and $LogFile are overwritten over time, so older changes may be gone.
  • This workflow is for NTFS. FAT, exFAT and Linux file systems keep times differently.
  • Clock changes, time zones and daylight saving can look like a time change if you do not check them.

Practise on public data

NIST CFReDS: Data Leakage Case (PC image) as an NTFS baseline

by NIST

The PC image is an NTFS Windows 7 disk (about 5 GB compressed as DD, or about 7.3 GB as E01). It is not a timestomping case, and no one has marked files as changed. It is useful as a baseline: you can see how many harmless mismatches a normal disk with copied and renamed files produces.

Your task. Export the $MFT and $J, parse them with MFTECmd and count the files flagged for $SI earlier than $FN. Open five flagged files in the NIST answer context, for example files the user copied, and explain why they are or are not suspicious.

No public NTFS image with known timestomped files was verified. To practise on real changes, create your own: in a test virtual machine make a file, change its dates with a known tool, then image the disk and analyse it. Another public exercise from CAS Cyber (cas-cyber.gitbook.io, Timestomping Exercise) offers a USB image with time anomalies. Its page does not state the file system, so it may not be NTFS.

Where to go next

Sources and further reading

A study guide written in our own words. It is not a legal or laboratory procedure. Follow your own lab's approved method on real cases. Last reviewed 24 Nov 2026.