VCLU-70-000006 - Lookup Service must generate log records for system startup and shutdown.

Information

Logging must be started as soon as possible when a service starts and when a service is stopped. Many forms of suspicious actions can be detected by analyzing logs for unexpected service starts and stops. Also, by starting to log immediately after a service starts, it becomes more difficult for suspicious activity to go unlogged.

On the vCenter Server Appliance (VCSA), the 'vmware-vmon' service starts up the Java virtual machines (JVMs) for various vCenter processes, including Lookup Service, and the individual json configuration files control the early JVM logging. Ensuring these json files are configured correctly enables early Java 'stdout' and 'stderr' logging.

Satisfies: SRG-APP-000089-WSR-000047, SRG-APP-000092-WSR-000055

Solution

Navigate to and open:

/etc/vmware/vmware-vmon/svcCfgfiles/lookupsvc.json

Below the last line of the 'PreStartCommandArg' block, add or reconfigure the following line:

'StreamRedirectFile': '%VMWARE_LOG_DIR%/vmware/lookupsvc/lookupsvc_stream.log',

Restart the appliance for changes to take effect.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12a., 800-53|AU-14(1), CAT|II, CCI|CCI-000169, CCI|CCI-001464, Rule-ID|SV-256711r888724_rule, STIG-ID|VCLU-70-000006, Vuln-ID|V-256711

Plugin: Unix

Control ID: ac2f369146162a13231765454f7e425e14c984f4705fad41b6d7550ef6f9446f