Timeline Analysis and Artifact Correlation
Build a forensic timeline from file timestamps, event logs, browser history, and registry artifacts.
Timeline Analysis and Artifact Correlation is a free Cyber Security Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the Cyber Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Why Timeline Analysis?
Attackers move through environments over time — initial access, persistence, lateral movement, and exfiltration may span days or weeks. Timeline analysis correlates artifacts across sources to reconstruct the attack sequence and determine dwell time.
Time Sources in Digital Forensics
Key time sources: NTFS MAC times (MFT entries), Windows Event Log timestamps, Prefetch execution timestamps, registry last-write times, browser history timestamps, and $UsnJrnl change journal entries. Each has different precision and tamper resistance.
MAC Times: Modified Accessed Changed
NTFS stores Modified (content changed), Accessed (last read), and Created times per file, plus a separate $STANDARD_INFORMATION attribute with additional timestamps. Attackers can modify MAC times (timestomping) — compare both attribute sets to detect manipulation.
Windows Event Log Analysis
Key Event IDs: 4624 (successful logon), 4625 (failed logon), 4648 (explicit credentials), 4688 (process creation with command line), 4698 (scheduled task created), 7045 (new service installed), 4720 (user account created). Filter these around the incident window.
Prefetch Files
Windows Prefetch records application execution timestamps and referenced files. Located at C:\Windows\Prefetch\, each .pf file contains the last 8 execution times of a program. Prefetch files persist after application deletion — proving a program ran even if deleted.
Plaso / log2timeline
log2timeline (plaso) extracts timestamps from dozens of artifact types into a unified super-timeline. Filter with psort.py to focus on specific time windows and artifact types. The resulting CSV can be imported into timeline tools or spreadsheets for analysis.
log2timeline.py timeline.plaso /image_mount/
psort.py -o l2tcsv timeline.plaso "date > '2024-01-01 00:00:00' AND date < '2024-01-05 23:59:59'"Correlating Artifacts
Cross-reference: Event ID 4688 (process creation) with Prefetch execution, scheduled task XML creation in registry with 7045 event, lateral movement timestamps in security log with SMB traffic in network captures. Consistent timestamps across sources increase confidence.
Timeline Anomaly Detection
Compare the system timeline against baselines. Creation of executables in user profile directories, registry Run key modifications at unusual hours, outbound connections from non-browser processes — these anomalies stand out in a clean timeline.
Memory Timeline Correlation
Correlate Volatility process start times (windows.pslist shows create_time) with Event Log 4688 entries to confirm process execution, and with network connections timeline to identify when C2 communication began relative to initial compromise.
Documenting the Attack Timeline
A formal incident timeline documents: T+0 (initial access method and timestamp), each subsequent attacker action with evidence source, lateral movement hops, data staged and exfiltrated with timestamps, and containment action timestamps. This becomes the incident report backbone.
Anti-Forensics and Timestomping
Attackers use timestomping tools to set MAC times of malicious files to match legitimate system files, hiding them in bulk timeline analysis. Detecting timestomping: compare $STANDARD_INFORMATION timestamps with $FILE_NAME attribute timestamps — they often differ after stomping.
Knowledge Check
What Windows Event ID indicates a new service was installed, often used for persistence?
Summary
Timeline analysis correlates timestamps from NTFS, Event Logs, Prefetch, registry, and network captures into a chronological attack narrative. Using plaso to build super-timelines and cross-referencing artifact sources reveals attacker dwell time and action sequence with high confidence.
Frequently asked questions
Is the “Timeline Analysis and Artifact Correlation” lesson free?
Yes — the full text of “Timeline Analysis and Artifact Correlation” is free to read here on the web, and the Cyber Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the Cyber Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Timeline Analysis and Artifact Correlation”?
Build a forensic timeline from file timestamps, event logs, browser history, and registry artifacts. You practise Cyber Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start Cyber Security Academy?
No prior experience is required. Cyber Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Timeline Analysis and Artifact Correlation” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this Cyber Security Academy lesson?
Yes. Every Cyber Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- Disk Imaging and File System Forensics
- Memory Acquisition and Volatility Framework
- Timeline Analysis and Artifact Correlation
- Network Forensics with Wireshark