auth.log / secure

linuxAuthentication & AccessDisk ImageSIEM / Log Aggregator

Location

/var/log/auth.log (Debian/Ubuntu) or /var/log/secure (RHEL/CentOS)

Description

Authentication log recording all PAM-based authentication events including SSH logins, sudo usage, su escalation, user creation (useradd), password changes, and public key acceptance.

Forensic Value

This is the primary artifact for detecting unauthorized access on Linux. Accepted publickey entries confirm SSH key-based access and log the key fingerprint, identifying which key was used. Repeated "Failed password" entries expose brute-force attacks with source IPs. Sudo command logs record the exact commands run with elevated privileges, creating an execution timeline for privileged actions even when .bash_history is cleared.

Tools Required

grepjournalctlaureportlastlastlog

Related Blockers