John the Ripper is probably the fastest, most versatile, and definitely one of the most popular password crackers available. It supports six different password hashing schemes that cover various flavors of Unix and the Windows LANMan hashes also known as NTLM ( used by NT, 2000, and XP ). It can use specialized wordlists or password rules based on character type and placement. |
I got profuse Emails from my blog readers requesting me to record an article on how to use john the ripper, But in truth qualified are may hunky-dory tuts on the snare on this subject. Inasmuch as i taught instead of writing i can share one comparable article The following article is written by Renegade
John The Ripper Tutorial
I wrote this tutorial as crowing I could to shot to disclose to the newbie how to operate JTR. Master, this is a newbie tutorial, ergo I wont go into detail keep secret all of the individualism. JTR is a program that decrypts Unix passwords using DES ( Data Encryption Standard ).
The Process Step 1: Download John The Ripper By Hackerstips.tk Step 2: Extract JTR. Command windows use winzip. Prominence unix type macadamize - xzf john - 1. 6. concrete. gz
Step 3: Significance windows ajar the command prompt. Birr to the Origin chuck, drift Tear, type ' command ' ( no quotes ) and press enter. You obscure me? Satisfactory. Snap to whatever directory to keep JTR force. Type ' john ' and press enter. A full guide of options will come up: John the Ripper Adventure 1. 6 Copyright ( c ) 1996 - 98 by Solar Designer Usage: / WINDOWS / DESKTOP / JTR / JOHN - 16 / Dart / john [OPTIONS] [PASSWORD - FILES] You wont use most of these options. Effect fact, you don ' t absolutely demand department of these options. You can cleverly type ' john [filename] '. The filename commitment include the. txt extension. This is the regular crack. It will use bruteforce to decrypt all of the passwords in the file. If you ' re an impatient ass you can use a word list. This is not as effective but it ' s quicker ( more on that later ). How to make a crackable file: Let ' s say that for some reason you have a DES encrypted password but no file. If you want to crack it ( why else would you be here? ) you need to make your own file. Just create a text file and paste in the password. Now put a username ( just any old name will do ) in front of it with a colon separating the two. It should look something like this: User: gyuJo098KkLy9 Save the file as crackme. txt ( just an example ) and go to the prompt and type ' john crackme. txt ' ( no quotes obviously ). Now you just have to wait. Options Here are a list of the options and what they do. single: Single crack mode. This is only recommended for weak passwords as it includes only a few rules and a small wordlist.
wordfile: Uses a wordlist ( basically a dictionary attack ). What this does is tries every word in the list until it finds a match or you reach the end of the list. This is quicker than the default ( bruteforce ) attack, but I don ' t recommend this because it doesn ' t always find a match. More notes on wordlists below. Usage: john - wordfile: password. lst crackme. txt rules: Lets you define the rules for using wordlists. I don ' t use wordlists, so if you want to use this option I wont help you. Ok, ok, I ' m just lazy. Shoot me. incremental: I like this method. It allows you to do a brute force attack
external: This is a little complicated, so if you are lame don ' t mess with it. Basically this calls the options that are defined in the configuration settings. You can change these yourself, but I wouldn ' t recommend it unless you know what you ' re doing. No, I wont tell you how, go away.
restore: Ok, let ' s say that you need to stop the crack in the middle. Press crtl + break. A file will be created in the JTR directory named ' restore ' ( no quotes doofus, and yes, no file extentionfilename. session: Use this if you know that you will have to stop JTR in the middle of a crack. It allows you to create a new file that holds the data of your session. You can then restore your session later.
status: Shows how far you got before stoping a crack ( provided you used the - session option ). show: Shows how many passwords have been cracked in a file and how many are left.
test: Shows how fast JTR will work on your computer. users: Cracks the password only for the user or users you tell it to. groups: Cracks the passwords only for the group or groups you tell it to. shells: Cracks the passwords only for the shell or shells you tell it to. salts: Cracks the salts that have at least the number of passwords you specify. format: JTR can decrypt many from many different formats, not just DES ( but this is the most widely used one ). Use this to force JTR to try a certain format. savemem: this tells JTR to automatically save your process at whatever How to use a wordlist with JTR: I ' ll assume you already have a wordlist in the JTR directory ( it comes with password. lst, if you want to make your own I ' ll tell you how later ). Go to the prompt and type ' john - wordfile: password. lst crackme. txt ' ( no quotes, damnit ). If the password is in the wordlist, it will work. Otherwise, you deserve it for using a wordlist when you have bruteforce capabilities, shame on you. How to create a wordlist to use with JTR: First I will include a few lines of the wordlist supplied with JTR: The top line is a comment ( duh ). If you want to make a comment in your wordlist just follow the example. The other lines are passwords that the program will try when you use the wordlist. Put each password on a new line. In the event that you are too lazy to write your own wordlist you can download one ( once again, I ' m far too lazy to give you a link ). It may or may not already be the right file format (. lst ). If it isn ' t, just go to the prompt. Assuming the filename is lazy. txt, type ' rename lazy. txt lazy. lst ' Piping Output: Remember the - show option? You can get JTR to save that There ' s my guide. I have an FAQ below: Q: Can I mix options? Q: What does " Loaded 0 passwords " mean? Q: What does " Password files required, but none specified " mean? Q: What does " Unknown cypher text format name requested " mean? Q: How come when I typed ' john - users: login | uid crackme. txt ' ( which by the way is the usage shown in the list of option by JTR ) I received this error: Q: Can I speed up the bruteforce? ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,Enjoy This Great Hacking Tutorial,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |