GCFA Practice Question: Introduction to File System Timeline Forensics
When performing timeline analysis on a Linux system, which file is the most critical to examine to reconstruct user login and logout history?
⚠ Common exam trap
Test-takers frequently confuse authentication logs like auth.log with wtmp, missing that wtmp specifically serves as the binary repository for historical session durations and logins.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
/var/log/wtmp
The wtmp file is the standard repository for historical login and logout data on Linux systems. By tracking session durations and connection origins, investigators can establish a user's presence during the time of an incident. This file is essential for building a reliable user-activity timeline, which provides the context needed to link specific file system changes to a particular user account or remote connection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
/var/log/syslog
Why it's wrong here
The syslog file contains general system and daemon messages. While it may show some authentication-related events, it is not the authoritative source for login/logout sessions. Relying on syslog for session reconstruction is prone to errors, as it is often noisy and subject to rotation policies that differ from login-specific logs.
- ✗
/var/run/utmp
Why it's wrong here
The utmp file only reflects the current status of who is logged into the system. It does not contain historical data, meaning that once a user logs out, their record is removed. This makes it useless for long-term forensic timeline analysis covering events that occurred days or weeks in the past.
- ✓
/var/log/wtmp
Why this is correct
The wtmp file is a binary log that records every login and logout event on the system. It is specifically designed for long-term audit purposes, making it the primary source for establishing a timeline of user access. Its binary nature ensures that it is not easily modified by standard users.
- ✗
/etc/passwd
Why it's wrong here
The passwd file is a static configuration file used for user account management and mapping usernames to UID numbers. It contains no activity logs or temporal information regarding when a user actually accessed the system. It is purely administrative and offers no evidence regarding historical user session activity or timelines.
About these practice questions
This GCFA question is part of Courseiva's 292-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official GIAC exam blueprint
This GCFA practice question is part of Courseiva's free GIAC certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the GCFA exam.