STIGQter STIGQter: STIG Summary: VMware vSphere 7.0 vCenter Appliance Photon OS Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 30 Jan 2025:

The Photon operating system audit log must be owned by root.

DISA Rule

SV-256494r958436_rule

Vulnerability Number

V-256494

Group Title

SRG-OS-000058-GPOS-00028

Rule Version

PHTN-30-000017

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

At the command line, run the following command:

# chown root:root <audit log file>

Replace <audit log file> with the log files not owned by root.

Check Contents

At the command line, run the following command:

# (audit_log_file=$(grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//) && if [ -f "${audit_log_file}" ] ; then printf "Log(s) found in "${audit_log_file%/*}":\n"; stat -c "%n is owned by %U" ${audit_log_file%}*; else printf "audit log file(s) not found\n"; fi)

If any audit log file is not owned by root, this is a finding.

Vulnerability Number

V-256494

Documentable

False

Rule Version

PHTN-30-000017

Severity Override Guidance

At the command line, run the following command:

# (audit_log_file=$(grep "^log_file" /etc/audit/auditd.conf|sed s/^[^\/]*//) && if [ -f "${audit_log_file}" ] ; then printf "Log(s) found in "${audit_log_file%/*}":\n"; stat -c "%n is owned by %U" ${audit_log_file%}*; else printf "audit log file(s) not found\n"; fi)

If any audit log file is not owned by root, this is a finding.

Check Content Reference

M

Target Key

5520