Microsoft Windows Server 2022

Windows Server 2022 default AutoRun behavior must be configured to prevent AutoRun commands

STIG ID: WN22-CC-000220 | SRG: SRG-OS-000368-GPOS-00154 | Severity: High | CCI: CCI-001764 | Vulnerability ID: V-254353

Description

Allowing AutoRun commands to execute may introduce malicious code to a system. Configuring this setting prevents AutoRun commands from executing.

Check

C-57838r848873_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\Microsoft\Windows\CurrentVersion\Policies\Explorer\Value Name: NoAutorunType: REG_DWORDValue: 0x00000001 (1)

Fix

F-57789r848874_fix

Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> Set the default behavior for AutoRun to "Enabled" with "Do not execute any autorun commands" selected.