Cracking PGP In the Cloud
pariax writes "So you wanna build your own massively distributed password cracking infrastructure? Electric Alchemy has published a writeup detailing their experiences cracking PGP ZIP archives using brute force computing power provided by Amazon EC2 and a distributed password cracker from Elcomsoft."
If only they'd thought of using distributed computing for the first post, instead of password cracking!
At least fold some proteins if you're going to do this. Or look for aliens.
Imagine a Beowulf cluster of those.
Yes obviously cracking passwords scales linearly, we've known that for a long time. Oh, you could get 100 machines brute forcing instead of one, but what good is that? Either the password is crap and you crack is easily, or it's helluva complex and scaling it up 100x won't do a damn thing. In this case it looks like they just picked some random range and said "Hey, this is unfeasible on a single machine and doable on a cloud, let's do that" but they haven't produced any credible evidence it is in this range. Not unless semi-complex password possibility matches their corporate password policy or whatever.
Live today, because you never know what tomorrow brings
They will want to be careful or else they just might get arrested.
So you wanna build your own massively distributed password cracking infrastructure?
No
They are only talking about "characters" in a password, which is a bit dubious. The important information is how many bits long the password provides. For a discussion on this see, for example: http://world.std.com/~reinhold/dicewarefaq.html#howlong For this reason and others, I'll take their "report" with a grain
One of the adversized features of ElcomSoft Distributed Password Recovery is that all network communications between password recovery clients and the server are securely encrypted. How is that possible, I wonder.
First of all, the article is a very nice summary of the issues involved with setting up a cloud to crack passwords - the nuts and bolts, if you will. I liked that the authors took the time to look into the economics of trying to crack passwords, how much money it would cost vs. how long it would take. Password cracking is one example of massively scalable computing, which is presumably why the NSA allegedly has had to keep upgrading the electrical infrastructure at their headquarters. Elcomsoft certainly made a splash with their PGP-cracking software and managing to harness the power of cheap GPU cards (which are set up for parallel processing) was a bit of genius. That said, even massive horsepower runs into a brick wall once the passphrases become long and the encryption algorithm is good.
On page 2 of the article, the authors nicely summarize the cost of cracking longer and longer passwords. Once passwords start incorporating special characters (per SPEC), the cost shoots sky high even for relatively short passwords (i.e. $10MM+ for a 9 character password, $1BN for a 10-character password, the US national debt for a 12-character password). The article so clearly lays out why the various law enforcement agencies have been focusing on being able to force folk to disclose their encryption keys. The cost of cracking a well-executed encryption scheme combined with a good password is simply too high. So, go ahead and use those special characters, upper and lowercase, etc. to make life interesting for would-be snoops. But realize that unless trends in privacy rights swing the other way, law enforcement will simply compel key disclosure, as they have for years in the UK, for example.
Lastly, the article underscores the value of keychain-type schemes that allow many long passphrases to be stored in a accessible format. Make it easy to have long, complex passphrases and it becomes more likely that people will actually use them.
People who would try to hack your password probably will not use Amazon's EC2, but something far more trivial, such as a botnet. Botnets are free, all you need is some time.
This is why I wouldn't think that 11-12 character bound has any meaning in practice. A more meaningful boundary is the one which can not possibly be cracked in reasonable time with a big computer network, regardless of the cost of operating it.
I use a composite password approach that gives a best balance between security and ease of use: use a good random generator for say 16 characters. Print it. This is not your password yet. You will come up with a few easy to remember, but hard to guess transforms, such as inserting several characters in a place only you know, using the printed sequence in a different order than linear left-to-right, and replacing all instances of printed "a" with "3" for example.
This ensures brute-forcing over the network will not be possible, as your password is truly random, and long. Finding the list would not lead to instant hack either as there's still reasonable information withheld from what's printed. You can also frequently change the "seed", the random characters you print, and apply the same rules you remember from before, to arrive at a completely new password, without having to remember anything new.
If you are cracking through the cloud, then you are also vulnerable, and someone can use your efforts to get into the system before you...
Cracked big time !!
http://www.theregister.co.uk/2009/11/03/karmic_koala_frustration/?malware
If you're lucky install fails. If not, you are a fucking zombie !!
Elcomsoft has been charged with conspiracy, aiding and abetting computer intrusion and wire fraud.
http://www.wired.com/threatlevel/2009/11/derengel/
What chore that they need to use Windows. For a brute force password guesser, most Slashdotters could write it in 10 lines of perl.
I have an idea : how about a self destructing key? There would be a physical USB key that would have your passphrases on it. The passphrases would be quite lengthy strings of randomly generated characters, effectively un-forcable unless there's a massive weakness in the encryption algorithm.
The key would have a small CPU and lithium ion battery. All the components would be potted in epoxy, and you would be able to put an outer shell around the key resembling a common brand of USB stick.
In order to use the key, you'd have to enter a small password to unlock it. If the key has not been used in roughly 2 weeks of real time, it erases the passphrase from itself.
So if you get arrested or compeled to give up your password, you just have to keep silent for a couple weeks. Then, it's gone!
Much more horse power and it don't cost you anything. Thank god for windoze lusers.
Eric, thanks for such a great post- I really enjoyed it, actually reading this
I have been really interested in this topic .
girl ugg
I looked at EC2 for raw processing power earlier this year (my company needs to train a lot of neural nets) and it just isn't worth it, unless you only need the power short term. A high-performance EC2 node gives you 8 cores running at (very roughly) the equivalent of a 2GHz P4, and costs $0.68/hr == about $460 per month, which is only a little less than what an equivalent box (probably a 2.83GHz Core 2 Quad or similar) would cost you. Put power to run that box down at about $0.05 per hour and you can build your own local cluster of equivalent performance for around the same amount of money as you'll save in your first month and a half of operation.
to download the with the number BSD fanatics? I'7e To this. For to stick something Join in especially ASSOCIATION OF Current core were everything else
A much less geeky/costly solution than using a GPS-integrated self-destruct mechanism is: ...have two passwords. One decrypts the data, the other erases it.
Actually, some ATMs have a similar ability: your PIN lets you access your bank account, while entering your PIN backwards does the same thing but calls the cops at the same time. If you're mugged at the ATM and forced to reveal your PIN, you give/use it backwards to notify police while the perp is busy emptying your savings.
Can we get a "-1 Wrong" moderation option?
Sounds like someone was doing 'Difficult Data Retrieval'
FTA, they mention that Amazon didn't allow them to create more than 9 instances, so they couldn't crack the passwords in less than 122 days. (a request to get suitable amounts of computing power was made, but takes time, is not enabled by default, and wasn't available at the time of writing?)
Dear Sir,Thank you for submitting your request to increase your Amazon EC2 limit. It is our intention to meet your needs. We will review your case and contact you within 3 - 5 business days.
what if we covered the moon with graphics cards?
i bet we could break any password then, huh guys
You take one of each letter, put it them in a bag, jiggle the bag and pull out a single tile. Drop the tile back in the bag and repeat.
You can even get 52 characters out of it: if your thumb covers the letter when you draw it out, capital. If it covers the blank side, lowercase.
Can you be Even More Awesome?!
base for FreeBSD
They never say that they actually found the password?
Or how long it took?
Are they still looking for it?
I read both pages and found no conclusion whatsoever.
There was a group called CyberLocator trying to do some authentication and geo/time stamping around GPS and a citadel model, though originally as an regional authentication scheme for online casinos, using raw GPS signal information and not calculated results, as part of the passphrase. They had some patents and stuff on it. Their authentication server had to have at least 3 of the same satellites in view to see the raw signal variances in the radio waves, which are apparently available on many but not all GPS chips. Because of time issues, it's substantially harder to fake your position information along with the regular secure passphrase transfer. I was able to track down one of the founders by following the casino related VC trail a few years ago when I was doing a project for work, but they probably went bust not long after and the patents got sold to the four winds. Good idea, I guess the marketing and associated costs weren't that hot.
There was a related thing called GeoCodex for doing location related encryption/geo-encryption, but that's either gone black or went bust. That too seemed to be a well executed idea, but things just didn't fall into place.