BaselineWatch
Desk

WN25-SH-000080 The Windows Server 2025 OpenSSH configuration file must conform to minimum requirements.

DISA STIG library V1R4
All changes in this version
first version loaded CAT II

Maps to CM-6 via CCI-000366

Title

The Windows Server 2025 OpenSSH configuration file must conform to minimum requirements.

Control

If OpenSSH is not installed on the system, this requirement is not applicable. Verify the permissions of the "$env:ProgramData/ssh/sshd_config" file with the following command: C:\ > icacls $env:ProgramData/ssh/sshd_config C:\ProgramData\ssh\sshd_config NT AUTHORITY\SYSTEM:(F) BUILTIN\Administrators:(F) NT AUTHORITY\Authenticated Users:(RX) Successfully processed 1 files; Failed processing 0 files If the "$env:ProgramData/ssh/sshd_config" file does not have the default permission as in the example output, this is a finding.

Discussion

Service configuration files enable or disable features of their respective services, which if configured incorrectly can lead to insecure and vulnerable configurations. Therefore, service configuration files must be owned by the correct group to prevent unauthorized changes.

Related controls

CCI-000366

Fix

Maintain the permissions of the "$env:ProgramData/ssh/sshd_config" file as follows: NT AUTHORITY\SYSTEM:(F) BUILTIN\Administrators:(F) NT AUTHORITY\Authenticated Users:(RX)