SV-285320r1212175_rule
V-285320
SRG-OS-000480-GPOS-00227
WN25-SH-000080
CAT II
10
Maintain the permissions of the "$env:ProgramData/ssh/sshd_config" file as follows:
NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
NT AUTHORITY\Authenticated Users:(OI)(CI)(RX)
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 NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
NT AUTHORITY\Authenticated Users:(OI)(CI)(RX)
Successfully processed 1 files; Failed processing 0 files
If the "/etc/ssh/sshd_config" file does not have the default permission as in the example output, this is a finding.
V-285320
False
WN25-SH-000080
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 NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
NT AUTHORITY\Authenticated Users:(OI)(CI)(RX)
Successfully processed 1 files; Failed processing 0 files
If the "/etc/ssh/sshd_config" file does not have the default permission as in the example output, this is a finding.
M
5719