SV-279541r1192389_rule
V-279541
SRG-OS-000004-GPOS-00004
NXAC-OS-000018
CAT II
10
Configure Nutanix OS to audit all account change actions.
1. For AOS, configure the audit rules.
$ sudo salt-call state.sls security/CVM/auditCVM
2. For Prism Central, configure the audit rules.
$ sudo salt-call state.sls security/PCVM/auditPCVM
3. For Files, configure the audit rules.
$ sudo salt-call state.sls security/AFS/auditAFS
4. For AHV, configure the audit rules.
$ sudo salt-call state.sls security/KVM/auditKVM
Verify the OS is configured to audit all account change actions.
Run the following command to verify account creation and modification is audited:
$ sudo auditctl -l | grep "audit_account_changes"
If the command does not return the following output, this is a finding.
-w /etc/group -p wa -k audit_account_changes
-w /etc/passwd -p wa -k audit_account_changes
-w /etc/gshadow -p wa -k audit_account_changes
-w /etc/shadow -p wa -k audit_account_changes
-w /etc/security/opasswd -p wa -k audit_account_changes
V-279541
False
NXAC-OS-000018
Verify the OS is configured to audit all account change actions.
Run the following command to verify account creation and modification is audited:
$ sudo auditctl -l | grep "audit_account_changes"
If the command does not return the following output, this is a finding.
-w /etc/group -p wa -k audit_account_changes
-w /etc/passwd -p wa -k audit_account_changes
-w /etc/gshadow -p wa -k audit_account_changes
-w /etc/shadow -p wa -k audit_account_changes
-w /etc/security/opasswd -p wa -k audit_account_changes
M
5730