Boot password forget what to do? Introduction of several methods of password cracking

Source: Internet
Author: User

Whether you forget the password or malicious, it's easy to crack a windows that you don't know the password for. Here's a detailed tutorial, as well as how to avoid this kind of thing happening on your own computer.

There are several ways of breaking a computer, each with its own length. We have selected three popular methods and listed their pros and cons so that you can choose from the actual situation-and protect against their shortcomings.

The laziest way: Get a file with a Linux Live CD

If you don't want to get into the system and just want to get some files, there's no need to get into trouble, grab a Linux Live CD and handcuff the file to a USB flash drive. Just like you copy things with other systems.

Download any Linux distribution's live. iso file (like the popular Ubuntu) to burn a CD. Put it on the computer you want to enter and boot from the CD. Click "Try Ubuntu" When the first menu appears, and you'll be able to get into a desktop environment. With the menu bar places (location) menu, choose Windows Drive, you can go to any one of the NTFS partitions.

Note: Depending on the permissions of each file, you may need root permissions. If you are having problems browsing or copying certain files, open the terminal (Application > Attachment > Terminal, really silent), enter Gksudo Nautilus, the password is blank. So the permissions are there.

How to prevent?

This approach allows you to access the file system, but its biggest drawback is that those with ulterior motives still do not have access to encrypted files, even if the use of Gksudo is the same. So, if you encrypt the file (or encrypt the entire system directly), there is no problem.

Command line: Reset password with system repair Disk

If you need to crack the operating system, the Linux based repair Disk is a good choice. You need to do a little command line work, but just follow the instructions and it's OK.

How do you do it?

Download the system repair Disk to burn to CD. Start the computer from the CD and click the default option when the blue screen appears. After the system is loaded you enter a command-line interface and enter Fdisk-l to view the hard disk partitions. Locate the Windows partition (usually the largest NTFS partition) and remember his name, for example:. /dev/sda3.

Then enter the following command:

Ntfs-3g/dev/sda3/mnt/windows–o Force

Of course, you have to replace the/dev/sda3 in the command with the partition you just noted. Then, use the CD command to enter the Windows/system32/config directory:

Cd/mnt/windows/windows/system32/config

We need to modify the SAM file in this folder, so enter the following command to the user list:

Chntpw–l SAM

Note the username you want to enter, and enter the following command: (replace the Whitson Gordon in the command with the username you want to crack)

Chntpw–u "Whitson Gordon" SAM.

Then enter 1 to select the first option and return to confirm. This clears the user password. Enter Y when it asks if you want to write to the hive file, carriage return confirmation. Now it's done. Enter reboot restart your computer and enter windows so that you don't have to enter the password when you enter the user.

How to prevent?

As with the above, the disadvantage of this method is not to enter the encrypted file, modify the password will not allow you to enter the encrypted file (if the user encrypted the entire system?), so this method is useless. If you just encrypt some files, you can still get all the unencrypted files.

Brute force cracking: using ophcrack to crack passwords

The above two methods are not capable of dealing with encrypted files, so brute force can give you access to all files, because it is a code that is cracked rather than bypassed.

How do you do it?

Perhaps this method is not new, but the so-called "warm to know the new", again to review it. All you have to do is download and burn a ophcrack Live CD (using the Vista version if you cracked Windows 7). Then use the CD to start the computer (it may take some time). Finally you will enter a desktop environment and try to crack the password. It's going to be a while. Finally, if it finds the password, it will be displayed at the top of the window (or not found, and will also remind you). You can restart your computer and use this password to log in to your account.

How to prevent?

Although this method is used against the encryption system, it still cannot crack all the passwords. Using a complex password and a password longer than 14 characters will enhance your system. The higher the password strength, the lower the probability of ophcrack cracking.

In fact, in addition to encryption, few systems can withstand the first two methods of attack (can only hide the computer under the bed?). If you have any other way to bypass the code, you might as well share it with us?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.