OL6-00-000167 - The audit system must be configured to audit all attempts to alter system time through settimeofday - b64

Information

Arbitrary changes to the system time can be used to obfuscate nefarious activities in log files, as well as to confuse network services that are highly dependent upon an accurate system time (such as sshd). All changes to the system time should be audited.

Solution

On a 32-bit system, add the following to '/etc/audit/audit.rules':

# audit_time_rules
-a always,exit -F arch=b32 -S settimeofday -k audit_time_rules

If the system is 64-bit, then also add the following:

# audit_time_rules
-a always,exit -F arch=b64 -S settimeofday -k audit_time_rules

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_6_V2R7_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12a., CAT|III, CCI|CCI-000169, Rule-ID|SV-208883r793668_rule, STIG-ID|OL6-00-000167, STIG-Legacy|SV-65269, STIG-Legacy|V-51063, Vuln-ID|V-208883

Plugin: Unix

Control ID: be838ebaf56e4530db15fd16f6ebbe0893e517e07eb410623dab3dfc8178f174