UBTU-22-654170 - Ubuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the delete_module system call.

Information

Without generating audit records 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).

Satisfies: SRG-OS-000064-GPOS-00033, SRG-OS-000477-GPOS-00222

Solution

Configure the audit system to generate an audit event for any successful/unsuccessful use of the 'delete_module' syscall.

Add or modify the following lines in the '/etc/audit/rules.d/stig.rules' file:

-a always,exit -F arch=b32 -S delete_module -F auid>=1000 -F auid!=unset -k module_chng
-a always,exit -F arch=b64 -S delete_module -F auid>=1000 -F auid!=unset -k module_chng

To reload the rules file, issue the following command:

$ sudo augenrules --load

Note: The '-k <keyname>' at the end of the line gives the rule a unique meaning to help during an audit investigation. The <keyname> does not need to match the example above.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R2_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-260636r958446_rule, STIG-ID|UBTU-22-654170, Vuln-ID|V-260636

Plugin: Unix

Control ID: a089bf9bf75c039dc5acadf313aecf1874210307b80dcfcbe8196f90b5bb1957