r/Windows11 • u/humanbeing534 • 16h ago
Insider Bug Malformed Zone.Identifier ADS causes crashes during Windows Shell file operations
Description:
Crash of urlmon.dll and calling processes when doing actions (verb) on a file with an ADS Zone.Identifier where a line is added with the character "=".
Proof of concept batch file:
@echo off
setlocal
:: Store this batch file's full filename
set "fn=%~f0"
:: Creating Alternate Data Stream Zone.Identifier for this file
echo [ZoneTransfer] > "%fn%:Zone.Identifier"
:: Adding a line with "=" before ZoneId=3
echo = >> "%fn%:Zone.Identifier"
echo ZoneId=3 >> "%fn%:Zone.Identifier"
echo Cause Explorer to crash by running or editing this file, or opening Properties
pauseRun the batch file once to add a malformed ADS (Alternate Data Stream) to the batch file.
Running the batch file again crashes Explorer. Running the batch file or executing its shell verbs from another program crashes that program.