SV-248800r958412_rule
V-248800
SRG-OS-000037-GPOS-00015
OL08-00-030580
CAT II
10
Configure OL 8 to audit the execution of the module management program "kmod" by adding or updating the following line to "/etc/audit/rules.d/audit.rules":
-w /usr/bin/kmod -p x -k modules
The audit daemon must be restarted for the changes to take effect. To restart the audit daemon, run the following command:
$ sudo service auditd restart
Verify OL 8 is configured to audit the execution of the module management program "kmod" by running the following command:
$ sudo grep "/usr/bin/kmod" /etc/audit/audit.rules
-w /usr/bin/kmod -p x -k modules
If the command does not return a line or the line is commented out, this is a finding.
Note: The "-k" allows for specifying an arbitrary identifier, and the string after it does not need to match the example output above.
V-248800
False
OL08-00-030580
Verify OL 8 is configured to audit the execution of the module management program "kmod" by running the following command:
$ sudo grep "/usr/bin/kmod" /etc/audit/audit.rules
-w /usr/bin/kmod -p x -k modules
If the command does not return a line or the line is commented out, this is a finding.
Note: The "-k" allows for specifying an arbitrary identifier, and the string after it does not need to match the example output above.
M
5416