Forge Home
Premium module

cem_windows

Compliance Enforcement Module for Windows

1,964 downloads

19 latest version

Version information

  • 1.2.1 (latest)
  • 1.2.0
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.7
  • 1.0.6
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released May 31st 2022
This version is compatible with:
  • Puppet Enterprise 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x
  • Puppet >= 6.23.0 < 8.0.0

Documentation

puppetlabs/cem_windows — version 1.2.1 May 31st 2022

CEM Windows Reference

Table of Contents

CIS Microsoft Windows 10 Enterprise Benchmark v1.12.0

1.1.1 (L1) Ensure 'Enforce password history' is set to '24 or more password(s)'

  • Parameters:
    • dsc_enforce_password_history - [ Integer ] - Default: 24
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Enforce password history' is set to '24 or more password(s)'":
      dsc_enforce_password_history: 24
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Enforce password history' is set to '24 or more password(s)'
    • 1.1.1
    • ensure_enforce_password_history_is_set_to_24_or_more_passwords
  • Resource: Class

1.1.2 (L1) Ensure 'Maximum password age' is set to '365 or fewer days, but not 0'

  • Parameters:
    • dsc_maximum_password_age - [ Integer ] - Default: 365
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Maximum password age' is set to '365 or fewer days, but not 0'":
      dsc_maximum_password_age: 365
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Maximum password age' is set to '365 or fewer days, but not 0'
    • 1.1.2
    • ensure_maximum_password_age_is_set_to_365_or_fewer_days_but_not_0
  • Resource: Class

1.1.3 (L1) Ensure 'Minimum password age' is set to '1 or more day(s)'

  • Parameters:
    • dsc_minimum_password_age - [ Integer ] - Default: 1
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Minimum password age' is set to '1 or more day(s)'":
      dsc_minimum_password_age: 1
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Minimum password age' is set to '1 or more day(s)'
    • 1.1.3
    • ensure_minimum_password_age_is_set_to_1_or_more_days
  • Resource: Class

1.1.4 (L1) Ensure 'Minimum password length' is set to '14 or more character(s)'

  • Parameters:
    • dsc_minimum_password_length - [ Integer ] - Default: 14
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Minimum password length' is set to '14 or more character(s)'":
      dsc_minimum_password_length: 14
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Minimum password length' is set to '14 or more character(s)'
    • 1.1.4
    • ensure_minimum_password_length_is_set_to_14_or_more_characters
  • Resource: Class

1.1.5 (L1) Ensure 'Password must meet complexity requirements' is set to 'Enabled'

  • Parameters:
    • dsc_password_must_meet_complexity_requirements - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Password must meet complexity requirements' is set to 'Enabled'":
      dsc_password_must_meet_complexity_requirements: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Password must meet complexity requirements' is set to 'Enabled'
    • 1.1.5
    • ensure_password_must_meet_complexity_requirements_is_set_to_enabled
  • Resource: Class

1.1.6 (L1) Ensure 'Relax minimum password length limits' is set to 'Enabled'

  • Parameters:
    • value - [ String ] - Default: RelaxMinimumPasswordLengthLimits
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SAM
    • type - [ String ] - Default: dword
    • data - [ Integer ] - Default: 1
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Relax minimum password length limits' is set to 'Enabled'":
      value: 'RelaxMinimumPasswordLengthLimits'
      key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SAM'
      type: 'dword'
      data: 1
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Relax minimum password length limits' is set to 'Enabled'
    • 1.1.6
    • ensure_relax_minimum_password_length_limits_is_set_to_enabled
  • Resource: Registry::value

1.1.7 (L1) Ensure 'Store passwords using reversible encryption' is set to 'Disabled'

  • Parameters:
    • dsc_store_passwords_using_reversible_encryption - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Store passwords using reversible encryption' is set to 'Disabled'":
      dsc_store_passwords_using_reversible_encryption: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Store passwords using reversible encryption' is set to 'Disabled'
    • 1.1.7
    • ensure_store_passwords_using_reversible_encryption_is_set_to_disabled
  • Resource: Class

1.2.1 (L1) Ensure 'Account lockout duration' is set to '15 or more minute(s)'

  • Parameters:
    • dsc_account_lockout_duration - [ Integer ] - Default: 15
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Account lockout duration' is set to '15 or more minute(s)'":
      dsc_account_lockout_duration: 15
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Account lockout duration' is set to '15 or more minute(s)'
    • 1.2.1
    • ensure_account_lockout_duration_is_set_to_15_or_more_minutes
  • Resource: Class

1.2.2 (L1) Ensure 'Account lockout threshold' is set to '5 or fewer invalid logon attempt(s), but not 0'

  • Parameters:
    • dsc_account_lockout_threshold - [ Integer ] - Default: 5
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Account lockout threshold' is set to '5 or fewer invalid logon attempt(s), but not 0'":
      dsc_account_lockout_threshold: 5
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Account lockout threshold' is set to '5 or fewer invalid logon attempt(s), but not 0'
    • 1.2.2
    • ensure_account_lockout_threshold_is_set_to_5_or_fewer_invalid_logon_attempts_but_not_0
  • Resource: Class

1.2.3 (L1) Ensure 'Reset account lockout counter after' is set to '15 or more minute(s)'

  • Parameters:
    • dsc_reset_account_lockout_counter_after - [ Integer ] - Default: 15
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Reset account lockout counter after' is set to '15 or more minute(s)'":
      dsc_reset_account_lockout_counter_after: 15
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Reset account lockout counter after' is set to '15 or more minute(s)'
    • 1.2.3
    • ensure_reset_account_lockout_counter_after_is_set_to_15_or_more_minutes
  • Resource: Class

2.2.1 (L1) Ensure 'Access Credential Manager as a trusted caller' is set to 'No One'

  • Parameters:
    • users - [ Array ] - Default: [""]
    • dsc_policy - [ String ] - Default: Access_Credential_Manager_as_a_trusted_caller
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Access Credential Manager as a trusted caller' is set to 'No One'":
      users: [""]
      dsc_policy: 'Access_Credential_Manager_as_a_trusted_caller'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Access Credential Manager as a trusted caller' is set to 'No One'
    • 2.2.1
    • ensure_access_credential_manager_as_a_trusted_caller_is_set_to_no_one
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.2 (L1) Ensure 'Access this computer from the network' is set to 'Administrators, Remote Desktop Users'

  • Parameters:
    • users - [ Array ] - Default: ["Administrators", "Remote Desktop Users"]
    • dsc_policy - [ String ] - Default: Access_this_computer_from_the_network
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Access this computer from the network' is set to 'Administrators, Remote Desktop Users'":
      users: ["Administrators", "Remote Desktop Users"]
      dsc_policy: 'Access_this_computer_from_the_network'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Access this computer from the network' is set to 'Administrators, Remote Desktop Users'
    • 2.2.2
    • ensure_access_this_computer_from_the_network_is_set_to_administrators_remote_desktop_users
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.3 (L1) Ensure 'Act as part of the operating system' is set to 'No One'

  • Parameters:
    • users - [ Array ] - Default: [""]
    • dsc_policy - [ String ] - Default: Act_as_part_of_the_operating_system
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Act as part of the operating system' is set to 'No One'":
      users: [""]
      dsc_policy: 'Act_as_part_of_the_operating_system'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Act as part of the operating system' is set to 'No One'
    • 2.2.3
    • ensure_act_as_part_of_the_operating_system_is_set_to_no_one
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.4 (L1) Ensure 'Adjust memory quotas for a process' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE", "NT AUTHORITY\\NETWORK SERVICE"]
    • dsc_policy - [ String ] - Default: Adjust_memory_quotas_for_a_process
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Adjust memory quotas for a process' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE'":
      users: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE", "NT AUTHORITY\\NETWORK SERVICE"]
      dsc_policy: 'Adjust_memory_quotas_for_a_process'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Adjust memory quotas for a process' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE'
    • 2.2.4
    • ensure_adjust_memory_quotas_for_a_process_is_set_to_administrators_local_service_network_service
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.5 (L1) Ensure 'Allow log on locally' is set to 'Administrators, Users'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "Builtin\\Users"]
    • dsc_policy - [ String ] - Default: Allow_log_on_locally
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Allow log on locally' is set to 'Administrators, Users'":
      users: ["Builtin\\Administrators", "Builtin\\Users"]
      dsc_policy: 'Allow_log_on_locally'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Allow log on locally' is set to 'Administrators, Users'
    • 2.2.5
    • ensure_allow_log_on_locally_is_set_to_administrators_users
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.6 (L1) Ensure 'Allow log on through Remote Desktop Services' is set to 'Administrators, Remote Desktop Users'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "Builtin\\Remote Desktop Users"]
    • dsc_policy - [ String ] - Default: Allow_log_on_through_Remote_Desktop_Services
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Allow log on through Remote Desktop Services' is set to 'Administrators, Remote Desktop Users'":
      users: ["Builtin\\Administrators", "Builtin\\Remote Desktop Users"]
      dsc_policy: 'Allow_log_on_through_Remote_Desktop_Services'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Allow log on through Remote Desktop Services' is set to 'Administrators, Remote Desktop Users'
    • 2.2.6
    • ensure_allow_log_on_through_remote_desktop_services_is_set_to_administrators_remote_desktop_users
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.7 (L1) Ensure 'Back up files and directories' is set to 'Administrators'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators"]
    • dsc_policy - [ String ] - Default: Back_up_files_and_directories
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Back up files and directories' is set to 'Administrators'":
      users: ["Builtin\\Administrators"]
      dsc_policy: 'Back_up_files_and_directories'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Back up files and directories' is set to 'Administrators'
    • 2.2.7
    • ensure_back_up_files_and_directories_is_set_to_administrators
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.8 (L1) Ensure 'Change the system time' is set to 'Administrators, LOCAL SERVICE'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE"]
    • dsc_policy - [ String ] - Default: Change_the_system_time
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Change the system time' is set to 'Administrators, LOCAL SERVICE'":
      users: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE"]
      dsc_policy: 'Change_the_system_time'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Change the system time' is set to 'Administrators, LOCAL SERVICE'
    • 2.2.8
    • ensure_change_the_system_time_is_set_to_administrators_local_service
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.9 (L1) Ensure 'Change the time zone' is set to 'Administrators, LOCAL SERVICE, Users'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "Builtin\\Users", "NT AUTHORITY\\LOCAL SERVICE"]
    • dsc_policy - [ String ] - Default: Change_the_time_zone
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Change the time zone' is set to 'Administrators, LOCAL SERVICE, Users'":
      users: ["Builtin\\Administrators", "Builtin\\Users", "NT AUTHORITY\\LOCAL SERVICE"]
      dsc_policy: 'Change_the_time_zone'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Change the time zone' is set to 'Administrators, LOCAL SERVICE, Users'
    • 2.2.9
    • ensure_change_the_time_zone_is_set_to_administrators_local_service_users
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.10 (L1) Ensure 'Create a pagefile' is set to 'Administrators'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators"]
    • dsc_policy - [ String ] - Default: Create_a_pagefile
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Create a pagefile' is set to 'Administrators'":
      users: ["Builtin\\Administrators"]
      dsc_policy: 'Create_a_pagefile'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Create a pagefile' is set to 'Administrators'
    • 2.2.10
    • ensure_create_a_pagefile_is_set_to_administrators
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.11 (L1) Ensure 'Create a token object' is set to 'No One'

  • Parameters:
    • users - [ Array ] - Default: [""]
    • dsc_policy - [ String ] - Default: Create_a_token_object
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Create a token object' is set to 'No One'":
      users: [""]
      dsc_policy: 'Create_a_token_object'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Create a token object' is set to 'No One'
    • 2.2.11
    • ensure_create_a_token_object_is_set_to_no_one
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.12 (L1) Ensure 'Create global objects' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE, SERVICE'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE", "NT AUTHORITY\\NETWORK SERVICE", "NT AUTHORITY\\SERVICE"]
    • dsc_policy - [ String ] - Default: Create_global_objects
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Create global objects' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE, SERVICE'":
      users: ["Builtin\\Administrators", "NT AUTHORITY\\LOCAL SERVICE", "NT AUTHORITY\\NETWORK SERVICE", "NT AUTHORITY\\SERVICE"]
      dsc_policy: 'Create_global_objects'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Create global objects' is set to 'Administrators, LOCAL SERVICE, NETWORK SERVICE, SERVICE'
    • 2.2.12
    • ensure_create_global_objects_is_set_to_administrators_local_service_network_service_service
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.1.1 (L1) Ensure 'Accounts: Administrator account status' is set to 'Disabled'

  • Parameters:
    • dsc_accounts_administrator_account_status - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Accounts: Administrator account status' is set to 'Disabled'":
      dsc_accounts_administrator_account_status: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Accounts: Administrator account status' is set to 'Disabled'
    • 2.3.1.1
    • ensure_accounts_administrator_account_status_is_set_to_disabled
  • Resource: Class

2.3.1.2 (L1) Ensure 'Accounts: Block Microsoft accounts' is set to 'Users can't add or log on with Microsoft accounts'

  • Parameters:
    • dsc_accounts_block_microsoft_accounts - [ String ] - Default: Users cant add or log on with Microsoft accounts
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Accounts: Block Microsoft accounts' is set to 'Users can't add or log on with Microsoft accounts'":
      dsc_accounts_block_microsoft_accounts: 'Users cant add or log on with Microsoft accounts'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Accounts: Block Microsoft accounts' is set to 'Users can't add or log on with Microsoft accounts'
    • 2.3.1.2
    • ensure_accounts_block_microsoft_accounts_is_set_to_users_cant_add_or_log_on_with_microsoft_accounts
  • Resource: Class

2.3.1.3 (L1) Ensure 'Accounts: Guest account status' is set to 'Disabled'

  • Parameters:
    • dsc_accounts_guest_account_status - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Accounts: Guest account status' is set to 'Disabled'":
      dsc_accounts_guest_account_status: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Accounts: Guest account status' is set to 'Disabled'
    • 2.3.1.3
    • ensure_accounts_guest_account_status_is_set_to_disabled
  • Resource: Class

2.3.1.4 (L1) Ensure 'Accounts: Limit local account use of blank passwords to console logon only' is set to 'Enabled'

  • Parameters:
    • dsc_accounts_limit_local_account_use_of_blank_passwords_to_console_logon_only - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Accounts: Limit local account use of blank passwords to console logon only' is set to 'Enabled'":
      dsc_accounts_limit_local_account_use_of_blank_passwords_to_console_logon_only: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Accounts: Limit local account use of blank passwords to console logon only' is set to 'Enabled'
    • 2.3.1.4
    • ensure_accounts_limit_local_account_use_of_blank_passwords_to_console_logon_only_is_set_to_enabled
  • Resource: Class

2.3.1.5 (L1) Configure 'Accounts: Rename administrator account'

  • Parameters:
    • dsc_accounts_rename_administrator_account - [ String ] - Default: magic
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Configure 'Accounts: Rename administrator account'":
      dsc_accounts_rename_administrator_account: 'magic'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Configure 'Accounts: Rename administrator account'
    • 2.3.1.5
    • configure_accounts_rename_administrator_account
  • Resource: Class

2.3.1.6 (L1) Configure 'Accounts: Rename guest account'

  • Parameters:
    • dsc_accounts_rename_guest_account - [ String ] - Default: pumpkin
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Configure 'Accounts: Rename guest account'":
      dsc_accounts_rename_guest_account: 'pumpkin'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Configure 'Accounts: Rename guest account'
    • 2.3.1.6
    • configure_accounts_rename_guest_account
  • Resource: Class

2.2.13 (L1) Ensure 'Create permanent shared objects' is set to 'No One'

  • Parameters:
    • users - [ Array ] - Default: [""]
    • dsc_policy - [ String ] - Default: Create_permanent_shared_objects
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Create permanent shared objects' is set to 'No One'":
      users: [""]
      dsc_policy: 'Create_permanent_shared_objects'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Create permanent shared objects' is set to 'No One'
    • 2.2.13
    • ensure_create_permanent_shared_objects_is_set_to_no_one
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.2.1 (L1) Ensure 'Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings' is set to 'Enabled'

  • Parameters:
    • dsc_audit_force_audit_policy_subcategory_settings_windows_vista_or_later_to_override_audit_policy_category_settings - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings' is set to 'Enabled'":
      dsc_audit_force_audit_policy_subcategory_settings_windows_vista_or_later_to_override_audit_policy_category_settings: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings' is set to 'Enabled'
    • 2.3.2.1
    • ensure_audit_force_audit_policy_subcategory_settings_windows_vista_or_later_to_override_audit_policy_category_settings_is_set_to_enabled
  • Resource: Class

2.3.2.2 (L1) Ensure 'Audit: Shut down system immediately if unable to log security audits' is set to 'Disabled'

  • Parameters:
    • dsc_audit_shut_down_system_immediately_if_unable_to_log_security_audits - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Audit: Shut down system immediately if unable to log security audits' is set to 'Disabled'":
      dsc_audit_shut_down_system_immediately_if_unable_to_log_security_audits: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Audit: Shut down system immediately if unable to log security audits' is set to 'Disabled'
    • 2.3.2.2
    • ensure_audit_shut_down_system_immediately_if_unable_to_log_security_audits_is_set_to_disabled
  • Resource: Class

2.2.14 (L1) Configure 'Create symbolic links'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators"]
    • dsc_policy - [ String ] - Default: Create_symbolic_links
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Configure 'Create symbolic links'":
      users: ["Builtin\\Administrators"]
      dsc_policy: 'Create_symbolic_links'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Configure 'Create symbolic links'
    • 2.2.14
    • configure_create_symbolic_links
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.15 (L1) Ensure 'Debug programs' is set to 'Administrators'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators"]
    • dsc_policy - [ String ] - Default: Debug_programs
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Debug programs' is set to 'Administrators'":
      users: ["Builtin\\Administrators"]
      dsc_policy: 'Debug_programs'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Debug programs' is set to 'Administrators'
    • 2.2.15
    • ensure_debug_programs_is_set_to_administrators
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.4.1 (L1) Ensure 'Devices: Allowed to format and eject removable media' is set to 'Administrators and Interactive Users'

  • Parameters:
    • dsc_devices_allowed_to_format_and_eject_removable_media - [ String ] - Default: Administrators and Interactive Users
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Devices: Allowed to format and eject removable media' is set to 'Administrators and Interactive Users'":
      dsc_devices_allowed_to_format_and_eject_removable_media: 'Administrators and Interactive Users'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Devices: Allowed to format and eject removable media' is set to 'Administrators and Interactive Users'
    • 2.3.4.1
    • ensure_devices_allowed_to_format_and_eject_removable_media_is_set_to_administrators_and_interactive_users
  • Resource: Class

2.3.4.2 (L2) Ensure 'Devices: Prevent users from installing printer drivers' is set to 'Enabled'

  • Parameters:
    • dsc_devices_prevent_users_from_installing_printer_drivers - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L2) Ensure 'Devices: Prevent users from installing printer drivers' is set to 'Enabled'":
      dsc_devices_prevent_users_from_installing_printer_drivers: 'Enabled'
  • Supported Levels:
    • level_2
  • Supported Profiles:
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L2) Ensure 'Devices: Prevent users from installing printer drivers' is set to 'Enabled'
    • 2.3.4.2
    • ensure_devices_prevent_users_from_installing_printer_drivers_is_set_to_enabled
  • Resource: Class

