RHEL-06-000166 - The audit system must be configured to audit all attempts to alter system time through adjtimex - 64 bit

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

Add the following to '/etc/audit/audit.rules':

# audit_time_rules
-a always,exit -F arch=b32 -S adjtimex -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 adjtimex -S settimeofday -S clock_settime -k audit_time_rules

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12a., CAT|III, CCI|CCI-000169, Rule-ID|SV-217951r603264_rule, STIG-ID|RHEL-06-000166, STIG-Legacy|SV-96155, STIG-Legacy|V-81441, Vuln-ID|V-217951

Plugin: Unix

Control ID: 6dd665faf0e3345ab52ea28487d564d0eb7915687882f34a73b036bc568e1dfb