SV-208886r603263_rule
V-208886
SRG-OS-000062
OL6-00-000173
CAT III
10
Add the following to "/etc/audit/audit.rules":
-w /etc/localtime -p wa -k audit_time_rules
The -k option allows for the specification of a key in string form that can be used for better reporting capability through ausearch and aureport and should always be used.
To determine if the system is configured to audit attempts to alter time via the /etc/localtime file, run the following command:
$ sudo grep -w "/etc/localtime" /etc/audit/audit.rules
If the system is configured to audit this activity, it will return a line.
If the system is not configured to audit time changes, this is a finding.
V-208886
False
OL6-00-000173
To determine if the system is configured to audit attempts to alter time via the /etc/localtime file, run the following command:
$ sudo grep -w "/etc/localtime" /etc/audit/audit.rules
If the system is configured to audit this activity, it will return a line.
If the system is not configured to audit time changes, this is a finding.
M
2928