Discussion Locked

Ed Bott's Microsoft Challenge--March 16,

0 helpful
43 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
It's every administrator's nightmare. You've just taken over a new job after the previous administrator left unexpectedly, and none of the surviving IT staffers know the password for a key Windows 2000 server. What alternatives do you have? I'm interested in third-party tools as well as functions built in to the operating system. I'll pass out a total of 1,000 TechPoints for the best solutions. If you can help, click here to tackle this week's Microsoft Challenge. Don?t delay, though. I?ll accept answers only until Thursday, March 23.

43 replies

by wired_777

l0pht.com has a password cracking utility for windowsNT, that can crack most passwords using a dictionary, or hybrid brute force/ dictionary search 90% of the time in under 48 hours on a pentiumII 300.

by lemasney

How about the su.exe [appropriately named] utility that is included with the beta evaluation tools for win2k? Although I haven't tried it, it's described as though it could get you in enough to play around as an arbitrary user and then use one of the 64k bugs to sploit. :]

by moflic

You can't.
Brute force can take months to complete if that guy that left was a real administrator and put on a real password.
The answer above leads to a page that says 2000 support is broken.
Maybe next year....

by egil.danielsen

I have to agrre with j2k@twcny.rr.com Proposed answer 5.
With a null modem cable and a laptop it's possible to change the Administrators password with this tool. I have used it severel times and it does the job quick and easy.

by msullivan

I will assume that this is a member server and not a DC. If it were a DC you should contact your previous employer and find out if they have filled your job yet. Additionally, I will assume that the administrator account is the ONLY administrator on the box (otherwise,the first thing I would try is a test of cached passwords to see if they still exist on win2k).
The rest of these suggestions should be followed by "But I havn't Tried it yet!"
Win2k has a new file called SAM.sav in the system32\config directory. That may be helpfull for rolling back the SAM. Hmmm...There is also a SAM.log file, I wonder what that does?
My next step would be to try replacing the SAM hive with a known quantity using a dual boot scenario. (always make a backup...yada yada yada)
While all of this is going on, I would be surfing the web to find a cracking tool that will work against the win2k SAM.

Good Luck
Mike Sullivan

by tony k

Okay, most of the answers above won't work. The bootdisk mentioned works fine for NT4, But, the first line on it's webpage is that W2K support is broken. It also won't work on a server with a stripe set. Besides, it's a server, you don't reboot servers (at least, I never do).

Su won't work, because you'll need the admin password. There aren't 64K bugs, just poor reporting and lies.

Locksmith also doesn't work on machines with versions higher than SP4.

L0pht won't work, either, it relies on NT4's failings. It also won't work if you don't have a password that's in a dictionary.

But, there is ONE vulnerability in 2000 that existed in NT4, and can be done while the server's online:

Go into %systemroot%\system32.
Ren logon.scr to logon.old
Copy cmd.exe to logon.scr
Logoff, and wait for the "screensaver" (you'll get a command prompt).
Under NT4, run musrmgr, under 2000, run mmc.
You'll need to add user/group support to the MMC, you can then change any password you want.

Easy fix for

by curious_george

Both ERD PRO and the Linux Pwd changer boot disk will boot to command line and ignore NTFS security. Then you can access the SAM database directly and create a new pwd. You can't see the old password but you can create a new one for the local admin.

by Member 22201267

Not knowing how many servers total but assuming there is backup for this locked one;do a forced shutdown so backup server kicks in or load is balanced through network fault-tolorence,remove harddrive, insert in clean machine with no memory of a password,boot-up with machine in backup role,choose new password,then promote.

by amnezia

Seem to remember a note from Jeff Davis about this. Something to do with installing W2K into a second folder - at the time of the first installation. Should this situation occur, use a boot disk to access the second copy of W2K, use the admin login (BLANK) to get access, then .....

But I guess this's no use in your situation ...

by fpling

The solution as posted at http://home.eunet.no/~pnordahl/ntpasswd/bootdisk.html will work. But some work need to be done to turn off the syskey. Use the chntpw utility to edit the system registry. Then you can nullify the admin password, or whoever password you wish to nullify. True, that it will create weirdos to the SAM file. However, it will only affect the user passwords database. I think this tool is the best!

by nancy.shelton

Install Windows 2000 server on another harddrive; create an Administrator USER ID and password. Slave the second harddrive on the server. Change the password for the other Administrator ID.

by tony k

Okay, I'm sorry, but now I see why NT Admins have the rep they do....the problem calls for hacking a Windows **2000** server, not an **NT4** server. You need to read the problem, and provide a solution that will work for the problem in front of you.

L0pht won't work. Locksmith won't work. The Linux boot floppy won't work. They only work on NT4, and ONLY if the previous admin was lax on security. (Well, the boot floppy would work on a syskeyed system if you want to go manually reset every users PW...)

If you're going to post a solution, at least take the 2-3 minutes it takes to TEST to see if it will actually work.

by c_hall

Don't know if it will work for a Win2k server, but when I was at Raytheon, a co-worker of mine had a Linux utility that booted the machine to Linux at power-up. After the machine booted, you were greeted with "Change your NT password?" The disk was, of course, used only in emergencies most dire... He claimed to have found it on the web.

by c_hall

Don't know if it will work for a Win2k server, but when I was at Raytheon, a co-worker of mine had a Linux utility that booted the machine to Linux at power-up. After the machine booted, you were greeted with "Change your NT password?" The disk was, of course, used only in emergencies most dire... He claimed to have found it on the web.

by rhenderson

Install a second occurance of Windows 2000 Server, sign on as administrator and change the previous installations administrators password. Reboot to the original installation and delete the second install.

by johnnyextreme

In order to test the effectiveness of our password policy I used a shareware application called L0phtcrack 2.5 which I downloaded from http://www.L0pht.com (that's a zero, not an o). This utility takes the password hashes directly from the registryof the computer it's installed on, or remotely from any server the user has administrative rights on, and runs a brute force hack on it to discover the passwords. On one complicated password (11 characters and alphanumeric) it took 15 hours, but itdid finally display the entire password. The program figured out the last 3 characters almost immediately, which might help "surviving" IT staffers figure out the rest of it.

This discussion is closed to new replies.