2.2.16 (L1) Ensure 'Deny access to this computer from the network' to include 'Guests, Local account'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Guests", "NT AUTHORITY\\Local account"]
    • dsc_policy - [ String ] - Default: Deny_access_to_this_computer_from_the_network
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Deny access to this computer from the network' to include 'Guests, Local account'":
      users: ["Builtin\\Guests", "NT AUTHORITY\\Local account"]
      dsc_policy: 'Deny_access_to_this_computer_from_the_network'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Deny access to this computer from the network' to include 'Guests, Local account'
    • 2.2.16
    • ensure_deny_access_to_this_computer_from_the_network_to_include_guests_local_account
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.2.17 (L1) Ensure 'Deny log on as a batch job' to include 'Guests'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Guests"]
    • dsc_policy - [ String ] - Default: Deny_log_on_as_a_batch_job
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Deny log on as a batch job' to include 'Guests'":
      users: ["Builtin\\Guests"]
      dsc_policy: 'Deny_log_on_as_a_batch_job'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Deny log on as a batch job' to include 'Guests'
    • 2.2.17
    • ensure_deny_log_on_as_a_batch_job_to_include_guests
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.6.1 (L1) Ensure 'Domain member: Digitally encrypt or sign secure channel data (always)' is set to 'Enabled'

  • Parameters:
    • dsc_domain_member_digitally_encrypt_or_sign_secure_channel_data_always - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Digitally encrypt or sign secure channel data (always)' is set to 'Enabled'":
      dsc_domain_member_digitally_encrypt_or_sign_secure_channel_data_always: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Digitally encrypt or sign secure channel data (always)' is set to 'Enabled'
    • 2.3.6.1
    • ensure_domain_member_digitally_encrypt_or_sign_secure_channel_data_always_is_set_to_enabled
  • Resource: Class

2.3.6.2 (L1) Ensure 'Domain member: Digitally encrypt secure channel data (when possible)' is set to 'Enabled'

  • Parameters:
    • dsc_domain_member_digitally_encrypt_secure_channel_data_when_possible - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Digitally encrypt secure channel data (when possible)' is set to 'Enabled'":
      dsc_domain_member_digitally_encrypt_secure_channel_data_when_possible: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Digitally encrypt secure channel data (when possible)' is set to 'Enabled'
    • 2.3.6.2
    • ensure_domain_member_digitally_encrypt_secure_channel_data_when_possible_is_set_to_enabled
  • Resource: Class

2.3.6.3 (L1) Ensure 'Domain member: Digitally sign secure channel data (when possible)' is set to 'Enabled'

  • Parameters:
    • dsc_domain_member_digitally_sign_secure_channel_data_when_possible - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Digitally sign secure channel data (when possible)' is set to 'Enabled'":
      dsc_domain_member_digitally_sign_secure_channel_data_when_possible: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Digitally sign secure channel data (when possible)' is set to 'Enabled'
    • 2.3.6.3
    • ensure_domain_member_digitally_sign_secure_channel_data_when_possible_is_set_to_enabled
  • Resource: Class

2.3.6.4 (L1) Ensure 'Domain member: Disable machine account password changes' is set to 'Disabled'

  • Parameters:
    • dsc_domain_member_disable_machine_account_password_changes - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Disable machine account password changes' is set to 'Disabled'":
      dsc_domain_member_disable_machine_account_password_changes: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Disable machine account password changes' is set to 'Disabled'
    • 2.3.6.4
    • ensure_domain_member_disable_machine_account_password_changes_is_set_to_disabled
  • Resource: Class

2.3.6.5 (L1) Ensure 'Domain member: Maximum machine account password age' is set to '30 or fewer days, but not 0'

  • Parameters:
    • dsc_domain_member_maximum_machine_account_password_age - [ String ] - Default: 30
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Maximum machine account password age' is set to '30 or fewer days, but not 0'":
      dsc_domain_member_maximum_machine_account_password_age: '30'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Maximum machine account password age' is set to '30 or fewer days, but not 0'
    • 2.3.6.5
    • ensure_domain_member_maximum_machine_account_password_age_is_set_to_30_or_fewer_days_but_not_0
  • Resource: Class

2.3.6.6 (L1) Ensure 'Domain member: Require strong (Windows 2000 or later) session key' is set to 'Enabled'

  • Parameters:
    • dsc_domain_member_require_strong_windows_2000_or_later_session_key - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Domain member: Require strong (Windows 2000 or later) session key' is set to 'Enabled'":
      dsc_domain_member_require_strong_windows_2000_or_later_session_key: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Domain member: Require strong (Windows 2000 or later) session key' is set to 'Enabled'
    • 2.3.6.6
    • ensure_domain_member_require_strong_windows_2000_or_later_session_key_is_set_to_enabled
  • Resource: Class

2.2.18 (L1) Ensure 'Deny log on as a service' to include 'Guests'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Guests"]
    • dsc_policy - [ String ] - Default: Deny_log_on_as_a_service
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Deny log on as a service' to include 'Guests'":
      users: ["Builtin\\Guests"]
      dsc_policy: 'Deny_log_on_as_a_service'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Deny log on as a service' to include 'Guests'
    • 2.2.18
    • ensure_deny_log_on_as_a_service_to_include_guests
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.7.1 (L1) Ensure 'Interactive logon: Do not require CTRL+ALT+DEL' is set to 'Disabled'

  • Parameters:
    • dsc_interactive_logon_do_not_require_ctrl_alt_del - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Interactive logon: Do not require CTRL+ALT+DEL' is set to 'Disabled'":
      dsc_interactive_logon_do_not_require_ctrl_alt_del: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Interactive logon: Do not require CTRL+ALT+DEL' is set to 'Disabled'
    • 2.3.7.1
    • ensure_interactive_logon_do_not_require_ctrlaltdel_is_set_to_disabled
  • Resource: Class

2.3.7.2 (L1) Ensure 'Interactive logon: Don't display last signed-in' is set to 'Enabled'

  • Parameters:
    • dsc_interactive_logon_do_not_display_last_user_name - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Interactive logon: Don't display last signed-in' is set to 'Enabled'":
      dsc_interactive_logon_do_not_display_last_user_name: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Interactive logon: Don't display last signed-in' is set to 'Enabled'
    • 2.3.7.2
    • ensure_interactive_logon_dont_display_last_signed_in_is_set_to_enabled
  • Resource: Class

2.3.7.3 (BL) Ensure 'Interactive logon: Machine account lockout threshold' is set to '10 or fewer invalid logon attempts, but not 0'

  • Parameters:
    • dsc_interactive_logon_machine_account_lockout_threshold - [ String ] - Default: 10
  • Config Example:
