nerdexam
GIAC

GCIH · Question #696

Which file contains information about failed login attempts on a Unix system?

The correct answer is C. btmp. On Unix/Linux systems, the btmp file records failed login attempts, distinguishing it from other log files that track successful logins or current sessions.

Incident Response & Cyber Kill Chain

Question

Which file contains information about failed login attempts on a Unix system?

Options

  • Actmp
  • Bwtmp
  • Cbtmp
  • Dutmp

How the community answered

(14 responses)
  • A
    7% (1)
  • C
    93% (13)

Why each option

On Unix/Linux systems, the btmp file records failed login attempts, distinguishing it from other log files that track successful logins or current sessions.

Actmp

ctmp is not a standard Unix login-tracking file and does not exist in the standard utmp family of files.

Bwtmp

wtmp records successful logins, logouts, and system reboots, not failed login attempts.

CbtmpCorrect

The /var/log/btmp file (or /var/adm/btmp on some systems) specifically records failed login attempts - so-called bad logins. It is a binary file readable with the 'lastb' command, which parses btmp to display a history of failed authentication events, making it the primary artifact for investigating brute-force or unauthorized login activity.

Dutmp

utmp tracks users who are currently logged in to the system in real time, not a history of failed authentication attempts.

Concept tested: Unix login log files and failed authentication tracking

Source: https://man7.org/linux/man-pages/man5/utmp.5.html

Topics

#Unix logs#btmp#failed login attempts#log files

Community Discussion

No community discussion yet for this question.

Full GCIH Practice