Slashdot Mirror


In a Throwback To the '90s, NTFS Bug Lets Anyone Hang Or Crash Windows 7, 8.1 (arstechnica.com)

Windows 7 and 8.1 (and also Windows Vista) have a bug that is reminiscent of Windows 98 age, when a certain specially crafted filename could make the operating system crash (think of file:///c:/con/con). From an ArsTechnica report: 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.

18 of 128 comments (clear)

  1. Nonsense! by Anonymous Coward · · Score: 5, Funny

    I just opened c:\$MFT\123 on my system and nothing bad happ

    1. Re:Nonsense! by Anonymous Coward · · Score: 3, Informative

      Whoosh!

  2. Ah! by DontBeAMoran · · Score: 5, Funny

    NTFS Bug Lets Anyone Hang Or Crash Windows 7, 8.1

    As I use Windows 10 I doBUY XBOX ONE! ON SALE TODAY ONLY!n't have such problems.

    --
    #DeleteFacebook
  3. Re:Doesn't work for me by Anonymous Coward · · Score: 3, Interesting

    Try browsing to file:///c:\$MFT\123 in IE and see what happens...

  4. Yup... by beheaderaswp · · Score: 2

    Saw the article and spun up a test VM with Win 7.

    Exploit/bug/crash/vulnerability works as advertised. Scary. An easy way to bring down an entire operating system with a bat file and a little startup/service knowledge.

    --
    Another consultant who stuck it out.

    "We are the Priests, of the Temples of Syrinx..."
    1. Re:Yup... by thevirtualcat · · Score: 2

      I tried it in the server contemporaries to 7 and 8.1. (2008R2 and 2012R2)

      Nearly immediate BSOD in both cases.

  5. Re:In the Windows XP era... by freeze128 · · Score: 2

    You completely screwed up that joke.
    It wasn't Windows XP, but rather Windows 95 that would crash after 49.7 days of continuous usage.

  6. Seems to require Elevation by mysidia · · Score: 3, Informative

    I tested this... who wouldn't .
    It seems to be harmless when not logged in as an Administrator.

    The second I run copy C:\$MFT\123 C:\Users\blah
    as Administrator however, filesystem access freezes.

    So yeah..... don't run programs as Admin that use random user-specified filenames and you should be fine?

    1. Re:Seems to require Elevation by QuietLagoon · · Score: 2

      It seems to be harmless when not logged in as an Administrator.

      I tried it as a standard user on two Windows installs, one 64-bit Windows 7 Pro on real hardware, and the other Windows 7 Home 32-bit on a VM. Both gave me a BSOD immediately.

  7. Re:Problem in all software by green1 · · Score: 2

    Checking your inputs before working with them? that there is CRAZY talk!

  8. Re:Doesn't work for me by Anonymous Coward · · Score: 3, Interesting

    Yup, this works. Just coming back after a hard reboot :o

  9. Re:Doesn't work for me by Wulf2k · · Score: 2

    Sure. Me too.

    Then try do something else. Like open iexplore.exe and browse to a webpage.

  10. Anyone hang or crash windows? by damn_registrars · · Score: 2

    Pfft. I don't need an NTFS bug for that, it happens on its own.

    --
    Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
  11. Doesn't work for me by grumpy-cowboy · · Score: 2

    $ c:\$MFT\123
    c:$MFT123: command not found

    $

    --
    Will $CURRENT_YEAR be the year of the Linux Desktop?
  12. Works on NT 3.51 too by Scoth · · Score: 3, Interesting

    Just for funsies I loaded up my Windows NT 3.51 VM I have around for no good reason and tried it, and it immediately hard-locked. Must be a very old bug.

  13. Re:In the Windows XP era... by squiggleslash · · Score: 3, Funny

    I thought it's Windows 10 that crashes after 49.7 days of continuous usage? Except they replaced the blue screen of death with one that says "Please do not turn off your computer. Installing update 3/49"

    --
    You are not alone. This is not normal. None of this is normal.
  14. Re:Magic Filenames in Unix? by SharpFang · · Score: 2

    Unix doesn't use magic fileNAMES. It uses magic files. Naming them is quite arbitrary and there are very few surprises that can result from that. (naming a file "*" is rally asking for trouble...) Now for assumptions programs make about what file contains what, and OS behavior as it accesses these special files... c'mon, rename sda1 to null...

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  15. Re:Fun! by Gr8Apes · · Score: 2

    I tried it on some of my 2021R2s with no effects.

    I see you're on the super duper doubly secret early release program.

    --
    The cesspool just got a check and balance.