cem_windows::config:
  control_configs:
    "(BL) Ensure 'Interactive logon: Machine account lockout threshold' is set to '10 or fewer invalid logon attempts, but not 0'":
      dsc_interactive_logon_machine_account_lockout_threshold: '10'
  • Supported Levels:
    • level_1
    • level_2
    • bl
  • Supported Profiles:
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_bitlocker_bl___optional_add_on_for_when_bitlocker_is_deployed
  • Alternate Config IDs:
    • (BL) Ensure 'Interactive logon: Machine account lockout threshold' is set to '10 or fewer invalid logon attempts, but not 0'
    • 2.3.7.3
    • bl_ensure_interactive_logon_machine_account_lockout_threshold_is_set_to_10_or_fewer_invalid_logon_attempts_but_not_0
  • Resource: Class

2.3.7.4 (L1) Ensure 'Interactive logon: Machine inactivity limit' is set to '900 or fewer second(s), but not 0'

  • Parameters:
    • dsc_interactive_logon_machine_inactivity_limit - [ String ] - Default: 900
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Interactive logon: Machine inactivity limit' is set to '900 or fewer second(s), but not 0'":
      dsc_interactive_logon_machine_inactivity_limit: '900'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Interactive logon: Machine inactivity limit' is set to '900 or fewer second(s), but not 0'
    • 2.3.7.4
    • ensure_interactive_logon_machine_inactivity_limit_is_set_to_900_or_fewer_seconds_but_not_0
  • Resource: Class

2.3.7.5 (L1) Configure 'Interactive logon: Message text for users attempting to log on'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
    • value - [ String ] - Default: LegalNoticeText
    • type - [ String ] - Default: string
    • data - [ String ] - Default: Authorized Logon Only
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Configure 'Interactive logon: Message text for users attempting to log on'":
      key: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
      value: 'LegalNoticeText'
      type: 'string'
      data: 'Authorized Logon Only'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Configure 'Interactive logon: Message text for users attempting to log on'
    • 2.3.7.5
    • configure_interactive_logon_message_text_for_users_attempting_to_log_on
  • Resource: Registry::value

2.3.7.6 (L1) Configure 'Interactive logon: Message title for users attempting to log on'

  • Parameters:
    • dsc_interactive_logon_message_title_for_users_attempting_to_log_on - [ String ] - Default: Authorized Logon Only
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Configure 'Interactive logon: Message title for users attempting to log on'":
      dsc_interactive_logon_message_title_for_users_attempting_to_log_on: 'Authorized Logon Only'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Configure 'Interactive logon: Message title for users attempting to log on'
    • 2.3.7.6
    • configure_interactive_logon_message_title_for_users_attempting_to_log_on
  • Resource: Class

2.3.7.7 (L2) Ensure 'Interactive logon: Number of previous logons to cache (in case domain controller is not available)' is set to '4 or fewer logon(s)'

  • Parameters:
    • dsc_interactive_logon_number_of_previous_logons_to_cache_in_case_domain_controller_is_not_available - [ String ] - Default: 4
  • Config Example:
cem_windows::config:
  control_configs:
    "(L2) Ensure 'Interactive logon: Number of previous logons to cache (in case domain controller is not available)' is set to '4 or fewer logon(s)'":
      dsc_interactive_logon_number_of_previous_logons_to_cache_in_case_domain_controller_is_not_available: '4'
  • Supported Levels:
    • level_2
  • Supported Profiles:
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L2) Ensure 'Interactive logon: Number of previous logons to cache (in case domain controller is not available)' is set to '4 or fewer logon(s)'
    • 2.3.7.7
    • ensure_interactive_logon_number_of_previous_logons_to_cache_in_case_domain_controller_is_not_available_is_set_to_4_or_fewer_logons
  • Resource: Class

2.3.7.8 (L1) Ensure 'Interactive logon: Prompt user to change password before expiration' is set to 'between 5 and 14 days'

  • Parameters:
    • dsc_interactive_logon_prompt_user_to_change_password_before_expiration - [ String ] - Default: 14
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Interactive logon: Prompt user to change password before expiration' is set to 'between 5 and 14 days'":
      dsc_interactive_logon_prompt_user_to_change_password_before_expiration: '14'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Interactive logon: Prompt user to change password before expiration' is set to 'between 5 and 14 days'
    • 2.3.7.8
    • ensure_interactive_logon_prompt_user_to_change_password_before_expiration_is_set_to_between_5_and_14_days
  • Resource: Class

2.3.7.9 (L1) Ensure 'Interactive logon: Smart card removal behavior' is set to 'Lock Workstation' or higher

  • Parameters:
    • dsc_interactive_logon_smart_card_removal_behavior - [ String ] - Default: Lock workstation
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Interactive logon: Smart card removal behavior' is set to 'Lock Workstation' or higher":
      dsc_interactive_logon_smart_card_removal_behavior: 'Lock workstation'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Interactive logon: Smart card removal behavior' is set to 'Lock Workstation' or higher
    • 2.3.7.9
    • ensure_interactive_logon_smart_card_removal_behavior_is_set_to_lock_workstation_or_higher
  • Resource: Class

2.2.19 (L1) Ensure 'Deny log on locally' to include 'Guests'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Guests"]
    • dsc_policy - [ String ] - Default: Deny_log_on_locally
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Deny log on locally' to include 'Guests'":
      users: ["Builtin\\Guests"]
      dsc_policy: 'Deny_log_on_locally'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Deny log on locally' to include 'Guests'
    • 2.2.19
    • ensure_deny_log_on_locally_to_include_guests
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.8.1 (L1) Ensure 'Microsoft network client: Digitally sign communications (always)' is set to 'Enabled'

  • Parameters:
    • dsc_microsoft_network_client_digitally_sign_communications_always - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network client: Digitally sign communications (always)' is set to 'Enabled'":
      dsc_microsoft_network_client_digitally_sign_communications_always: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network client: Digitally sign communications (always)' is set to 'Enabled'
    • 2.3.8.1
    • ensure_microsoft_network_client_digitally_sign_communications_always_is_set_to_enabled
  • Resource: Class

2.3.8.2 (L1) Ensure 'Microsoft network client: Digitally sign communications (if server agrees)' is set to 'Enabled'

  • Parameters:
    • dsc_microsoft_network_client_digitally_sign_communications_if_server_agrees - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network client: Digitally sign communications (if server agrees)' is set to 'Enabled'":
      dsc_microsoft_network_client_digitally_sign_communications_if_server_agrees: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network client: Digitally sign communications (if server agrees)' is set to 'Enabled'
    • 2.3.8.2
    • ensure_microsoft_network_client_digitally_sign_communications_if_server_agrees_is_set_to_enabled
  • Resource: Class

