[KongchangAI]
· 3 min read· 1,875 words

How to Detect Timestomping? A DFIR Interviewer Explains Core Forensic Methods

How to Detect Timestomping? A DFIR Interviewer Explains Core Forensic Methods

Jessica Hyde uses a mock interview to explain timestomping detection approaches and key response points for engineers at different levels.

Based on an interview with Hexordia founder Jessica Hyde on the Simply Cyber channel, this article explores how to detect file timestomping in DFIR. It presents mock interview answers and commentary from junior, mid-level, and senior engineers: the junior proposes backup comparison and command history checks; the mid-level turns to event logs, Shell Bags, and Jump Lists; the senior points to MFT records and registry clues. Jessica stresses stating assumptions first, then cross-validating via a timeline of surrounding system activity.

In digital forensics and incident response (DFIR), timestomping is one of the anti-forensic techniques commonly used by attackers. In an episode on the Simply Cyber channel, Jessica Hyde, founder of Hexordia, used a mock interview format to have junior, mid-level, and senior engineers each answer "how to determine whether file timestamps have been deliberately modified, and what artifacts should be examined to confirm timestomping," and provided in-depth commentary. This article, based on that interview, outlines the key approaches and practical points for detecting timestomping.

Jessica Hyde explaining the detection approach

Why Timestomping Detection Is a Frequent DFIR Interview Question

Jessica points out that this question tests two core competencies at once: an understanding of timeline artifacts and file system timestamps, and vigilance toward anti-forensic techniques. Whether it is an insider user or an external attacker, anyone trying to cover their tracks may tamper with timestamps. When forensic examiners present timeline evidence in court, they must be able to answer: Are these timestamps trustworthy? Is there other evidence to support them? What could have caused the timestamps to be modified? Since almost all digital forensic work revolves around timelines, this question naturally becomes a good way to test a candidate's practical thinking.

For interviewers, this type of question also reveals how candidates react under uncertainty—whether they honestly acknowledge a knowledge gap and demonstrate their problem-solving approach, or fabricate an answer. Jessica emphasizes that the attitude of "I haven't thought about this question, but here's what I would do" in a junior candidate's response is very valuable.

The Junior Engineer's Answer: Honesty and Basic Troubleshooting Approach

The junior candidate admitted that they had not deeply encountered timestomping, but proposed two feasible paths: check whether the file has a backup and compare the timestamps in the backup with those of the original file; and check whether there is a record of commands executed against the file, for example by looking for clues in command history (such as bash history).

Jessica evaluates this positively: admitting you don't know is not frightening; the key is to follow up with "what I would do." Backup comparison can help determine whether a file had already been modified before a certain point in time, while checking command history is an effective direction for finding direct evidence of manipulation. However, she also cautions that the specific examination method depends heavily on the type of artifact involved—different file system timestamps have different update mechanisms, and the investigation path will differ accordingly.

The Mid-Level Engineer's Answer: Logs, Shell Bags, and Jump Lists

The mid-level candidate started with the file properties visible to users, noting that timestamps in the right-click Properties dialog can be forged, so one must turn to system logs. They suggested checking Windows event logs to trace events such as the first appearance and renaming of a file; at the same time, using interaction artifacts such as Shell Bags and Jump Lists to determine whether a file was accessed before the time indicated by its timestamps. They also mentioned from their own experience having seen Shell Bag records with timestamps earlier than the file creation time, which is a clear sign of tampering.

Key points from the mid-level candidate's answer

Jessica praised this candidate's ability to connect technical details with user experience—explaining complex concepts in a way ordinary people are familiar with, such as "right-click Properties," which is crucial when explaining to a jury or judge in court, or reporting to corporate legal counsel. At the same time, mentioning Shell Bags, Jump Lists, and event logs demonstrated familiarity with Windows artifacts. Jessica's only regret was that they did not expand on a specific case story, whereas a mid-level engineer should precisely use experience to prove that knowledge has been put into practice. She also added that one should explain why Shell Bags or Jump Lists might have timestamps later than the file creation time without indicating malicious activity—for example, when a file is moved to a different drive, the method of moving affects timestamps.

Shell Bags are historical records in the Windows Registry of folders users have browsed in Explorer, including folder paths, view settings, and first and last access times. These records are stored in registry keys in the user's profile hive (such as NTUSER.DAT\Software\Microsoft\Windows\Shell\BagMRU and Shell), and Shell Bags may retain traces even after the user later deletes the folder or disconnects external devices. Jump Lists, a feature introduced after Windows 7, record files and applications recently accessed by the user through the taskbar or Start menu, with data stored in .automaticDestinations-ms and .customDestinations-ms files under the user's profile folder. Both types of artifacts can reflect the actual time a file was accessed and are less likely to be cleaned up by attackers, so they are often used to cross-validate the authenticity of file system timestamps. When Shell Bags or Jump Lists record a time earlier than the file creation time, it strongly suggests that the creation time has been tampered with.

The Senior Engineer's Answer: MFT Records and Registry Clues

The senior candidate directly identified file timestamp tampering as anti-forensic behavior, saying the best checkpoint is the MFT (Master File Table) record, comparing creation time with modification time. They emphasized that if the modification time is earlier than the creation time, it is a huge red flag. In addition, registry key values can sometimes provide clues.

