Posts

Showing posts with the label john the ripper

Optimizing JtR's Single Mode Follow Up

Image
Over at the John the Ripper mailing list , (I'm sure you already belong to it right?!), SolarDesigner, the creator of JtR, raised the following question about the re-ordered Single Mode rule-set I released last night. It is not clear whether you have full (or any) separation between your training and test sets when you re-order the rules. (You do say that you have such separation for your "UnLock" test, but that's another one.) In other words, the improvement from "Original Single Rules" to "Edited Single Version 2" that you've demonstrated might be partially attributable to you training (re-ordering) the rules on the same set that you later test them on. It's a valid question and it's something I've worried about myself. Referring back to my original post : For the target set, the RockYou list seemed like an obvious choice. I actually used a subset of the RockYou list of one million passwords I designated for training purposes, (t...

Analysis of 10k Hotmail Passwords Part 6: Markov Model Showdown 2 - The Rematch

Image
I know, soon my titles will get so long I won't be able to fit them into a Twitter post. It was all I could do to leave off a tagline such as "Revenge of the Incremental Mode." I just received an e-mail from SolarDesigner, the creator of John the Ripper, who promptly set me straight on a few points about how the incremental attack works. I'm going to break down the e-mail into two parts. The first part is as follows: Matt, In your very interesting blog post at: http://reusablesec.blogspot.com/2009/11/analysis-of-10k-hotmail-passwords-part.html you made some incorrect statements/guesses about the incremental mode: "Unfortunatly it doesn't take into account the previous trigraphs that appeared before it," Not true. "(except when calculating the overall probability)." No idea what you mean here. "For example, if the first trigraph is "auq", the next trigraph's probability isn't increased if it starts with a 'u',...

A Quick Preview

Image
There's been a bunch of requests about this, so I thought I'd post a couple of screenshots of something I've been working on over the holiday break.

Analysis of 10k Hotmail Passwords Part 5: Markov Model Showdown

Image
Don't worry; I'm still not done with this data-set. A little over a week ago I received an e-mail from Ilya Sokolov, saying: If I'm getting the numbers right from your graphs - you've got around 3k hashes bruteforced in about 1G guesses. Assuming you used --incremental mode of John, right? I guess you should try --markov too :) How right he is. Ilya went on to send some statistics my way, so I truly do appreciate e-mails like this. Before I talk about the results, first let me back up and spend a little time talking about the incremental and markov modes in John the Ripper. Aren't they both Markov based attacks? -- Ed Note: The following description of how the incremental attack works has been updated since I was incorrect about how JtR used trigraphs. A copy of the original incorrect description can be found in the comments. Well surprisingly yes they are, though they go about it in different ways. The --incremental option actually models the probability of trigra...

Installing John the Ripper Version 1.7.3.4 Tutorial

I just upgraded to the newest version of John the Ripper so I decided to make a tutorial out of my experience, (with screen-shots), since it was a fairly time consuming ordeal. It's mostly focused on installing John the Ripper on a Mac OSX Snow Leopard, but you should be able to use most of it when installing it to various flavors of Linux as well. Besides going over the base install, I also tried to cover: Which patches to install, where to find them, and how to apply them Picking the right build options Modifying the Makefile so it actually will install on Snow Leopard Modifying the code so you can use incremental attacks against passwords longer than eight characters long You can find it on my tools page , or by clicking on this link .