CyberKit

Timestomping

Forging file timestamps to hide when something really happened.

What it is

An anti-forensic technique that alters a file's timestamps to blend malicious files into normal system activity or to break timeline analysis.

Why it matters

It defeats naive timeline review, but NTFS keeps two timestamp sets ($STANDARD_INFORMATION and $FILE_NAME), and mismatches between them are a reliable sign of tampering.

In practice

A dropped tool back-dated to 2009 to match system files. Caught because its $FILE_NAME timestamps tell the real story.

What to look for

  • $STANDARD_INFORMATION times earlier than $FILE_NAME times.
  • Times with all-zero fractional seconds.
  • A file dated years back that appears late in the USN journal.

Common mistake

Checking only one set of timestamps. A forger usually changes the easy set; compare it with $FILE_NAME and the change journal.

Use it in CyberKit

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Autopsy Open source

    A graphical forensics platform that parses file systems and common artifacts. Our notes.

  • Eric Zimmerman's tools Free

    Command line parsers for Windows artifacts such as the MFT, Prefetch and the Registry. Our notes.

  • Plaso Open source

    Builds a super timeline from many artifacts in one image. Our notes.

  • Velociraptor Open source

    Collects the same artifacts remotely, without pulling a full disk image. Our notes.

ATT&CK techniques

Read next

  • Master File Table: The NTFS index of every file, and a goldmine of timestamps.
  • Prefetch: A Windows artifact proving a program ran, and when.
  • Order of Volatility: Collect the most fleeting evidence first, before it disappears.

Sources