Backtrack 5 Password Cracking Guide

Posted on
Backtrack 5 Password Cracking Guide Average ratng: 3,7/5 5381 reviews
  1. Password Cracking Definition
  2. Social Engineering
  3. Password Cracking Attacks

Welcome back, my neophyte hackers! I have already done a few tutorials on password cracking, including ones for and, and, and even online passwords using. Now, I thought it might be worthwhile to begin in general. Password cracking is both an art and a science, and I hope to show you the many ways and subtleties involved. We will start with the basic principles of password cracking that are essential to ALL password cracking techniques, followed by some of the tools and technologies used. Then, one by one, I will show you how to use those principles and technologies effectively to crack or capture the various types of passwords out there. The Importance & Methods of Password Cracking Passwords are the most widely used form of authentication throughout the world.

A username and password are used on computer systems, bank accounts, ATMs, and more. The ability to crack passwords is an essential skill to both the hacker and the, the latter needing to hack passwords for accessing the suspect's system, hard drive, email account, etc. Although some passwords are very easy to crack, some are very difficult. In those cases, the hacker or forensic investigator can either employ greater computing resources (a botnet, supercomputer, GPU, ASIC, etc.), or they can look to obtain the password in other ways. These ways might include insecure storage. In addition, sometimes you don't need a password to access password-protected resources. For instance, if you can replay a cookie, session ID, a Kerberos ticket, an authenticated session, or other resource that authenticates the user after the password authentication process, you can access the password protected resource without ever knowing the password.

Sometimes these attacks can be much easier than cracking a complex and long password. I will do a tutorial on various replay attacks in the near future (look out specifically for my upcoming article on stealing the Facebook cookie to access someone's Facebook account). Now, let's start with the basics. Step 1: Password Storage In general, passwords are not stored in clear text. As a rule, passwords are stored as hashes. Hashes are one-way encryption that are unique for a given input.

These systems very often use MD5 or SHA1 to hash the passwords. In the Windows operating system, passwords on the local system are stored in the SAM file, while Linux stores them in the /etc/shadow file. These files are accessible only by someone with root/sysadmin privileges. In both cases, you can use a service or file that has root/sysadmin privileges to grab the password file (e.g. DLL injection with samdump.dll in Windows). Step 2: Types of Attacks Dictionary A dictionary attack is the simplest and fastest password cracking attack.

Cracking

To put it simply, it just runs through a dictionary of words trying each one of them to see if they work. Although such an approach would seem impractical to do manually, computers can do this very fast and run through millions of words in a few hours. This should usually be your first approach to attacking any password, and in some cases, it can prove successful in mere minutes. Rainbow Table Most modern systems now store passwords in a hash. This means that even if you can get to the area or file that stores the password, what you get is an encrypted password. One approach to cracking this encryption is to take dictionary file and hash each word and compare it to the hashed password. This is very time- and CPU-intensive.

Password Cracking Definition

A faster approach is to take a table with all the words in the dictionary already hashed and compare the hash from the password file to your list of hashes. If there is a match, you now know the password. Brute Force Brute force is the most time consuming approach to password cracking.

It should always be your last resort. Brute force password cracking attempts all possibilities of all the letters, number, special characters that might be combined for a password and attempts them. As you might expect, the more computing horsepower you have, the more successful you will be with this approach. Hybrid A hybrid password attack is one that uses a combination of dictionary words with special characters, numbers, etc. Often these hybrid attacks use a combination of dictionary words with numbers appending and prepending them, and replacing letters with numbers and special characters.

For instance, a dictionary attack would look for the word 'password', but a hybrid attack might look for 'p@$$w0rd123'. Step 3: Commonly Used Passwords As much as we think each of us is unique, we do show some common patterns of behavior within our species. One of those patterns is the words we choose for passwords. There are number of wordlists that have been compiled of common passwords. In recent years, many systems have been cracked and passwords captured from millions of users. By using these already captured passwords, you are likely to find at least a few on the network you are trying to hack.

Step 4: Password Cracking Strategy Many newbies, when they start cracking passwords, simply choose a tool and word list and then turn them loose. They are often disappointed with the results.

Expert password crackers have a strategy. They don't expect to be able to crack every password, but with a well-developed strategy, they can crack most passwords in a very short amount of time. The key to develop a successful strategy of password cracking is to use multiple iterations, going after the easiest passwords with the first iteration to the most difficult passwords using different techniques for each iteration.

Social Engineering

Step 5: Password Cracking Software John is probably the world's best known password cracking tool. It is strictly command line and strictly for Linux. Service manual free download. Its lack of a GUI makes a bit more challenging to use, but it is also why it is such a fast password cracker. One of the beauties of this tool is its built in default password cracking strategy. First, attempts a dictionary attack and if that fails, it then attempts to use combined dictionary words, then tries a hybrid attack of dictionary words with special characters and numbers and only if all those fail will it resort to a brute force.

Password Cracking Attacks

Ophcrack Ophcrack is a free rainbow table-based password cracking tool for Windows. It is among the most popular Windows password cracking tools (Cain and Abel is probably the most popular; see below), but can also be used on Linux and Mac systems. Cain and Abel can crack passwords using a dictionary attack, rainbow attack, and brute force. One of its better features is the ability to select the password length and character set when attempting a brute force attack. And besides being an excellent password cracking tool, it is also a great and tool. THC-Hydra is probably the most widely used online hacking tool. It is capable of cracking web form authentication, and when used in conjunction with other tools such as Tamper Data, it can be a powerful and effective tool for cracking nearly every type of online password authentication mechanism.

It is only available for Linux and requires a bit of a learning curve to master, but you will be richly rewarded for the time spent learning it. In addition, to be most effective you will need to use, so check their extensive list before buying your card. You can find more info on aircrack-ng over in.

Aircrack-ng is built into and and can be downloaded. Step 6: Password Cracking Hardware Botnet Password cracking is simply a function of brute force computing power. What one machine can do in one hour, two machines can do in a half hour.

This same principle applies to using a network machines. Imagine what you can do if you could access a network of one million machines! Some of the botnets available around the globe are more than a million machines strong and are available for rent to crack passwords. If you have a password that might take one year to crack with your single CPU, a million-machine botnet can cut that time to approximately 1 millionth the time, or 30 seconds! GPU GPUs, or graphical processing units, are much more powerful and faster than CPU for rendering graphics on your computer and for cracking passwords.

We have a few tools built into Kali that are specially designed for using GPUs to crack passwords, namely cudahashcat, oclhashcat, and pyrit. Look for coming tutorials on using these tools and the GPU on your high-end video card to accelerate your password cracking.

ASIC In recent years, some devices have been developed specifically for hardware cracking. These application-specific devices can crack passwords faster than over 100 CPUs working symmetrically.

Master OTW, I just made an account on null-byte but i've been following your posts and tutorials for a while now. I must say they are excellent and i'm learning a lot! One thing i've been struggling with is to install the NVIDIA driver for my gt540m(oldie) so that i can use programs like pyrit and cudahashcat.