Guide to the Secure Configuration of MSVSphere 9

with profile Session-monitor profile for MSVSphere 9
This profile contains the rule needed to monitor user sessions and lock the screen when the status changes
This guide presents a catalog of security-relevant configuration settings for MSVSphere 9. It is a rendering of content structured in the eXtensible Configuration Checklist Description Format (XCCDF) in order to support security automation. The SCAP content is is available in the scap-security-guide package which is developed at https://www.open-scap.org/security-policies/scap-security-guide.

Providing system administrators with such guidance informs them how to securely configure systems under their control in a variety of network roles. Policy makers and baseline creators can use this catalog of settings, with its associated references to higher-level security control catalogs, in order to assist them in security baseline creation. This guide is a catalog, not a checklist, and satisfaction of every item is not likely to be possible or sensible in many operational scenarios. However, the XCCDF format enables granular selection and adjustment of settings, and their association with OVAL and OCIL content provides an automated checking capability. Transformations of this document, and its associated automated checking content, are capable of providing baselines that meet a diverse set of policy objectives. Some example XCCDF Profiles, which are selections of items that form checklists and can be used as baselines, are available with this guide. They can be processed, in an automated fashion, with tools that support the Security Content Automation Protocol (SCAP). The DISA STIG, which provides required settings for US Department of Defense systems, is one example of a baseline created from this guidance.
Do not attempt to implement any of the settings in this guide without first testing them in a non-operational environment. The creators of this guidance assume no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.

Profile Information

Profile TitleSession-monitor profile for MSVSphere 9
Profile IDxccdf_org.ssgproject.content_profile_session-monitor

CPE Platforms

  • cpe:/o:ncsd:msvsphere:9

Revision History

Current version: 0.1.73

  • draft (as of 2024-09-26)

Table of Contents

  1. System Settings
    1. Installing and Maintaining Software

Checklist

Group   Guide to the Secure Configuration of MSVSphere 9   Group contains 3 groups and 2 rules
Group   System Settings   Group contains 2 groups and 2 rules
[ref]   Contains rules that check correct system settings.
Group   Installing and Maintaining Software   Group contains 1 group and 2 rules
[ref]   The following sections contain information on security-relevant choices during the initial operating system installation process and the setup of software updates.
Group   System Tooling / Utilities   Group contains 2 rules
[ref]   The following checks evaluate the system for recommended base packages -- both for installation and removal.

Rule   Install the session-monitor package   [ref]

Monitor user sessions and lock screen on state change. Useful if screen was changed. The session-monitor package can be installed with the following command:
$ sudo dnf install session-monitor
Rationale:
Monitor user sessions and lock screen on state change
Severity: 
high
Rule ID:xccdf_org.ssgproject.content_rule_package_session-monitor_installed
Identifiers and References

Complexity:low
Disruption:low
Strategy:enable
- name: Ensure session-monitor is installed
  package:
    name: session-monitor
    state: present
  tags:
  - enable_strategy
  - high_severity
  - low_complexity
  - low_disruption
  - no_reboot_needed
  - package_session-monitor_installed

Complexity:low
Disruption:low
Strategy:enable
include install_session-monitor

class install_session-monitor {
  package { 'session-monitor':
    ensure => 'installed',
  }
}


[[packages]]
name = "session-monitor"
version = "*"

Rule   Enable Process Accounting (session-monitor)   [ref]

Monitor user sessions and lock screen on state change. Useful if screen was changed. The session-monitor package can be installed with the following command:
$ sudo dnf install session-monitor
Rationale:
Monitor user sessions and lock screen on state change
Severity: 
low
Rule ID:xccdf_org.ssgproject.content_rule_service_session-monitor_enabled
Identifiers and References

Complexity:low
Disruption:low
Strategy:enable
- name: Enable service session-monitor
  block:

  - name: Gather the package facts
    package_facts:
      manager: auto

  - name: Enable service session-monitor
    systemd:
      name: session-monitor
      enabled: 'yes'
      state: started
      masked: 'no'
    when:
    - '"session-monitor" in ansible_facts.packages'
  when: ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]
  tags:
  - enable_strategy
  - low_complexity
  - low_disruption
  - low_severity
  - no_reboot_needed
  - service_session-monitor_enabled

Complexity:low
Disruption:low
Strategy:enable
include enable_session-monitor

class enable_session-monitor {
  service {'session-monitor':
    enable => true,
    ensure => 'running',
  }
}


[customizations.services]
enabled = ["session-monitor"]
Red Hat and Red Hat Enterprise Linux are either registered trademarks or trademarks of Red Hat, Inc. in the United States and other countries. All other names are registered trademarks or trademarks of their respective companies.