Get me outta here!

Saturday 10 May 2014

Using Ophcrack to recover a forgotten windows password

Sometime we human beings can be a little weird. Yes, sometimes we 'forget' our very own passwords (which we use eveyday?). Or maybe we just wanna prove to our friends that we can hack and access their computer. Whichever your reason, here's how you can see or recover the admin password in a windows computer.

There are many ways and one of them is Ophcrack. You need to note though that occasionally a password won't be cracked, there will be problems running it (but are easy to fix), and it won't crack roaming passwords from a client.

Installing Ophcrack:

Step 1: Download

Go to Ophcrack's website and click on the "Download Ophcrack LiveCD" link.
Then go to the Tables section of Ophcrack's site and download the "Vista Free" table, and if you want, the "XP Free Fast" table, although this is optional. Any tables that don't have the word "free" in the title are paid tables.

Step 2: Installing to CD or DVD

If you want to install Ophcrack to a USB flash drive instead of a CD, then skip this step.
To install Ophcrack on a CD/DVD, you need to mount the .ISO image you downloaded in the previous step onto the disk. On some versions of Windows, when you double-click the downloaded file, the Windows Disk Image Burner will open. Just select the drive you want to burn to and click "Burn". If not, you can use other softawares such as nero etc.
If your operating system doesn't have a built-in .ISO burner, there are plenty available as freeware on the Internet. Just Google it and look at the reviews to choose the best one.
Now, unless you want to install Ophcrack to a USB drive or hard drive, skip ahead to Step 4.

Step 3: Installing to USB Flash Drive or Hard Drive

There are several ways of doing this, but I'm just going to cover the simplest (in my opinion).
The fist step is to download the Universal USB Installer from Pen Drive Linux. After it's downloaded, run it and agree to the license agreement. Because Ophcrack has been update more recently than the installer, you will need to select "Try Unlisted Linux ISO (New Syslinux)" in the first box. Next, browse to your file, select your USB drive letter and click "Create". The wizard should do the rest for you, with the occasional "OK".

Step 4: Adding Tables

To add the Vista tables, you must create a folder called "vista_free" in the Tables folder on your CD, DVD, or USB drive. Then extract the Vista free tables .zip file that you downloaded earlier into this. You can do the same with "XP_free_fast" and the corresponding tables.

Step 5: Using Ophcrack

To use Ophcrack, you should boot from your CD or USB drive from the BIOS menu. If all goes well, then Ophcrack should open after a short period of time, and you just click "Crack" to crack the password. However, there can be some problems, the most common being a "Tables not found" or "No tables found" error. To solve this, you open the Linux terminal in the applications menu and type the following (each line is a new line and spaces must be included as they are here):
su root
root
mkdir /mnt/usbkey
ls /mnt
mount /dev/sdb /mnt/usbkey
ls /mnt/usbkey
./launch.sh
Hopefully now, Ophcrack should start as intended and you have recovered your password. Comment for any questions.

0 comments: