MEDIUM M19: Usergroup Modification Audit P3
Overview
Monitors individual identity files for modifications. Extends M7’s general usergroup monitoring with per-file watch rules for /etc/group, /etc/gshadow, /etc/opasswd, /etc/passwd, and /etc/shadow.
Profile: NIST 800-53 Moderate (rhcos4-moderate)
Compliance Checks
| Check | Description |
|---|---|
usergroup-modification-group |
Watch /etc/group for changes |
usergroup-modification-gshadow |
Watch /etc/gshadow for changes |
usergroup-modification-opasswd |
Watch /etc/opasswd for changes |
usergroup-modification-passwd |
Watch /etc/passwd for changes |
usergroup-modification-shadow |
Watch /etc/shadow for changes |
Verification
oc debug node/<node> -- chroot /host auditctl -l | grep -E 'group|gshadow|opasswd|passwd|shadow'