Free tech learning for everyone, from basics to pro

Digital ForensicsCyber SecurityAdvanced

Windows forensic artefacts and building a timeline

In short: Windows records a great deal of activity as a side effect of normal use: event logs, registry keys, prefetch files, browser databases and file system journals. Investigators parse these artefacts and merge them into a single timeline to show who ran what, which files were touched and when.

Why Windows artefacts matter

An artefact is any trace that the operating system or an application leaves behind. Windows was not designed for forensics, but to make features work it records which programs ran, which files were opened and which devices were connected. Investigators use these traces to answer questions such as "Did the user run this file?" or "When did the attacker first log on?"

Key Windows artefactsEvent logslogons, servicesRegistrysettings, user activityPrefetchprogram runsAmcacheexecuted filesMFT and USNfile changesLNK, jump listsopened filesBrowser historysites, downloadsSRUMapp and network useRecycle Bindeleted items
Figure 1. Nine common Windows artefact groups; together they show who did what, when and with which program.

Event logs

Windows event logs are stored as .evtx files in C:\Windows\System32\winevt\Logs. A few event IDs come up again and again:

Log and IDMeaning
Security 4624 / 4625Successful / failed logon (check the logon type, for example 3 network, 10 remote desktop)
Security 4688New process created (command line only if auditing is configured)
Security 4720User account created
Security 4698Scheduled task created
Security 1102Security audit log cleared
System 7045New service installed

Sysmon, a free Microsoft tool, adds richer process, network and file events if installed beforehand. On a collected copy of the logs, PowerShell can query an exported file:

Get-WinEvent -Path .\Security.evtx -FilterXPath "*[System[(EventID=4624 or EventID=4625)]]" |
  Select-Object TimeCreated, Id, Message | Export-Csv logons.csv -NoTypeInformation

Registry, execution and file artefacts

  • Registry hives: SYSTEM, SOFTWARE, SAM and SECURITY in C:\Windows\System32\config, plus each user’s NTUSER.DAT and UsrClass.dat. They hold installed software, USB device history, network profiles, autoruns (Run keys and services), UserAssist program counts and ShellBags showing folders a user browsed.
  • Prefetch: .pf files in C:\Windows\Prefetch record programs that ran, a run count and recent run times. Prefetch may be disabled on some servers.
  • Amcache.hve and Shimcache: record executables seen by the system, often with file hashes; treat them as evidence the file existed, and confirm execution with other artefacts.
  • NTFS metadata: the $MFT holds file timestamps and the $UsnJrnl journal records file creation, renames and deletions.
  • LNK files and jump lists: show files and folders a user opened, even from USB drives that are gone.
  • Browser history: Chrome and Edge keep SQLite databases under the user’s AppData\Local profile folder, with visits and downloads. Firefox uses places.sqlite.
  • SRUM (System Resource Usage Monitor): roughly hourly records of application and network use.

Free parsers such as Eric Zimmerman’s tools (for example EvtxECmd, PECmd, MFTECmd and Registry Explorer) and KAPE for collection are widely used in training and real cases.

Building and reading a timeline

Building a timelineCollectartefactsParseper-artefacttoolsNormaliseUTC, oneformatMergesupertimelineFiltertime windowExplaintell thestory
Figure 2. A super timeline merges events from many artefacts into one ordered list that you filter around the incident.

A super timeline combines events from all artefacts into one sorted list. Plaso (the log2timeline tool) can do this automatically from a disk image; you can then filter and review the result in a spreadsheet-style viewer such as Timeline Explorer.

log2timeline.py --storage-file case.plaso exh004.E01
psort.py -o l2tcsv -w timeline.csv case.plaso "date > '2026-03-14 08:00:00' AND date < '2026-03-14 12:00:00'"

Work outwards from a known anchor, such as the time of an alert. Look for the chain: a logon (4624), a file downloaded in browser history, the file appearing in the MFT, prefetch showing it ran, then a new service (7045) for persistence. Watch for traps: some timestamps are local time and others UTC, attackers can change file timestamps (timestomping), and a missing log may mean it was cleared, so check for event 1102.

Tip: practise on a lab Windows virtual machine: run a harmless program, browse a site, then find each action in the artefacts and place it on your own timeline.

Practice

Which Windows event ID shows that the Security log was cleared, and why does it matter?
Event 1102; clearing the log is a common attacker step to hide activity, so it is a strong warning sign.
Why should Amcache or Shimcache entries be confirmed with other artefacts?
They show a file was present or seen by the system, but they do not always prove it was executed.
What is a super timeline?
A single sorted list that merges timestamped events from many artefacts, such as logs, registry and file system data, to show activity in order.

Key takeaways

  • Windows records activity in event logs, the registry, prefetch, Amcache and file system journals.
  • Learn the key event IDs: 4624, 4625, 4688, 4720, 4698, 1102 and 7045.
  • Confirm program execution with more than one artefact.
  • Merge artefacts into a UTC super timeline and work out from a known anchor.
  • Watch for time zone mix-ups, timestomping and cleared logs.
Tracks your learning on this device only. See your progress on the learning paths.

About the author

Mohamed Fayas

Founder of FM TecHub. CCNA certified, with a BTEC HND in Network Engineering, and BEng (Hons) in Computer Networking and Cloud Security. He writes practical, plain-English guides on networking, security and cloud.

More about the author

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.