Jump to content

In a throwback to the ’90s, NTFS bug lets anyone hang or crash Windows 7, 8.1


Batu69

Recommended Posts

It's like the c:\con\con bug all over again.

8593376460_c08f81864f_k-800x451.jpg

 

Those of you with long memories might remember one of the more amusing (or perhaps annoying) bugs of the Windows 95 and 98 era. Certain specially crafted filenames could make the operating system crash. Malicious users could use this to attack other people's machines by using one of the special filenames as an image source; the browser would try to access the bad file, and Windows would promptly fall over.

 

It turns out that Windows 7 and 8.1 (and Windows Vista, but that's out of support anyway) have a similar kind of bug. They can be taken advantage of in the same kind of way: certain bad filenames make the system lock up or occasionally crash with a blue screen of death, and malicious webpages can embed those filenames by using them as image sources. If you visit such a page (in any browser), your PC will hang shortly after and possibly crash outright.

 

The Windows 9x-era bug was due to an error in the way that operating systems handled special filenames. Windows has a number of filenames that are "special" because they don't correspond to any actual file; instead, they represent hardware devices. These special filenames can be accessed from any location in the file system, even though they don't exist on-disk.

 

While any of these special filenames would have worked, the most common one used to crash old Windows machines was con, a special filename that represents the physical console: the keyboard (for input) and the screen (for output). Windows correctly handled simple attempts to access the con device, but a filename included two references to the special device—for example, c:\con\con—then Windows would crash. If that file was referenced from a webpage, for example, by trying to load an image from file:///c:/con/con then the machine would crash whenever the malicious page was accessed.

 

The new bug, which fortunately doesn't appear to afflict Windows 10, uses another special filename. This time around, the special filename of choice is $MFT. $MFT is the name given to one of the special metadata files that are used by Windows' NTFS filesystem. The file exists in the root directory of each NTFS volume, but the NTFS driver handles it in special ways, and it's hidden from view and inaccessible to most software.

 

Attempts to open the file are normally blocked, but in a move reminiscent of the Windows 9x flaw, if the filename is used as if it were a directory name—for example, trying to open the file c:\$MFT\123—then the NTFS driver takes out a lock on the file and never releases it. Every subsequent operation sits around waiting for the lock to be released.Forever. This blocks any and all other attempts to access the file system, and so every program will start to hang, rendering the machine unusable until it is rebooted.

 

As was the case nearly 20 years ago, webpages that use the bad filename in, for example, an image source will provoke the bug and make the machine stop responding. Depending on what the machine is doing concurrently, it will sometimes blue screen. Either way, you're going to need to reboot it to recover. Some browsers will block attempts to access these local resources, but Internet Explorer, for example, will merrily try to access the bad file.

 

We couldn't immediately cause the same thing to occur remotely (for example, by sending IIS a request for a bad filename), but it wouldn't immediately surprise us if certain configurations or trickery were enough to cause the same problem.

 

Microsoft has been informed, but at the time of publication has not told us when or if the problem will be patched.

 

Article source

Link to comment
Share on other sites


  • Replies 2
  • Views 1.7k
  • Created
  • Last Reply
4 minutes ago, Batu69 said:

Those of you with long memories might remember one of the more amusing (or perhaps annoying) bugs of the Windows 95 and 98 era. Certain specially crafted filenames could make the operating system crash. Malicious users could use this to attack other people's machines by using one of the special filenames as an image source; the browser would try to access the bad file, and Windows would promptly fall over.

:hehe: remember it well, had a lot of fun with it too. I however cant remember the last time I had a BSOD or any kind of "lockup". Its been years.

Link to comment
Share on other sites


I had stuff just as bad happen too me on Windows 10 though like running qBittorrent caused me BSOD on Redstone 1 and on Redstone 2 Tracing a apps installers with Revo Pro  caused me too BSOD  windows 10  is no way shape or forum immune to BSOD    BSOD Crashes and Debugging at Windows 10 Forum have : 4,291 Threads  and 39,182  Posts On this alone.

https://www.tenforums.com/bsod-crashes-debugging/?s=ac27ed187f5fd61cc21db0bd04960a26

So Microsoft  has not cure this problem by a long shot Windows in general are prone too BSOD.

 

Windows 8 forums has 5,431 topics but it's older than Windows 10.

https://www.eightforums.com/bsod-crashes-debugging/?s=bf95b749045ceb8403d8396b14d9827d

Windows 7 witch is really old  there forums have 45,184 topics :P

https://www.sevenforums.com/bsod-help-support/?s=247742d438358984096afba5c86cf912

Even on Linux I had a browser open before and my shit freeze up and have to use CTRL ALT  F11 and then CTRL ALT, Delete  to reboot out of being froze up but I never have BSOD  . :)

 

Just because you may not BSOD from this one issue there is many ways you could  in Windows 10. And it don't mean you're system won't freeze up because of a browser were you have too do a cold restart in Windows 10.

all web browsers freeze and crash windows 10 after upgrade

https://answers.microsoft.com/en-us/windows/forum/windows_10-performance/all-web-browsers-freeze-and-crash-windows-10-after/b76cc317-b2bf-44d2-a1f1-348d426fd231

       Windows 10 Anniversary Update causing crashes and system freezes Hundreds of people complain of machines freezing after 20 seconds

https://www.theinquirer.net/inquirer/news/2466959/windows-10-anniversary-update-causing-crashing-system-freezes-general-unpleasantness-say-users

 

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...