Key points from the senior candidate's answer

Jessica considered this answer directionally correct but insufficiently deep. She pointed out that all three candidates assumed "Windows system, ordinary file, MAC times modified," and all assumed that what was modified was the creation time rather than the access time or timestamps in other file system types. For a senior engineer, she would expect a deeper explanation, such as the possibility that a modification time later than the creation time may also have other non-malicious causes. A senior engineer's answer should demonstrate leadership—how to explain methods to others and how to set investigative hypotheses.

MFT (Master File Table) is the core data structure of the NTFS file system. Each file and directory has at least one record in the MFT, which stores the file name, size, permissions, and multiple timestamp attributes. NTFS maintains four standard timestamps for each file: creation time (Created), modification time (Modified), MFT change time (MFT Modified, referring to modifications to the MFT record itself), and access time (Accessed). When attackers use tools to tamper with timestamps, they usually modify only the user-visible creation, modification, and access times, but find it difficult to completely erase traces of the MFT change time, so comparing the logical relationships among these four timestamps often reveals anomalies. For example, if the MFT change time is later than the file modification time, it may mean that the MFT record was altered while the file content remained unchanged. In addition, NTFS stores timestamps separately through two attributes, $STANDARD_INFORMATION and $FILE_NAME, and inconsistency between them is also a classic signal of timestomping. Understanding these underlying mechanisms helps investigators determine the specific tampering method and scope of impact.

Jessica Hyde's Complete Methodology: State Assumptions First, Then Cross-Validate

Jessica emphasizes that the first step in answering this type of question is to clearly state assumptions: what the operating system is, what the file system is, and which type of timestamp is involved. Forensic paths differ greatly across operating systems and file systems.

On the Windows NTFS file system, you can examine timestamps in the Master File Table (MFT) and compare them with other records. On the APFS file system, you can compare the additional "birth time" with the creation time. If it is an image file, you can also compare EXIF data—users can easily modify timestamps with an EXIF editor, in which case the timestamp can be compared against the timeline of surrounding system activity.

Comparing timestamps using EXIF data

She specifically mentions an easily overlooked clue: look for the presence of software applications on the system that can modify timestamps. If such tools appear in user space, it is very likely that the user intentionally performed malicious actions; if the attack came from an external intrusion, one needs to turn to different artifacts, such as using attribution artifacts to determine whether access came from "inside" or "outside."

The most critical general principle is: build a timeline of surrounding system activity for the file creation time and look for other supporting artifacts. If other artifacts are consistent with the timestamp, the timestamp is highly credible; only when no supporting artifacts can be found should one suspect that the timestamp has been tampered with.

EXIF (Exchangeable Image File Format) is a metadata standard embedded in image files by digital cameras and smartphones when taking photos, including capture time (DateTimeOriginal), digitization time (DateTimeDigitized), as well as device model, GPS coordinates, and other information. Because EXIF timestamps are independent of file system timestamps, if an attacker modifies only the file system creation or modification time, the capture time in EXIF often remains unchanged, and inconsistency between the two can serve as evidence of tampering. However, EXIF data itself is also easily modified by editing tools, so investigators should perform three-way comparison among EXIF time, file system time, and the timeline of surrounding system activity. If the EXIF time is consistent with the file system time, and corresponding camera connection or file import records can be found in system logs, the timestamp is highly credible; conversely, if the EXIF time is missing or has been modified to be completely consistent with the file system time, vigilance is warranted regarding possible human manipulation.

Implications for Interviewees and Interviewers

This interview not only shows the differences in answers among engineers at different levels but also provides an interview methodology. For candidates, when encountering an unfamiliar question, honestly stating the boundaries of one's knowledge and demonstrating problem-solving logic is far more favored than fabricating an answer; mid-level engineers should focus on telling stories from experience, while senior engineers need to demonstrate the ability to set assumptions, choose methods, and teach others. For interviewers, this type of open-ended question can effectively distinguish rote knowledge from practical thinking.

Jessica also mentions that the Hexordia website offers free courses, including content on mobile device forensic preservation, for practitioners to study.

One-line Summary

Jessica Hyde uses a mock interview to explain timestomping detection approaches and key response points for engineers at different levels.

Paragraph Summary

Based on an interview with Hexordia founder Jessica Hyde on the Simply Cyber channel, this article explores how to detect file timestomping in digital forensics and incident response. It presents, in a mock interview format, the answers and commentary of junior, mid-level, and senior engineers: the junior engineer honestly acknowledges a knowledge gap and proposes backup comparison and command history checks; the mid-level engineer turns to interaction artifacts such as event logs, Shell Bags, and Jump Lists; the senior engineer points to MFT records and registry clues. Jessica emphasizes that answering such questions should first state assumptions such as operating system and file system, then cross-validate by building a timeline of surrounding system activity, and watch for software applications that can modify timestamps. The article also summarizes the lesson that honesty and demonstrated logic are more favored in interviews than fabricated answers.

#timestomping detection#DFIR interview#MFT records#Shell Bags#EXIF timestamps
Share:

Related articles