2.3.8.3 (L1) Ensure 'Microsoft network client: Send unencrypted password to third-party SMB servers' is set to 'Disabled'

  • Parameters:
    • dsc_microsoft_network_client_send_unencrypted_password_to_third_party_smb_servers - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network client: Send unencrypted password to third-party SMB servers' is set to 'Disabled'":
      dsc_microsoft_network_client_send_unencrypted_password_to_third_party_smb_servers: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network client: Send unencrypted password to third-party SMB servers' is set to 'Disabled'
    • 2.3.8.3
    • ensure_microsoft_network_client_send_unencrypted_password_to_third_party_smb_servers_is_set_to_disabled
  • Resource: Class

2.2.20 (L1) Ensure 'Deny log on through Remote Desktop Services' to include 'Guests, Local account'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Guests", "NT AUTHORITY\\Local account"]
    • dsc_policy - [ String ] - Default: Deny_log_on_through_Remote_Desktop_Services
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Deny log on through Remote Desktop Services' to include 'Guests, Local account'":
      users: ["Builtin\\Guests", "NT AUTHORITY\\Local account"]
      dsc_policy: 'Deny_log_on_through_Remote_Desktop_Services'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Deny log on through Remote Desktop Services' to include 'Guests, Local account'
    • 2.2.20
    • ensure_deny_log_on_through_remote_desktop_services_to_include_guests_local_account
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.9.1 (L1) Ensure 'Microsoft network server: Amount of idle time required before suspending session' is set to '15 or fewer minute(s)'

  • Parameters:
    • dsc_microsoft_network_server_amount_of_idle_time_required_before_suspending_session - [ String ] - Default: 15
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network server: Amount of idle time required before suspending session' is set to '15 or fewer minute(s)'":
      dsc_microsoft_network_server_amount_of_idle_time_required_before_suspending_session: '15'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network server: Amount of idle time required before suspending session' is set to '15 or fewer minute(s)'
    • 2.3.9.1
    • ensure_microsoft_network_server_amount_of_idle_time_required_before_suspending_session_is_set_to_15_or_fewer_minutes
  • Resource: Class

2.3.9.2 (L1) Ensure 'Microsoft network server: Digitally sign communications (always)' is set to 'Enabled'

  • Parameters:
    • dsc_microsoft_network_server_digitally_sign_communications_always - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network server: Digitally sign communications (always)' is set to 'Enabled'":
      dsc_microsoft_network_server_digitally_sign_communications_always: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network server: Digitally sign communications (always)' is set to 'Enabled'
    • 2.3.9.2
    • ensure_microsoft_network_server_digitally_sign_communications_always_is_set_to_enabled
  • Resource: Class

2.3.9.3 (L1) Ensure 'Microsoft network server: Digitally sign communications (if client agrees)' is set to 'Enabled'

  • Parameters:
    • dsc_microsoft_network_server_digitally_sign_communications_if_client_agrees - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network server: Digitally sign communications (if client agrees)' is set to 'Enabled'":
      dsc_microsoft_network_server_digitally_sign_communications_if_client_agrees: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network server: Digitally sign communications (if client agrees)' is set to 'Enabled'
    • 2.3.9.3
    • ensure_microsoft_network_server_digitally_sign_communications_if_client_agrees_is_set_to_enabled
  • Resource: Class

2.3.9.4 (L1) Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'Enabled'

  • Parameters:
    • dsc_microsoft_network_server_disconnect_clients_when_logon_hours_expire - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'Enabled'":
      dsc_microsoft_network_server_disconnect_clients_when_logon_hours_expire: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network server: Disconnect clients when logon hours expire' is set to 'Enabled'
    • 2.3.9.4
    • ensure_microsoft_network_server_disconnect_clients_when_logon_hours_expire_is_set_to_enabled
  • Resource: Class

2.3.9.5 (L1) Ensure 'Microsoft network server: Server SPN target name validation level' is set to 'Accept if provided by client' or higher

  • Parameters:
    • dsc_microsoft_network_server_server_spn_target_name_validation_level - [ String ] - Default: Accept if provided by client
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Microsoft network server: Server SPN target name validation level' is set to 'Accept if provided by client' or higher":
      dsc_microsoft_network_server_server_spn_target_name_validation_level: 'Accept if provided by client'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Microsoft network server: Server SPN target name validation level' is set to 'Accept if provided by client' or higher
    • 2.3.9.5
    • ensure_microsoft_network_server_server_spn_target_name_validation_level_is_set_to_accept_if_provided_by_client_or_higher
  • Resource: Class

2.2.21 (L1) Ensure 'Enable computer and user accounts to be trusted for delegation' is set to 'No One'

  • Parameters:
    • users - [ Array ] - Default: [""]
    • dsc_policy - [ String ] - Default: Enable_computer_and_user_accounts_to_be_trusted_for_delegation
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Enable computer and user accounts to be trusted for delegation' is set to 'No One'":
      users: [""]
      dsc_policy: 'Enable_computer_and_user_accounts_to_be_trusted_for_delegation'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Enable computer and user accounts to be trusted for delegation' is set to 'No One'
    • 2.2.21
    • ensure_enable_computer_and_user_accounts_to_be_trusted_for_delegation_is_set_to_no_one
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.10.1 (L1) Ensure 'Network access: Allow anonymous SID/Name translation' is set to 'Disabled'

  • Parameters:
    • dsc_network_access_allow_anonymous_sid_name_translation - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Allow anonymous SID/Name translation' is set to 'Disabled'":
      dsc_network_access_allow_anonymous_sid_name_translation: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Allow anonymous SID/Name translation' is set to 'Disabled'
    • 2.3.10.1
    • ensure_network_access_allow_anonymous_sidname_translation_is_set_to_disabled
  • Resource: Class

