TOSS 5 must generate audit records for all account creations, modifications, disabling, and termination events that affect /var/log/lastlog.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-282424SRG-OS-000037-GPOS-00015TOSS-05-000460SV-282424r1201571_rule2026-04-011

Description

Without generating audit records specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Satisfies: SRG-OS-000037-GPOS-00015, SRG-OS-000042-GPOS-00020, SRG-OS-000062-GPOS-00031, SRG-OS-000392-GPOS-00172, SRG-OS-000477-GPOS-00222

ℹ️ Check

Verify TOSS 5 generates audit records for all account creations, modifications, disabling, and termination events that affect "/var/log/lastlog" with the following command: $ sudo auditctl -l | grep /var/log/lastlog -w /var/log/lastlog -p wa -k logins If the command does not return a line or the line is commented out, this is a finding.

✔️ Fix

Configure TOSS 5 to generate audit records for all account creations, modifications, disabling, and termination events that affect "/var/log/lastlog". Add or update the following file system rule to "/etc/audit/rules.d/audit.rules": -w /var/log/lastlog -p wa -k logins Restart the audit daemon for changes to take effect.