← Rules Catalog
mediumauditverified rollback-safe

Audit uses of the unix_update command

audit-cmd-unix-update · RHEL ≥ 8 · 1 impl

Description

All uses of the unix_update command must be audited. The unix_update helper is used by PAM to update password information.

Rationale

Auditing unix_update usage allows detection of password database modifications outside of normal password change procedures.

Check → Remediate

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

Framework references

STIG

V-281144 / RHEL-10-500580V-258207 / RHEL-09-654165V-230426

NIST 800-53

AU-2AU-12

Live verification

rhel8:checkrhel9:check
#audit#auditd#privileged#pam