STIGQter STIGQter: STIG Summary: VMware vSphere 8.0 vCenter Appliance Perfcharts Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 31 Oct 2023:

The vCenter Perfcharts service must offload log records onto a different system or media from the system being logged.

DISA Rule

SV-259084r934910_rule

Vulnerability Number

V-259084

Group Title

SRG-APP-000358-AS-000064

Rule Version

VCPF-80-000081

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open:

/etc/vmware-syslog/vmware-services-perfcharts.conf

Create the file if it does not exist.

Set the contents of the file as follows:

#stats
input(type="imfile"
File="/var/log/vmware/perfcharts/stats.log"
Tag="perfcharts-stats"
Severity="info"
Facility="local0")
#localhost_access_log
input(type="imfile"
File="/var/log/vmware/perfcharts/localhost_access_log.txt"
Tag="perfcharts-localhost_access"
Severity="info"
Facility="local0")
#vmware-perfcharts-gc.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-gc.log.*.current"
Tag="perfcharts-gc"
Severity="info"
Facility="local0")
#vmware-perfcharts-runtime.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-runtime.log.std*"
Tag="perfcharts-runtime"
Severity="info"
Facility="local0")
#tomcat/catalina_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/catalina.*.log"
Tag="perfcharts-tomcat-catalina"
Severity="info"
Facility="local0")
#tomcat/localhost_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/localhost.*.log"
Tag="perfcharts-tomcat-localhost"
Severity="info"
Facility="local0")

Check Contents

By default, a vmware-services-perfcharts.conf rsyslog configuration file includes the service logs when syslog is configured on vCenter, but it must be verified.

At the command prompt, run the following command:

# cat /etc/vmware-syslog/vmware-services-perfcharts.conf

Expected result:

#stats
input(type="imfile"
File="/var/log/vmware/perfcharts/stats.log"
Tag="perfcharts-stats"
Severity="info"
Facility="local0")
#localhost_access_log
input(type="imfile"
File="/var/log/vmware/perfcharts/localhost_access_log.txt"
Tag="perfcharts-localhost_access"
Severity="info"
Facility="local0")
#vmware-perfcharts-gc.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-gc.log.*.current"
Tag="perfcharts-gc"
Severity="info"
Facility="local0")
#vmware-perfcharts-runtime.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-runtime.log.std*"
Tag="perfcharts-runtime"
Severity="info"
Facility="local0")
#tomcat/catalina_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/catalina.*.log"
Tag="perfcharts-tomcat-catalina"
Severity="info"
Facility="local0")
#tomcat/localhost_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/localhost.*.log"
Tag="perfcharts-tomcat-localhost"
Severity="info"
Facility="local0")

If the output does not match the expected result, this is a finding.

Vulnerability Number

V-259084

Documentable

False

Rule Version

VCPF-80-000081

Severity Override Guidance

By default, a vmware-services-perfcharts.conf rsyslog configuration file includes the service logs when syslog is configured on vCenter, but it must be verified.

At the command prompt, run the following command:

# cat /etc/vmware-syslog/vmware-services-perfcharts.conf

Expected result:

#stats
input(type="imfile"
File="/var/log/vmware/perfcharts/stats.log"
Tag="perfcharts-stats"
Severity="info"
Facility="local0")
#localhost_access_log
input(type="imfile"
File="/var/log/vmware/perfcharts/localhost_access_log.txt"
Tag="perfcharts-localhost_access"
Severity="info"
Facility="local0")
#vmware-perfcharts-gc.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-gc.log.*.current"
Tag="perfcharts-gc"
Severity="info"
Facility="local0")
#vmware-perfcharts-runtime.log
input(type="imfile"
File="/var/log/vmware/perfcharts/vmware-perfcharts-runtime.log.std*"
Tag="perfcharts-runtime"
Severity="info"
Facility="local0")
#tomcat/catalina_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/catalina.*.log"
Tag="perfcharts-tomcat-catalina"
Severity="info"
Facility="local0")
#tomcat/localhost_log
input(type="imfile"
File="/var/log/vmware/perfcharts/tomcat/localhost.*.log"
Tag="perfcharts-tomcat-localhost"
Severity="info"
Facility="local0")

If the output does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5566