Slashdot Mirror


Crack Windows XP With... Windows 2000

An anonymous reader writes "According to this story seen on Brian's Buzz on Windows, access to a Windows 2000 CD is all that is needed to bypass all (well, most) Windows XP security features. An attacker can boot up XP and start the Windows 2000 Recovery Console which allows them to operate as any user, even Administrator, without requiring them to enter a password. This method even allows someone to copy files to removable media, something which normally the Administrator can't even do in the Recovery Console."

26 of 401 comments (clear)

  1. And... ? by powerlinekid · · Score: 1, Informative

    If you have physical access to a machine you can crack it. This has been demonstrated before. I mean you could pop Knoppix in, mount the windows partition and copy files that way. If you don't want anyone accessing your files make sure you lock the damn machine down (physically and network wise).

    --

    can't sleep slashdot will eat me
  2. Not a big deal! by Longinus · · Score: 4, Informative
    You can do the same thing to Linux with a boot floppy. Also, Ars is carrying this story, but with the follow observations from readers:

    "Update: Some posters in the discussion thread point out this report may not be valid. One said that booting from a 2K CD did ask them for an administrator password and didnt let them in without it. Unfortunately, I dont have XP installed here to test it out before I posted."

    Either way I don't find this to be terribly upsetting because a) root access can be gained in a similar manner with Linux and b) if one is worried about security, they shouldn't being using Windows to begin with.

  3. Slashdot = MCSE Flunkees by Anonymous Coward · · Score: 1, Informative

    This has to be the most retarded story ever. What's next? "Crack Linux with Linux?"

    The fact that they went so far to specify "XP" and "2000" makes this even more retarded. Any version of NT can install into a "C:\WINNT_2" directory, and by pass all ACL security (except for EFS stuff).

  4. Goodbye NTFS encryption? by GraZZ · · Score: 3, Informative

    This sounds particularly bad, as I'm assuming that it allows you to get by the NTFS filesystem-level encryption. This feature is *supposed* to allow you to encrypt files, and make it impossible for others to decrypt, even if they steal your drive, reinstall Windows on it, etc.

    If you can just get Administrator access without reinstalling the OS (and killing the old UID tables), then this data suddenly becomes vulnurable!

  5. umm no.. by Suppafly · · Score: 4, Informative

    An attacker can boot up XP and start the Windows 2000 Recovery Console which allows them to operate as any user, even Administrator, without requiring them to enter a password.

    Speaking from experience, the win2k recovery console makes you enter the admin password before it will let you do anything, unless they are using some version of the recovery console other than the one that comes with windows 2000 professional.

  6. Knoppix by zulux · · Score: 1, Informative

    Even easier - download Knoppix, Burn the ISO and boot off the Knoppix CD.

    Presto!

    It even mounts all the FAT/NTFS partitions and puts little icons on the KDE desktop for you. Click, browse and copy!

    (Knoppix is a rather full Linux x86 distribution that boots off of a CD and doesen't need any hard drive to work. You get a greay KDE desktop and a lot of tools.)

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    1. Re:Knoppix by Proc6 · · Score: 5, Informative
      And let me be the first to say, Praise Jesus for Knoppix. I had a pair of mirrored disks created in Win2K Server. After the server exploded I put them into an XP Box (NTFS is NTFS right? Wrong.) - I used XP's disk admin to "reactivate disks", as soon as I did that, they became completely unreadable with either XP, or even in a different 2000 server at that point. Many various attempts at various things basically left me with NTFS disks I simply couldnt read with Win2000 or XP.

      I booted Knoppix. It saw the NTFS partitions fine. The disks appeared on the Knoppix desktop. I opened an FTP connection to another machine, copied off the important files, and was done.

      I will ALWAYS have a copy of Knoppix around.

      --

      I'm Rick James with mod points biatch!

  7. Err... by Wakko+Warner · · Score: 4, Informative

    Why not just use one of *several* NT password recovery disks? They work on XP, as well. I've used this one to bust into several Win2k Pro machines we'd forgotten the password for.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  8. Physical access by Tyreth · · Score: 5, Informative
    I know that physical access makes a machine vulnerable in most cases. But that is because people don't password their bootloader, don't password their bios and disable boot disks.

    Take these precautions and you can be fairly secure with physical access. Add an encrypted file system so that if someone steals your hard disk you are safe. Then padlock the PC.

    Those are reasonable steps for a Linux machine (and I may have missed some, please let me know if i did). Now with a windows xp machine it looks like you also need to disable cdrom access. An unreasonable step.

    But am I misunderstanding this? Does this mean that there is a way for programs to be made to bypass Administrator password? If so why would this be limited to a windows 2000 disk? What's stopping someone from making a program that enters into Recovery Console, removing the need to be physically present or have a windows 2000 CD. Unless you actually have to boot from CD, but the article makes it sound like you can use the CD after the PC boots.

    1. Re:Physical access by Anonymous Coward · · Score: 2, Informative

      On most computers that can boot a CD-ROM in the first place, you can also disable bootable CD-ROMs in the BIOS (in all the cases I know of).

      So it's almost exactly as inconvenient as disabling bootable floppies. Maybe even less so. I don't routinely make bootable CD-Rs for anything, after all.

      Now, if you replaced the boot drive/device... but then, why not just steal the boot device?

  9. This strange? by ciryon · · Score: 2, Informative
    It requires physical access to the computer. You can do the same from many operating systems, for instance Linux and Mac OS X.

    But the thing is probably that micro$oft said this thing would be impossible since winxp is so secure. Whatever.

    Ciryon

  10. Re:I think I see the problem by Junta · · Score: 2, Informative

    Windows 2000 recovery console is only available at boot time from the CD. It can't run once the system is booted.

    --
    XML is like violence. If it doesn't solve the problem, use more.
  11. Not quite by Xenophon+Fenderson, · · Score: 2, Informative

    The Common Criteria Evaluation Assurance Level 4 evaluation given to Windows 2000 only means that Microsoft followed some kind of software engineering methodology when designing and implementing Windows 2000. In fact, the operating system protection profile Microsoft used describes a non-hostile environment (e.g. no viruses, no malicious employees, etc). Jonathan Shapiro said it best in Understanding the Windows EAL4 Evaluation:

    Security experts have been saying for years that the security of the Windows family of products is hopelessly inadequate. Now there is a rigorous government certification confirming this.
    Definitely one for the sig quote file. :)
    --
    I'm proud of my Northern Tibetian Heritage
  12. bah by Anonymous Coward · · Score: 1, Informative

    For encrypted filesystems, usually the key itself will be encrypted with a passphrase. This passphrase needn't exist anywhere except someone's head.

  13. Wannabe slashdot lawyers by Anonymous Coward · · Score: 5, Informative

    Have you -read- the DMCA? Do you think the primary purpose of Windows 2000 was to be a circumvention device of Windows XP (which wasn't even released yet?)

    (2) No person shall manufacture, import, offer to the public, provide, or otherwise traffic in any technology, product, service, device, component, or part thereof, that--

    `(A) is primarily designed or produced for the purpose of circumventing a technological measure that effectively controls access to a work protected under this title;

    `(B) has only limited commercially significant purpose or use other than to circumvent a technological measure that effectively controls access to a work protected under this title; or

    `(C) is marketed by that person or another acting in concert with that person with that person's knowledge for use in circumventing a technological measure that effectively controls access to a work protected under this title.

  14. Encrypting your SAM key by scubacuda · · Score: 3, Informative
    I have not done this, but according to this article you can secure your SAM key on XP:

    You can encrypt your SAM file with SYSKEY and selecting the option to store the encrypted key on a floppy disk. Keep in mind that the floppy disk will be required during the system boot phase. Storing the encrypted key on the local drive is not as secure, since there are utilities available to manipulate the password hash. Make a backup of the floppy disk and store in a safe, in case your original floppy disk gets damaged.

    Equally important to protecting your SAM file, is having an understanding of the services you are running. Make sure that you disable unnecessary services for security reasons and to free up system resources. I've included below some of the services that I would disable by default. Keep a configuration file or maintenance log of the changes made to each host in your peer-to-peer network.

    NOTE: Make sure you make a full backup of your system before making changes.

    Services to disable:

    • Application Layer Gateway Service ? if not using Internet Sharing
    • Automatic Updates ? this can work for you or against you; at some point, someone will hack this process to propagate an attack on your system
    • Background Intelligent Transfer Service ? used by Windows Update
    • Error Reporting Service ? self explanatory
    • Internet Connection Firewall ? unless you are sharing Internet
    • NetMeeting Remote Desktop Sharing ? enable when you need it
    • Remote Access Auto Connection Manager ? unless sharing Internet
    • Remote Desktop Help Session Manager ? enable when you need it
    • Remote Access Connection Manager ? unless sharing Internet
    • Routing and Remote Access ? unless sharing Internet
    • TCP NetBIOS Helper Service ? used for WINS
    • Terminal Services ? enable when you need it
    • Upload Manager
    • WebClient

  15. Re:So what? by slaker · · Score: 3, Informative

    Tried it this afternoon on one of my 2000 Servers and an XP Pro disc. I was greeted by a password prompt.

    The default local security policy on every XP box I have access to seems to require authentication, but at the same time, more than half of the XP boxes I have access to also have an admin-level account that does NOT have a password on it, at all.

    --
    -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
  16. Re:Oh my -- my Mac too by Anonymous Coward · · Score: 1, Informative

    As has been noted above - Open Firmware Password will sort you out.

  17. No, No, NO!!! by alexburke · · Score: 5, Informative
    No, No, No.

    NO!

    You can launch the Recovery Console from CD (or hard drive -- hell, I have it installed on all my machines (winnt32 /cmdcons /unattend), but from within the Recovery Console you can ONLY log on to a Windows installation as Administrator (or whatever account was originally called Administrator if it was renamed), and you *do* require the password for it. NO OTHER ACCOUNT WILL WORK. (You are not even prompted for the user to log in as.)

    If you're stupid enough to leave the Administrator password blank on your box, then yes, you can just press Enter at the prompt and you're in -- however copying to a floppy, and access to directories Administrator doesn't have rights to access, are DISABLED by default unless you enable "Recovery Console: Allow floppy copy and access to all drives and all folders" (Control Panel > Administrative Tools > Local Security Policy > Local Policies > Security Options). Note this doesn't remove the login requirement -- it only adds more access once you've logged into the Recovery Console.

    It's a moot point anyway -- even if you have the Welcome Screen enabled (where Administrator doesn't appear unless there are no other accounts defined), you can just hit Ctrl+Alt+Del twice to blow right past the Welcome Screen and pop up the normal GINA logon dialog, where you can log on as Administrator (or whoever), and whatever password (or blank, if you don't specify one during installation -- thank God Windows Server 2003 warns against an insecure Administrator password during Setup).

    ...

    Okay, I've somewhat calmed down now.

    Even though I'll bet 75% of posts to Slashdot are made from Windows machines, I find it unbelievable that trash like this makes the front page, let alone goes unrefuted for this long.

    Sheesh...

    *sigh*

  18. Re:Hey look everybody, Linux has a hole too! by Trogre · · Score: 2, Informative
    Except that you an put a password on grub to prevent people doing this.

    From the GRUB info page:

    password --md5 PASSWORD
    If this is specified, GRUB disallows any interactive control, until
    you press the key

    and enter a correct password. The option `--md5'
    tells GRUB that `PASSWORD' is in MD5 format. If it is omitted, GRUB
    assumes the `PASSWORD' is in clear text.


    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  19. Re:Use the Goddam BIOS password by Anonymous Coward · · Score: 1, Informative

    hey dumbass, the bios password can EASILY be reset by taking the mobo battery out for 15-30 minutes or just taking the bios itself out. it isn't hard to do, the bios protection is zilch. nada. like, throw me a friggin bone here...

  20. Re:So what? by CharlesEGrant · · Score: 2, Informative

    While this exact bug may not apply to Windows 2000, there is a whole family of nearly identical attack schemes that apply to Windows 2000 (and LINUX and SOLARIS, and OS/2, and AS/400, and ...). For example were you aware that there are NTFS device drivers for MSDOS? Just pop a MSDOS boot floppy with this driver into your Windows 2000 box, and et voila, complete access to all the files on the hard disk.

    As so many have pointed out on this thread, you need to physically secure your machines, and if you have files that absolutely, positively must be kept confidenteial, you need to encrypt them.

  21. Old News by SLASHAttitude · · Score: 3, Informative

    Unless this can be done remotely this is very old news. Every NT/2k/.net admin worth his salt has known this since nt4 if not before. It is the something if you have a slack or gentoo cd and have local access to linux box. There is not much that can be done if you have local access. In my mind this is what is wrong with the security world today. A lot of people taking shit like this to far. This is not an exploit and should not be treated as such. You should note it and not let just anyone have physical access to your network.

  22. An OS -can- know it's phys sec was breeched... by ivi · · Score: 3, Informative


    As early as Compaq's Deskpro 4000, there was:

    - a software-controlled case-lock &
    - a case-opened sensor

    The box's firmware could be setup to use the
    sensed indications that the case had been opened
    (with or without use of the s-w-cont'd case-lock)

    By the way, has anybody got code that can access
    case-opened indicator and/or s-w-cont'd lock, eg
    for us in an Open Source OS?

    TIA

  23. Another way to 0wn a Windows box by Zog+The+Undeniable · · Score: 2, Informative
    There's a Linux-based boot floppy which purports to change any user's password (including Administrator) on any Windows NT/2000/XP box. I can report that it works perfectly on XP. if Administrator has been renamed, no problem: it picks up the account with a SID of 500 and suggests that might be the one you're after. All good clean fun. You can get the floppy disk image from here.

    I suppose the moral is to remove all floppy and CD drives from your corporate PCs. Disabling floppy boot in the BIOS will keep the haX0rs out for about 20 seconds, as this is how long it takes to flip open the case and short out JP1 to reset the BIOS password. If they have to bring their own floppy drive it slows them down a bit more, plus it's rather obvious.

    --
    When I am king, you will be first against the wall.
  24. This is why 2k rcons won't ask password on XP by Petroman · · Score: 2, Informative

    First, of course as long as there is physical access, there is always a way to get at the data. It may be difficult if encrypted etc but there is always a possibility. So for that reason that article was not a big thing, but nice to know anyway.

    So. This is how Recovery Console works:
    (goes for XP and 2k)

    When it starts, it tries to find your windows system.If it finds several (on different partitions for instance), you are promped to which one to log into.

    Then it tries to read the relevant registry files for the installation. This is the sam file for user accounts/password, and at least the software hive, which is where it's settings are stored, the settings in the security policy that tells if it should prompt for admin password and also if it should allow full access to the drive and floppies etc. More on that later.
    It also need the system hive to make use of the commands which allow changing the list of services to start at boot.

    But.. here's the point:

    If it can't read the registry (especially the sam file) because it's either corrupt or not there, it will simply go right ahead, since it can't verify any password. This is probably by design.

    Now, MS changed the registry file format between 2k and XP! Just a little, in XP they use "real" hashes for the key lookup tables, instead of just the first 4 letters of the name as in 2k.
    (it took me some time to find out this when making support for XP on the ntpasswd tool)
    Thus.. 2k recovery console (and 2k istelf for that matter) CANNOT READ THE XP REGISTRY at all! And it then falls back to no-password mode. You also cannot change service start parameters with 2k console on XP because of it being unable to read the registry, but NTFS is apparently compatible enough so you can read the files off the disk.

    MS has always had inadequate(sp?) recovery options in their OS, "reinstall" is the usual answer when things won't boot properly. I think the recovery console is pretty OK, not quite there yet, but it's better than nothing (like in NT4).
    And, yes, IMHO, using the physical access explanation when people pester them about getting to much access on the recovery tools is quite appropriate.