← Rules Catalog
mediumauditverified ✓✓rollback-safe

Audit privileged execution of /usr/bin/mount (Ubuntu)

audit-priv-mount · UBUNTU ≥ 22 · 1 impl

Description

All uses of the /usr/bin/mount command must generate an audit record so that filesystem mounts can be traced to an individual.

Rationale

Auditing execution of privileged commands allows detection of misuse and supports forensic investigation of privilege escalation.

Check → Remediate

Checkaudit_rule_exists
rule:
-a always,exit -F path=/usr/bin/mount -F perm=x -F auid>=1000 -F auid!=unset -k privileged-mount
Remediateaudit_rule_set
rule:
-a always,exit -F path=/usr/bin/mount -F perm=x -F auid>=1000 -F auid!=unset -k privileged-mount
persist_file:
/etc/audit/rules.d/50-priv-mount.rules

Framework references

STIG

V-270780 / UBTU-24-900090V-260615 / UBTU-22-654065

NIST 800-53

AU-2AU-12

Live verification

ubuntu22:checkubuntu24:checkubuntu24:remediate
#audit#auditd#privileged