Check: GEN002825
HP-UX 11.23 STIG:
GEN002825
(in version v1 r8)
Title
The audit system must be configured to audit the loading and unloading of dynamic kernel modules. (Cat II impact)
Discussion
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.
Check Content
Check /etc/audit/audit_site.conf file to determine if syscalls handling kernel modules are audited. # egrep -i "admin|modload|moduload|modpath" /etc/audit/audit_site.conf All of the above syscalls must be defined in the file, otherwise this is a finding.
Fix Text
Edit /etc/audit/audit_site.conf and add the admin, modload, moduload, and modpath syscalls to the list of events to be audited.
Additional Identifiers
Rule ID: SV-26525r2_rule
Vulnerability ID: V-22383
Group Title: GEN002825
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000126 |
Specify the organization-defined event types (subset of the event types defined in AU-2a) along with the frequency of (or situation requiring logging for each identified event type. |
Controls
Number | Title |
---|---|
AU-2 |
Audit Events |