SV-100175r1_rule
V-89525
SRG-OS-000062-GPOS-00031
VRAU-SL-000230
CAT II
10
Ensure attempts to alter /var/log/lastlog are audited by modifying /etc/audit/audit.rules to contain -w /var/log/lastlog -p wa with the following command:
echo '-w /var/log/lastlog -p wa' >> /etc/audit/audit.rules
Or run the following command to implement all logging requirements:
# /etc/dodscript.sh
Verify that attempts to alter the log files /var/log/lastlog are audited:
# egrep "lastlog" /etc/audit/audit.rules
If "-w /var/log/lastlog -p wa" entry does not exist, this is a finding.
V-89525
False
VRAU-SL-000230
Verify that attempts to alter the log files /var/log/lastlog are audited:
# egrep "lastlog" /etc/audit/audit.rules
If "-w /var/log/lastlog -p wa" entry does not exist, this is a finding.
M
3459