UCF STIG Viewer Logo

The audit system must be configured to audit the loading and unloading of dynamic kernel modules -/sbin/modprobe.


Overview

Finding ID Version Rule ID IA Controls Severity
V-29286 GEN002825-4 SV-64429r1_rule Medium
Description
Actions concerning dynamic kernel modules must be recorded as they are substantial events. Dynamic kernel modules can increase the attack surface of a system. A malicious kernel module can be used to substantially alter the functioning of a system, often with the purpose of hiding a compromise from the SA.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52819r1_chk )
Determine if the /sbin/modprobe file is audited.

# cat /etc/audit/audit.rules | grep "/sbin/modprobe"

If the result does not start with "-w" and contain "-p x", this is a finding.
Fix Text (F-55001r1_fix)
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:
-w /sbin/modprobe -p x

Restart the auditd service.
# service auditd restart