Information
The SUSE operating system must generate audit records for all modifications to the lastlog file.
GROUP ID: V-234947
RULE ID: SV-234947r958412
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.
Audit records can be generated from various components within the information system (e.g., module or policy filter).
Satisfies: SRG-OS-000037-GPOS-00015, SRG-OS-000062-GPOS-00031, SRG-OS-000392-GPOS-00172, SRG-OS-000462-GPOS-00206, SRG-OS-000471-GPOS-00215, SRG-OS-000473-GPOS-00218
Solution
Configure the SUSE operating system to generate an audit record for any all modifications to the "lastlog" file occur.
Add or update the following rule to "/etc/audit/rules.d/audit.rules":
-w /var/log/lastlog -p wa -k logins
To reload the rules file, restart the audit daemon
sudo systemctl restart auditd.service
or issue the following command:
sudo augenrules --load
Item Details
Category: AUDIT AND ACCOUNTABILITY, MAINTENANCE
References: 800-53|AU-3, 800-53|AU-12a., 800-53|AU-12c., 800-53|MA-4(1), CAT|II, CCI|CCI-000130, CCI|CCI-000169, CCI|CCI-000172, CCI|CCI-002884, Rule-ID|SV-234947r958412_rule, STIG-ID|SLES-15-030480, Vuln-ID|V-234947
Control ID: 97c9b97cd30b7fe16c9ccc9639f748c94d4353a368e9ab2db352ea3e8ad5ec0b