mediumauditverified ✓✓rollback-safe
Audit access to /bin/kmod (Ubuntu)
audit-watch-kmod · UBUNTU ≥ 22 · 1 impl
Description
Modifications to /bin/kmod must generate an audit record so that kernel module operations can be traced to an individual.
Rationale
Auditing this path supports detection of unauthorized changes and forensic reconstruction of events.
Check → Remediate
Checkaudit_rule_exists
- rule:
- -w /bin/kmod -p x -k modules
Remediateaudit_rule_set
- rule:
- -w /bin/kmod -p x -k modules
- persist_file:
- /etc/audit/rules.d/50-watch-kmod.rules
Framework references
STIG
V-270814 / UBTU-24-900740V-260613 / UBTU-22-654055
NIST 800-53
AU-2AU-12
Live verification
ubuntu22:checkubuntu24:checkubuntu24:remediate
#audit#auditd#watch