GPU Password Cracking
mytechencounters.wordpress.com
mytechencounters.wordpress.com
http://codahale.com/how-to-safely-store-a-password/
and note that "ihashgpu" works against salted passwords; salts do not prevent brute-force attacks.
NOT USING SALTS MAKES RAINBOW TABLE ATTACKS TRIVIAL.
Seat belts don't prevent cancer, but they sure as hell help in a car accident.
There is no secure password storage scheme that doesn't randomize.
What you are saying is morally equivalent to "if you want to use a preexisting block cipher that's fine, but don't confuse people about the need to use nonlinear substitutions". No, if you are designing your own s-boxes you are doomed. Use AES.
This isn't worth arguing about except that you strike me as one of these people that think they're doing it right because they add salts to their hashes. No, you aren't.
A Radeon 5770 apparently uses 108W[1] when fully loaded. Newegg's cheapest non-open-box Radeon 5770[2] costs about $120. The price is the same as a 3.0-3.2GHz Phenom 4-core, and the power usage falls right between them[3].
If he has one of these (or a similar Intel), it's roughly comparable. If he has a cheap or older CPU, the result is closer than it looks. If he has one of the high-end six-core CPUs, then it's an even larger gap.
[1]http://www.tomshardware.com/reviews/radeon-hd-5770,2446-15.h... [2]http://www.newegg.com/Product/ProductList.aspx?Submit=ENE... [3]http://www.newegg.com/Product/Product.aspx?Item=N82E16819103...
http://webcache.googleusercontent.com/search?q=cache:FSUbAiI...
For a more detailed comparison:
http://webcache.googleusercontent.com/search?q=cache:9FiOofD...
Note that a PS3 Cell processor falls somewhere between a CPU and a GPU:
It's ludicrous how much quicker we get results. I'm hoping to start compiling some statistics, as it's been in near-constant use since January.
Generally, we crack passwords to be able to try those credentials on more secured systems (thanks to the ubiquity of password reuse).
As to why so many, When doing network tests, there's some percentage of time when you manage to obtain a hash (it might be a small percent), but when you multiply that by the number of tests going on in a given week, it seems to have worked out that folks are lining up to use it.
While I agree that GPGPUs are ideally suited for this type of thing, I think a lot of the difference you're seeing comes down to the amount of skill and effort put into the NTLM cracking functionality by the authors for their respective products.
ighashgpu is a single-purpose tool, whereas C&A does many things. My impression is that C&A is mostly used with rainbow tables (supplied elsewhere), whereas the author of the GPU tool is set on being the best.
Last time I looked into it, my impression was that a modern CPU could probably be made to run no slower than 5-10x that of a modern GPU at this type of task. Faint praise, I know :-)
As OpenCL matures, I suspect we'll see code written which can be benchmarked on both. Exciting times!
While unethical (perhaps, to be debated) you could even create a startup in this arena just to do this.
I think this also means that one-factor authentication will soon be obsolete. Of course we can keep making passwords longer and more complex, but we all know its really the users that are the problem. People have shown time and time again that they will chose bad passwords, and to make matters worse, they will use the same password for every one of their logins.
Furthermore, this demo was done with a single card. Any attacker with knowledge and resources could easily link up a ton of graphics cards (or even use AWS GPU instances) giving them the ability to bruteforce most rememberable passwords. I can only imagine the scale of the massive GPU clusters that the NSA & other SIGINT focused intelligence agencies employ.
[1] - http://www.washingtonpost.com/wp-srv/photo/postphotos/orb/as... (look under latest tool versions)
Better user education (for want of a better word) is necessary as well―something as simple as adding the domain of the site in question to the password increases a user online identity by a significant amount.
With Moore's law (and quantum computers on the distant horizon), passwords will get ever-easier to crack―the next logical step are keys and certificates.
Edit: And remember that NTLM hashes are just Unicode strings that are MD4'ed. They are not much better than LANMAN hashes.
Edit: I forgot to mention that I have C++ code that will turn an ASCII string into its NTLM hash here: https://github.com/16s/NT_Hashes
Not to mention that a cracker always would have to computed for all possible characters (alphanumeric plus symbols) because there is no way of knowing ahead of time what character set the person used.
One through four brute force is extremely trivial. A single core CPU will do all those in less than a minute. Five (all combinations... the entire space) in less than an hour.
Modern GPUs can enumerate the entire six char space within a day or so. Some GPUs can enumerate the seven char space in a few days. Complete enumeration begins to get infeasible when you get into the eight char space. This is basically why CPUs are still viable. Speed won't get you nearly as far as intelligence will (append stuff onto the end of words). Nothing against speed here and if it was a pure enumeration race, then no doubt, go with GPUs.
Edit: When I say "entire space" I mean the entire printable ASCII character set.
Edit2: It's rather simple to calculate too. 95 printable ASCII chars to the power of the password length. So, to enumerate the four char space, it's 95^4 (81,450,625). You can "do the math" for any lenght password. But you'll see that when you hit eight chars (6,634,204,312,890,625) that even GPUs (which can do billions of hashes a second) have to be smart and not just fast.
他们不了知道
3000 ** 6 = 729,000,000,000,000,000,000
I guess unicode between the client and backend isn't consistant enough yet. Maybe in 10 years or so. ta men bu le zhi dao
Although, you'd have to visually select characters after typing pinyin, so it would be useless if someone looked over your shoulder.