2.3.10.2 (L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts' is set to 'Enabled'

  • Parameters:
    • dsc_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts' is set to 'Enabled'":
      dsc_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts' is set to 'Enabled'
    • 2.3.10.2
    • ensure_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts_is_set_to_enabled
  • Resource: Class

2.3.10.3 (L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts and shares' is set to 'Enabled'

  • Parameters:
    • dsc_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts_and_shares - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts and shares' is set to 'Enabled'":
      dsc_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts_and_shares: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Do not allow anonymous enumeration of SAM accounts and shares' is set to 'Enabled'
    • 2.3.10.3
    • ensure_network_access_do_not_allow_anonymous_enumeration_of_sam_accounts_and_shares_is_set_to_enabled
  • Resource: Class

2.3.10.4 (L1) Ensure 'Network access: Do not allow storage of passwords and credentials for network authentication' is set to 'Enabled'

  • Parameters:
    • dsc_network_access_do_not_allow_storage_of_passwords_and_credentials_for_network_authentication - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Do not allow storage of passwords and credentials for network authentication' is set to 'Enabled'":
      dsc_network_access_do_not_allow_storage_of_passwords_and_credentials_for_network_authentication: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Do not allow storage of passwords and credentials for network authentication' is set to 'Enabled'
    • 2.3.10.4
    • ensure_network_access_do_not_allow_storage_of_passwords_and_credentials_for_network_authentication_is_set_to_enabled
  • Resource: Class

2.3.10.5 (L1) Ensure 'Network access: Let Everyone permissions apply to anonymous users' is set to 'Disabled'

  • Parameters:
    • dsc_network_access_let_everyone_permissions_apply_to_anonymous_users - [ String ] - Default: Disabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Let Everyone permissions apply to anonymous users' is set to 'Disabled'":
      dsc_network_access_let_everyone_permissions_apply_to_anonymous_users: 'Disabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Let Everyone permissions apply to anonymous users' is set to 'Disabled'
    • 2.3.10.5
    • ensure_network_access_let_everyone_permissions_apply_to_anonymous_users_is_set_to_disabled
  • Resource: Class

2.3.10.6 (L1) Ensure 'Network access: Named Pipes that can be accessed anonymously' is set to 'None'

  • Parameters:
    • dsc_network_access_named_pipes_that_can_be_accessed_anonymously - [ String ] - Default: ``
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Named Pipes that can be accessed anonymously' is set to 'None'":
      dsc_network_access_named_pipes_that_can_be_accessed_anonymously: ''
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Named Pipes that can be accessed anonymously' is set to 'None'
    • 2.3.10.6
    • ensure_network_access_named_pipes_that_can_be_accessed_anonymously_is_set_to_none
  • Resource: Class

2.3.10.7 (L1) Ensure 'Network access: Remotely accessible registry paths' is configured

  • Parameters:
    • dsc_network_access_remotely_accessible_registry_paths - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Remotely accessible registry paths' is configured":
      dsc_network_access_remotely_accessible_registry_paths: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Remotely accessible registry paths' is configured
    • 2.3.10.7
    • ensure_network_access_remotely_accessible_registry_paths_is_configured
  • Resource: Class

2.3.10.8 (L1) Ensure 'Network access: Remotely accessible registry paths and sub-paths' is configured

  • Parameters:
    • dsc_network_access_remotely_accessible_registry_paths_and_subpaths - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Remotely accessible registry paths and sub-paths' is configured":
      dsc_network_access_remotely_accessible_registry_paths_and_subpaths: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Remotely accessible registry paths and sub-paths' is configured
    • 2.3.10.8
    • ensure_network_access_remotely_accessible_registry_paths_and_sub_paths_is_configured
  • Resource: Class

2.3.10.9 (L1) Ensure 'Network access: Restrict anonymous access to Named Pipes and Shares' is set to 'Enabled'

  • Parameters:
    • dsc_network_access_restrict_anonymous_access_to_named_pipes_and_shares - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Restrict anonymous access to Named Pipes and Shares' is set to 'Enabled'":
      dsc_network_access_restrict_anonymous_access_to_named_pipes_and_shares: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Restrict anonymous access to Named Pipes and Shares' is set to 'Enabled'
    • 2.3.10.9
    • ensure_network_access_restrict_anonymous_access_to_named_pipes_and_shares_is_set_to_enabled
  • Resource: Class

2.3.10.10 (L1) Ensure 'Network access: Restrict clients allowed to make remote calls to SAM' is set to 'Administrators: Remote Access: Allow'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    • value - [ String ] - Default: restrictremotesam
    • type - [ String ] - Default: string
    • data - [ String ] - Default: O:BAG:BAD:(A;;RC;;;BA)
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Restrict clients allowed to make remote calls to SAM' is set to 'Administrators: Remote Access: Allow'":
      key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa'
      value: 'restrictremotesam'
      type: 'string'
      data: 'O:BAG:BAD:(A;;RC;;;BA)'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Restrict clients allowed to make remote calls to SAM' is set to 'Administrators: Remote Access: Allow'
    • 2.3.10.10
    • ensure_network_access_restrict_clients_allowed_to_make_remote_calls_to_sam_is_set_to_administrators_remote_access_allow
  • Resource: Registry::value

2.2.22 (L1) Ensure 'Force shutdown from a remote system' is set to 'Administrators'

  • Parameters:
    • users - [ Array ] - Default: ["Builtin\\Administrators"]
    • dsc_policy - [ String ] - Default: Force_shutdown_from_a_remote_system
    • dsc_force - [ Boolean ] - Default: true
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Force shutdown from a remote system' is set to 'Administrators'":
      users: ["Builtin\\Administrators"]
      dsc_policy: 'Force_shutdown_from_a_remote_system'
      dsc_force: true
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Force shutdown from a remote system' is set to 'Administrators'
    • 2.2.22
    • ensure_force_shutdown_from_a_remote_system_is_set_to_administrators
  • Resource: Cem_windows::utils::userrightsassignment_wrapper

2.3.10.11 (L1) Ensure 'Network access: Shares that can be accessed anonymously' is set to 'None'

  • Parameters:
    • dsc_network_access_shares_that_can_be_accessed_anonymously - [ String ] - Default: ``
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Shares that can be accessed anonymously' is set to 'None'":
      dsc_network_access_shares_that_can_be_accessed_anonymously: ''
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Shares that can be accessed anonymously' is set to 'None'
    • 2.3.10.11
    • ensure_network_access_shares_that_can_be_accessed_anonymously_is_set_to_none
  • Resource: Class

2.3.10.12 (L1) Ensure 'Network access: Sharing and security model for local accounts' is set to 'Classic - local users authenticate as themselves'

  • Parameters:
    • dsc_network_access_sharing_and_security_model_for_local_accounts - [ String ] - Default: Classic - Local users authenticate as themselves
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network access: Sharing and security model for local accounts' is set to 'Classic - local users authenticate as themselves'":
      dsc_network_access_sharing_and_security_model_for_local_accounts: 'Classic - Local users authenticate as themselves'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network access: Sharing and security model for local accounts' is set to 'Classic - local users authenticate as themselves'
    • 2.3.10.12
    • ensure_network_access_sharing_and_security_model_for_local_accounts_is_set_to_classic___local_users_authenticate_as_themselves
  • Resource: Class

2.3.11.1 (L1) Ensure 'Network security: Allow Local System to use computer identity for NTLM' is set to 'Enabled'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    • value - [ String ] - Default: UseMachineId
    • type - [ String ] - Default: dword
    • data - [ Integer ] - Default: 1
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: Allow Local System to use computer identity for NTLM' is set to 'Enabled'":
      key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa'
      value: 'UseMachineId'
      type: 'dword'
      data: 1
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: Allow Local System to use computer identity for NTLM' is set to 'Enabled'
    • 2.3.11.1
    • ensure_network_security_allow_local_system_to_use_computer_identity_for_ntlm_is_set_to_enabled
  • Resource: Registry::value

2.3.11.2 (L1) Ensure 'Network security: Allow LocalSystem NULL session fallback' is set to 'Disabled'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
    • value - [ String ] - Default: AllowNullSessionFallback
    • type - [ String ] - Default: dword
    • data - [ Integer ] - Default: 0
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: Allow LocalSystem NULL session fallback' is set to 'Disabled'":
      key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0'
      value: 'AllowNullSessionFallback'
      type: 'dword'
      data: 0
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: Allow LocalSystem NULL session fallback' is set to 'Disabled'
    • 2.3.11.2
    • ensure_network_security_allow_localsystem_null_session_fallback_is_set_to_disabled
  • Resource: Registry::value

2.3.11.3 (L1) Ensure 'Network Security: Allow PKU2U authentication requests to this computer to use online identities' is set to 'Disabled'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\pku2u
    • value - [ String ] - Default: AllowOnlineID
    • type - [ String ] - Default: dword
    • data - [ Integer ] - Default: 0
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network Security: Allow PKU2U authentication requests to this computer to use online identities' is set to 'Disabled'":
      key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\pku2u'
      value: 'AllowOnlineID'
      type: 'dword'
      data: 0
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network Security: Allow PKU2U authentication requests to this computer to use online identities' is set to 'Disabled'
    • 2.3.11.3
    • ensure_network_security_allow_pku2u_authentication_requests_to_this_computer_to_use_online_identities_is_set_to_disabled
  • Resource: Registry::value

2.3.11.4 (L1) Ensure 'Network security: Configure encryption types allowed for Kerberos' is set to 'AES128_HMAC_SHA1, AES256_HMAC_SHA1, Future encryption types'

  • Parameters:
    • dsc_network_security_configure_encryption_types_allowed_for_kerberos - [ Array ] - Default: ["AES128_HMAC_SHA1", "AES256_HMAC_SHA1", "FUTURE"]
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: Configure encryption types allowed for Kerberos' is set to 'AES128_HMAC_SHA1, AES256_HMAC_SHA1, Future encryption types'":
      dsc_network_security_configure_encryption_types_allowed_for_kerberos: ["AES128_HMAC_SHA1", "AES256_HMAC_SHA1", "FUTURE"]
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: Configure encryption types allowed for Kerberos' is set to 'AES128_HMAC_SHA1, AES256_HMAC_SHA1, Future encryption types'
    • 2.3.11.4
    • ensure_network_security_configure_encryption_types_allowed_for_kerberos_is_set_to_aes128_hmac_sha1_aes256_hmac_sha1_future_encryption_types
  • Resource: Class

2.3.11.5 (L1) Ensure 'Network security: Do not store LAN Manager hash value on next password change' is set to 'Enabled'

  • Parameters:
    • dsc_network_security_do_not_store_lan_manager_hash_value_on_next_password_change - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: Do not store LAN Manager hash value on next password change' is set to 'Enabled'":
      dsc_network_security_do_not_store_lan_manager_hash_value_on_next_password_change: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: Do not store LAN Manager hash value on next password change' is set to 'Enabled'
    • 2.3.11.5
    • ensure_network_security_do_not_store_lan_manager_hash_value_on_next_password_change_is_set_to_enabled
  • Resource: Class

2.3.11.6 (L1) Ensure 'Network security: Force logoff when logon hours expire' is set to 'Enabled'

  • Parameters:
    • dsc_network_security_force_logoff_when_logon_hours_expire - [ String ] - Default: Enabled
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: Force logoff when logon hours expire' is set to 'Enabled'":
      dsc_network_security_force_logoff_when_logon_hours_expire: 'Enabled'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: Force logoff when logon hours expire' is set to 'Enabled'
    • 2.3.11.6
    • ensure_network_security_force_logoff_when_logon_hours_expire_is_set_to_enabled
  • Resource: Class

2.3.11.7 (L1) Ensure 'Network security: LAN Manager authentication level' is set to 'Send NTLMv2 response only. Refuse LM&NTLM'

  • Parameters:
    • key - [ String ] - Default: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    • value - [ String ] - Default: LmCompatibilityLevel
    • type - [ String ] - Default: dword
    • data - [ Integer ] - Default: 5
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: LAN Manager authentication level' is set to 'Send NTLMv2 response only. Refuse LM&NTLM'":
      key: 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa'
      value: 'LmCompatibilityLevel'
      type: 'dword'
      data: 5
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: LAN Manager authentication level' is set to 'Send NTLMv2 response only. Refuse LM&NTLM'
    • 2.3.11.7
    • ensure_network_security_lan_manager_authentication_level_is_set_to_send_ntlmv2_response_only__refuse_lm__ntlm
  • Resource: Registry::value

2.3.11.8 (L1) Ensure 'Network security: LDAP client signing requirements' is set to 'Negotiate signing' or higher

  • Parameters:
    • dsc_network_security_ldap_client_signing_requirements - [ String ] - Default: Negotiate Signing
  • Config Example:
cem_windows::config:
  control_configs:
    "(L1) Ensure 'Network security: LDAP client signing requirements' is set to 'Negotiate signing' or higher":
      dsc_network_security_ldap_client_signing_requirements: 'Negotiate Signing'
  • Supported Levels:
    • level_1
    • level_2
  • Supported Profiles:
    • profile_level_1__corporateenterprise
    • profile_level_1_bitlocker_bl
    • profile_level_1_bitlocker_bl__ngws_ng
    • profile_level_1_ngws_ng
    • profile_level_2__high_security
    • profile_level_2_bitlocker_bl
    • profile_level_2_bitlocker_bl__ngws_ng
    • profile_level_2_ngws_ng
  • Alternate Config IDs:
    • (L1) Ensure 'Network security: LDAP client signing requirements' is set to 'Negotiate signing' or higher
    • 2.3.11.8
    • ensure_network_security_ldap_client_signing_requirements_is_set_to_negotiate_signing_or_higher
  • Resource: Class

2.3.11.9 (L1) Ensure 'Network security: Minimum session security for NTLM SSP based (including secure RPC) clients' is set to 'Require NTLMv2 session security, Require 128-bit encryption'