SV-99053r1_rule
V-88403
SRG-OS-000062-GPOS-00031
VROM-SL-000200
CAT II
10
To configure the SLES for vRealize to audit attempts to alter time via the /etc/localtime file, run the following command:
echo '-w /etc/localtime -p wa -k localtime' >> /etc/audit/audit.rules
Or run the following command to implement all logging requirements:
# /etc/dodscript.sh
To determine if SLES for vRealize is configured to audit attempts to alter time via the /etc/localtime file, run the following command:
# auditctl -l | grep "watch=/etc/localtime"
If SLES for vRealize is configured to audit this activity, it will return a line.
LIST_RULES: exit,always watch=/etc/localtime perm=wa key=localtime
If no line is returned, this is a finding.
V-88403
False
VROM-SL-000200
To determine if SLES for vRealize is configured to audit attempts to alter time via the /etc/localtime file, run the following command:
# auditctl -l | grep "watch=/etc/localtime"
If SLES for vRealize is configured to audit this activity, it will return a line.
LIST_RULES: exit,always watch=/etc/localtime perm=wa key=localtime
If no line is returned, this is a finding.
M
3461