The Windows Remote Management (WinRM) service must not store RunAs credentials.

STIG ID: WN10-CC-000355  |  SRG: SRG-OS-000373-GPOS-00156 |  Severity: medium |  CCI: CCI-004895,CCI-002038,CCI-002038 |  Vulnerability Id: V-220867 | 

Vulnerability Discussion

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.

Check

If the following registry value does not exist or is not configured as specified, this is a finding:

Registry Hive: HKEY_LOCAL_MACHINE
Registry Path: \SOFTWARE\Policies\Microsoft\Windows\WinRM\Service\

Value Name: DisableRunAs

Value Type: REG_DWORD
Value: 1

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".