Microsoft Windows 11

Autoplay must be disabled for all drives

STIG ID: WN11-CC-000190 | SRG: SRG-OS-000368-GPOS-00154 | Severity: High | CCI: CCI-001764 | Vulnerability ID: V-253388

Description

Allowing autoplay to execute may introduce malicious code to a system. Autoplay begins reading from a drive as soon as media is inserted in the drive. As a result, the setup file of programs or music on audio media may start. By default, autoplay is disabled on removable drives, such as the floppy disk drive (but not the CD-ROM drive) and on network drives. If this policy is enabled, autoplay can be disabled on all drives.

Check

C-56841r829246_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: NoDriveTypeAutoRunValue Type: REG_DWORDValue: 0x000000ff (255)Note: If the value for NoDriveTypeAutorun is entered manually, it must be entered as "ff" when Hexadecimal is selected, or "255" with Decimal selected. Using the policy value specified in the Fix section will enter it correctly.

Fix

F-56791r829247_fix

Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> "Turn off AutoPlay" to "Enabled:All Drives".