Plaso, Log2timeline & Forensic Documentation
Section 11 of 12
Definition: Chronological reconstruction of events from multiple data sources to understand the sequence of activities during an incident.
Plaso (log2timeline): Python-based tool for creating comprehensive timelines from various forensic artifacts.
# 1. Create timeline (this takes time!)
log2timeline.py timeline.plaso /path/to/evidence/
# 2. Filter & output to CSV
psort.py -o l2tcsv -w timeline.csv timeline.plaso
# 3. Filter by date range
psort.py -o l2tcsv -w filtered.csv timeline.plaso \
"date > '2025-12-01 00:00:00' AND date < '2025-12-03 23:59:59'"
# 4. Filter by source type
psort.py -o l2tcsv -w browser.csv timeline.plaso \
"parser contains 'chrome'"
# 5. Dynamic output (interactive)
psort.py -o dynamic timeline.plaso
Autopsy provides integrated timeline visualization for case analysis.
# Body file format (used by mactime)
# MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime
# Convert to timeline with mactime (Sleuth Kit)
mactime -b bodyfile.txt -d > timeline.csv
# Filter by date range
mactime -b bodyfile.txt -d 2025-12-01..2025-12-03 > filtered.csv
# Windows (PowerShell)
Get-Item file.txt | Select-Object *Time*
# Linux
stat file.txt
# Sleuth Kit
istat -f ntfs image.dd 128
Attackers may use timestomping tools to modify file timestamps and hide their tracks. Always verify with multiple data sources.
Connecting events from multiple sources to reconstruct attack narratives.
Professional documentation is essential for legal proceedings, management briefings, and knowledge sharing.
Your report may be used in court. Ensure accuracy, maintain objectivity, and be prepared to testify and explain your findings under oath.
Definition: Documentation of evidence handling from collection to presentation in court.
Document everything in real-time. Memories fade, but contemporaneous notes are considered reliable in court.
Collaborative timeline analysis
CSV timeline viewer
Link analysis & visualization
Offline link analysis
Spreadsheet analysis
Python-based analysis