TIMESTOMPING
$STANDARD_INFO
$FILE_NAME
SYSMON 2
DetectionBlue TeamSOCOctober 12, 2026•9 min read

Detecting Timestomping: Sysmon Event 2 and MFT Mismatches

Timestomping rewrites the timestamps an analyst sees first. NTFS keeps a second set that the usual tools do not touch, and the two sets rarely agree after tampering.

Scroll

Attackers alter file timestamps so a dropped binary appears to have been on the system for years, blending into the timeline. Most tools change only the $STANDARD_INFORMATION attribute, which user-mode APIs can write. The $FILE_NAME attribute is updated by the NTFS driver, so comparing the two, and checking precision, exposes the edit on disk long after the fact.

Signals at a Glance

SignalWhereATT&CK
Creation time changed by a non-installer processSysmon Event 2T1070.006
$STANDARD_INFORMATION created earlier than $FILE_NAME createdMFT analysisT1070.006
Sub-second values all zero in $STANDARD_INFORMATIONMFT analysisT1070.006
Timestamps earlier than the OS install or the volume creation dateMFT, filesystem timelineT1070.006
USN journal shows a basic-info change shortly after file creationUSN journal ($J)T1070.006

Live Telemetry with Sysmon Event 2

Sysmon Event ID 2 logs a change to a file creation time, including the previous and new values and the process responsible. It is high volume if unfiltered, because browsers and installers legitimately set creation times, so use an exclude list tuned to your estate rather than an include list:

<!-- Sysmon configuration fragment: FileCreateTime with noise exclusions -->
<Sysmon schemaversion="4.90">
  <EventFiltering>
    <RuleGroup name="timestomp" groupRelation="or">
      <FileCreateTime onmatch="exclude">
        <!-- tune/validate: reviewed benign writers only -->
        <Image condition="end with">\chrome.exe</Image>
        <Image condition="end with">\msedge.exe</Image>
        <Image condition="is">C:\Windows\System32\msiexec.exe</Image>
        <Image condition="end with">\OneDrive.exe</Image>
      </FileCreateTime>
    </RuleGroup>
  </EventFiltering>
</Sysmon>

Review the remaining events by path. A creation time rewritten on an executable in a user profile, from a process that is not an installer or sync client, is the shape to escalate.

Offline MFT Comparison

The NTFS Master File Table holds two creation times per file, one in each attribute. A genuine file has $FILE_NAME no earlier than $STANDARD_INFORMATION in the common case; a file whose $STANDARD_INFORMATION predates its $FILE_NAME was probably back-dated. Parse the MFT with MFTECmd and filter on its built-in flags:

# Parse the MFT, then filter the CSV for timestomping indicators
MFTECmd.exe -f "C:\Evidence\$MFT" --csv "C:\Out" --csvf mft.csv

Import-Csv C:\Out\mft.csv |
  Where-Object { $_.'SI<FN' -eq 'True' -or $_.uSecZeros -eq 'True' } |
  Where-Object { $_.Extension -in '.exe','.dll','.sys','.ps1' } |
  Select-Object ParentPath, FileName, Created0x10, Created0x30, LastModified0x10 |
  Sort-Object ParentPath
# tune/validate: confirm column names for your MFTECmd version; expect noise from
# archive extraction and installers, so focus on user-writable paths.
Vetted sources

Use the Sysmon Event 2 documentation and community Sysmon configurations (SwiftOnSecurity, Olaf Hartong), the SigmaHQ file-change rules, MFTECmd and the SANS timeline analysis references, and MITRE ATT&CK T1070.006. Atomic Red Team includes timestomp tests. Baseline your own environment — sync clients and installers set creation times routinely.

Build Detections That Fire

Mjolnir Security helps blue teams turn threat intelligence into high-fidelity detections across endpoint, network, identity and cloud telemetry.

Detection EngineeringManaged Detection & ResponseThreat HuntingIncident ResponsePurple Teaming
  • Detection Engineering We build and tune detections mapped to ATT&CK from your own telemetry.
  • Threat Hunting as a Service Hypothesis-driven hunts for the behaviours on this page.
  • 24/7 Incident Response Containment when a detection fires. Call +1 833 403 5875.
Written by: Mjolnir Threat Research (MTAC)  |  Published: October 12, 2026  |  Last reviewed: October 12, 2026