GEN002760-10 - The audit system must be configured to audit all administrative, privileged, and security actions - 'sched_setscheduler'

Information

If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.

Solution

The '-F arch=<ARCH>'restriction is required on dual-architecture systems (such as x86_64). On dual-architecture systems, two separate rules must exist - one for each architecture supported. Use the generic architectures 'b32' and 'b64' for specifying these rules.
On single architecture systems, the '-F arch=<ARCH>'restriction may be omitted, but if present must match either the architecture of the system or its corresponding generic architecture. The architecture of the system may be determined by running 'uname -m'. See the auditctl(8) manpage for additional details.
Any restrictions (such as with '-F') beyond those provided in the example rules are not in strict compliance with this requirement, and are a finding unless justified and documented appropriately.
The use of audit keys consistent with the provided example is encouraged to provide for uniform audit logs, however omitting the audit key or using an alternate audit key is not a finding.
Procedure:
A Real Time Operating System (RTOS) provides specialized system scheduling which causes an inordinate number of messages to be produced when the sched_setparam and set_setscheduler are audited. This not only may degrade the system speed to an unusable level but obscures any forensic information which may otherwise have been useful.
Unless the operating system is a Red Hat 5 based RTOS (including MRG and AS5300) the following should also be present in /etc/audit/audit.rules

-a exit,always -F arch=<ARCH> -S sched_setscheduler

Restart the auditd service.
# service auditd restart

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(1), CAT|II, CCE|CCE-14051-7, CCI|CCI-000347, Group-ID|V-29249, Rule-ID|SV-37665r1_rule, STIG-ID|GEN002760-10, Vuln-ID|V-29249

Plugin: Unix

Control ID: ffe8c13caba1150576ceadb35367bc4acc08d26ee96688eb4d3010b461a15ffc