Sysmon event 2
A process changed a file creation time
Channel: Microsoft-Windows-Sysmon/Operational. Category: File Creation Time.
What it records
Records when a process explicitly modifies a file's creation timestamp, helping track the real creation time of a file.
Why it matters
Timestomping, backdating a malicious file to blend in with legitimate system files, is a common anti-forensic technique. This event is one of the few ways to catch that manipulation directly rather than inferring it from filesystem metadata after the fact.
What triggers it
Many processes legitimately change a file's creation time as part of normal operation, but Microsoft's own Sysmon documentation calls out attackers changing a backdoor's creation time to make it look like it was installed with the operating system.
Fields that carry the answer
| Field | What it tells you |
|---|---|
| Image | The process that changed the timestamp, often reveals the tool used to timestomp, whether a script interpreter or a bespoke backdoor. |
| TargetFilename | The file whose creation time was altered, which identifies exactly which artifact the attacker was trying to make blend in. |
| CreationUtcTime | The new, falsified creation timestamp that was written. Compare against surrounding files to see what the attacker was trying to mimic. |
| PreviousCreationUtcTime | The original creation time before modification: the actual evidence of when the file was really created; the delta from CreationUtcTime proves tampering occurred. |
In practice
TargetFilename C:\Users\jsmith\AppData\Local\Temp\update.exe shows CreationUtcTime rewritten to match kernel32.dll's timestamp, while PreviousCreationUtcTime reflects the file's true, much more recent drop time: a timestomping attempt (T1070.006) to make a freshly dropped binary blend in with system files.
Sample record
File creation time changed:
RuleName: -
UtcTime: 2024-01-15 14:35:12.456
ProcessGuid: {5a8f3c2b-7e44-65b0-1300-000000001c00}
ProcessId: 5566
Image: C:\Users\jsmith\AppData\Local\Temp\update.exe
TargetFilename: C:\Users\jsmith\AppData\Local\Temp\update.exe
CreationUtcTime: 2019-12-07 10:14:32.000
PreviousCreationUtcTime: 2024-01-15 14:35:10.221
User: CORP\jsmithATT&CK techniques
- T1070.006: Timestomp
Sources
Paste a record into Event XML or open a log in EVTX Reader.