4.1.3.30 Ensure audit of the finit_module syscall - 32 bit

Information

The operating system must audit all uses of the finit_module syscall.

Rationale:

Without generating audit records that are specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one.

Audit records can be generated from various components within the information system (e.g., module or policy filter).

Solution

Configure the operating system to generate audit records when successful/unsuccessful attempts to use the finit_module syscall occur.
Add or update the following rules in /etc/audit/rules.d/audit.rules:
Example: vim /etc/audit/rules.d/audit.rules
Note: The rules are duplicated to cover both 32-bit and 64-bit architectures. Only the lines appropriate for the system architecture must be configured.
Add, uncomment or update the following line for the appropriate architecture:

-a always,exit -F arch=b32 -S finit_module -k module-change

-a always,exit -F arch=b64 -S finit_module -k module-change

The audit daemon must be restarted for the changes to take effect.

# service auditd restart

See Also

https://workbench.cisecurity.org/files/3636

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CCI|CCI-000172, CSCv7|6.2, Rule-ID|SV-204561r603261_rule, STIG-ID|RHEL-07-030821

Plugin: Unix

Control ID: b37a12fdc4f12fbbca48a0eb31f91f906fff8aa4648b51e027d0aaaff16c1d02