Microsoft Windows Server 2019
Windows Server 2019 Windows Remote Management (WinRM) service must not store RunAs credentials
STIG ID: WN19-CC-000520 | SRG: SRG-OS-000373-GPOS-00157 | Severity: Medium | CCI: CCI-002038 | Vulnerability ID: V-205810
Description
Storage of administrative credentials could allow unauthorized access. Disallowing the storage of RunAs credentials for Windows Remote Management will prevent them from being used with plug-ins.Satisfies: SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00156
Check
C-6075r355792_chk
If the following registry value does not exist or is not configured as specified, this is a finding:Registry Hive: HKEY_LOCAL_MACHINERegistry Path: \SOFTWARE\Policies\Microsoft\Windows\WinRM\Service\Value Name: DisableRunAsType: REG_DWORDValue: 0x00000001 (1)
Fix
F-6075r355793_fix
Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> Windows Remote Management (WinRM) >> WinRM Service >> "Disallow WinRM from storing RunAs credentials" to "Enabled".