VeriSigma
Menu

Module 05 of 12

Timeline Analysis

Before putting events in order, establish what the clocks were saying. A timeline usually goes wrong early, with a misread time zone, a clock nobody checked, or a timestamp taken to mean something it does not.

Objectives

What you will be able to do

  1. Use the event-type tree and the histogram to narrow the timeline to the period that matters.
  2. Pin down each machine's time zone and clock before trusting its times.
  3. Say what each NTFS timestamp records and which operations update it.
  4. Resolve timestamps that disagree, and spot the marks of timestomping.
  5. Check a timeline window against a second tool's timeline.

Knowledge check

Try this before you read

Pick an answer and write one sentence on why. The explanation appears once you have. Come back to it after the key ideas and see whether your reasoning changed.

A file on the desktop shows Created 2020-09-18 03:21 and Modified 2020-08-02 11:40. What does that pattern most often indicate?

Show the answer

Answer: The file was copied in from elsewhere, keeping the source's Modified time and getting a new Created time

Copying keeps the original's Modified time while the new copy gets new Created, Accessed and Metadata times. Created after Modified therefore often marks a file that came in by USB, download or share. Treat it as a lead. Look at the $FILE_NAME times and at other artifacts, such as a shortcut file or a USB device record, before relying on it.

Key ideas

One idea at a time

  1. One list of dated events

    Timeline merges everything that carries a date into one list: file system times, every record in the Windows event logs, registry key last-written times, and dated fields from parsed artifacts. The payoff is adjacency. A logon, the service installed during it and the binary that service launches end up next to each other. Use the event-type tree to filter by category and subtype. The histogram counts events per day; start with the spikes, and account for the gaps. A sensible first pass picks the busiest day and works outwards from it, hour by hour.

  2. Settle the time before you read an event

    For each machine, settle three things. First, its time zone: the SYSTEM hive keeps the zone name, UTC offset and daylight-saving rules under TimeZoneInformation. Second, whether its clock was right: compare its times with something recorded off the machine, such as a server's log entry for the same connection. Third, how each source writes time: NTFS and event logs use UTC, some artifacts use local time, and some carry no zone. VeriSigma puts every time into one display zone, named in the status bar. The practice network has two machines, and nobody should assume they shared a zone. Get one zone wrong and that machine's events slide by hours, which can flip the order of events across the two.

  3. What NTFS times mean

    NTFS keeps two sets of four times per file. $STANDARD_INFORMATION is the set Windows displays and applications can rewrite; VeriSigma shows it as Created, Modified, Accessed and Metadata. $FILE_NAME stores a second set alongside each name the file has. Windows touches it much less often, and ordinary applications have no way to set it. Different operations move different times. A new file gets all four. Changing the content moves Modified and Metadata. A rename, or a move inside the same volume, moves only Metadata. A copy carries Modified over from the original and gets fresh Accessed, Metadata and Created times. That copy behavior is the useful one: Created later than Modified usually means the file arrived from somewhere else, such as a USB drive, a download or a network share. Give Accessed little weight. Windows 10 and Server 2012 R2 skip most updates on read, and antivirus or indexing can stamp a whole folder at once.

    The two sets of four NTFS times held in one file's MFT entryMFT ENTRY · ONE FILE$STANDARD_INFORMATION ($SI)What Windows shows. Applications can change it.MModifiedAAccessedCMetadataBCreated$FILE_NAME ($FN)One set per name. Updated far less often;ordinary applications cannot set it.MModifiedAAccessedCMetadataBCreatedCreated later than ModifiedUsually a copy brought in from elsewhere.$SI Created earlier than $FN CreatedTimestomping tools rarely touch $FILE_NAME.A warning sign, not proof on its own.
    The two sets of four NTFS times held in one file's MFT entry.
  4. Conflicts with innocent causes

    Times disagree for ordinary reasons. Sources keep different precision: NTFS to 100 nanoseconds, FAT to 2 seconds, many logs to the whole second. A local time may have been read as UTC, or the other way round. Some events unfold in steps, and each source catches a different step. And placeholder values exist: a timestamp of exactly 00:00:00 on 1 January of a round-looking year is almost never a real event.

  5. Conflicts with a cause: timestomping

    Attackers sometimes rewrite the $STANDARD_INFORMATION times on a tool they dropped so it blends in with system files. Those utilities seldom alter $FILE_NAME, and the edit leaves marks. Check whether the $STANDARD_INFORMATION created time comes before the $FILE_NAME created time. Check for fractional seconds that are exactly zero on a file system that stores much finer values. Check for times that predate the containing folder or the OS install. Check whether Prefetch, Amcache, the USN journal or the event logs tell a different story about the same file. Any one of these is weak. Several together, read against everything else known about the file, can make the case.

  6. Validation lab

    One window, two timelines

    Put VeriSigma and the second tool on the same display time zone before comparing anything. Then go through the key events in the intrusion window and note, for each tool, whether the event appears, its time and its position in the sequence. Label every difference, and call out the ones a zone setting accounts for.

Scope

Before you move on

Could you explain each item on the left to a colleague without looking back? If not, reread that idea. The right-hand list is where this module stops.

What this covers

  • The Timeline workspace, the event-type tree and the histogram
  • Settling each system's time zone and clock before reading events
  • The two sets of NTFS times and what changes them
  • Innocent conflicts and the signs of timestomping

What it does not

  • Timelines from memory or network captures, which these modules leave out
  • The meaning of each artifact's own dated fields (Windows Artifacts and Intrusion Evidence)
  • The USN journal and $LogFile in depth

Have a matter that turns on evidence like this? VeriSigma examinations are quoted at a fixed fee.

Request a fixed-fee quote