'Nasty' Windows 10 bug can corrupt your hard drive just by you looking at an icon or folder

Surface Laptop 3 13.5
Surface Laptop 3 13.5 (Image credit: Windows Central)

What you need to know

  • A "nasty" Windows vulnerability can corrupt a hard drive when someone looks at a specific line of code.
  • The bug has been exploitable since the Windows 10 April 2018 Update.
  • Microsoft is working on a fix for the issue.

A "nasty" NTFS vulnerability in Windows 10 has been highlighted yet again by infosec researcher Jonas L. The vulnerability can be exploited with a single-line command and when exploited, corrupts an NTFS-formatted hard drive. Following the corruption, Windows will prompt a person to restart their computer to fix the issue.

Attackers can hide the line of code inside a ZIP file, folder, or even a Windows shortcut file. If the bug is exploited correctly, it can corrupt a drive without someone even opening the malicious file. BleepingComputer found that once a shortcut file was downloaded to a Windows 10 PC and is viewed within a folder, Windows Explorer will attempt to display the files' icon. As a result, the attack will take place and an NTFS hard drive will be corrupted.

In layman's terms, if people look at a certain folder or extract a ZIP file that has a certain piece of code on their PC, it will cause some drives to be corrupted.

Jonas L explained to BleepingComputer that the vulnerability became exploitable with Windows 10 build 1803, also known as the Windows 10 April 2018 Update. The bug persists into newer versions of Windows 10 as well. Jonas L also flagged up the vulnerability in August 2020 and October 2020.

See more

Microsoft responded to The Verge regarding the bug, stating:

We are aware of this issue and will provide an update in a future release. The use of this technique relies on social engineering and as always we encourage our customers to practice good computing habits online, including exercising caution when opening unknown files, or accepting file transfers.

The vulnerability can also be exploited if you paste a certain string of code into the address bar in a browser. Windows 10 will try to automatically repair the drive corruption but vulnerability analyst Will Dormann notes that it could require manual intervention to repair.

Sean Endicott
News Writer and apps editor

Sean Endicott brings nearly a decade of experience covering Microsoft and Windows news to Windows Central. He joined our team in 2017 as an app reviewer and now heads up our day-to-day news coverage. If you have a news tip or an app to review, hit him up at sean.endicott@futurenet.com.