Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
Security IT

Amazon EC2 Enables Cheap Brute-Force Attacks 212

snydeq writes "German white-hat hacker Thomas Roth claims he can crack WPA-PSK-protected networks in six minutes using Amazon EC2 compute power — an attack that would cost him $1.68. The key? Amazon's new cluster GPU instances. 'GPUs are (depending on the algorithm and the implementation) some hundred times faster compared to standard quad-core CPUs when it comes to brute forcing SHA-1 and MD,' Roth explained. GPU-assisted servers were previously available only in supercomputers and not to the public at large, according to Roth; that's changed with EC2. Among the questions Roth's research raises is, what role should Amazon and other public-cloud service providers play in preventing customers from using their services to commit crimes?"
This discussion has been archived. No new comments can be posted.

Amazon EC2 Enables Cheap Brute-Force Attacks

Comments Filter:
  • by Anonymous Coward on Thursday January 13, 2011 @06:32PM (#34869306)

    This link has the actual test http://stacksmashing.net/2010/11/15/cracking-in-the-cloud-amazons-new-ec2-gpu-instances/

    Which looks like a single dual fermi EC2 instance gets 250M hashes/sec which is crazy. So assuming you have a 100 instance cluster of them:
    40 bits of random : 43 s (~ 8 chars)
    45 bits of random: 23 mins (~9 chars)
    50 bits of random: 12 hours (~10 chars)
    64 bits of random: 23 years (~13 chars)

    Better start using pwgen 14 for your passwords.. For WPA-PSK I actually use this:

    $ python
    >>> import base64
    >>> base64.encodestring(file("/dev/urandom").read(128/8));
    'HZE6Ka6GeO3OT23ay2G0Ww==\n'

    Which isn't going to be reversed without breaking sha1.

  • Re:That's silly. (Score:2, Interesting)

    by Anonymous Coward on Thursday January 13, 2011 @06:35PM (#34869354)

    This would be like Ford giving road-side assistance during a heist.

    No, it's like Jared Loughner taking a taxi to the site of his shooting spree:

    http://www.nytimes.com/2011/01/11/us/11taxi.html?partner=rss&emc=rss [nytimes.com]

    The taxi driver is just providing his usual service at his usual price and has no indication that a crime is going to be committed.

    Similarly, Amazon knows you're doing a lot of heavy computation, but that is one of the reasons someone would use Amazon EC2.

  • by igb ( 28052 ) on Thursday January 13, 2011 @06:45PM (#34869480)
    The basic story is slightly hysterical. Firstly, WPA2 does use a multiple-iteration key derivation function. Secondly, even with the claimed performance, he can only "brute force" five or six characters, depending on the character set in use. It's enough performance to deal with dictionary words, because, indeed, it's a dictionary attack. But even at 400K password derivations per second (ie 400M SHA-1 hashes per second), eight random characters drawn from the 96 character printable ASCII repertoire are going to take 571 years to perform a brute force attack on, or an average time to success of 285 years. Don't like the odds? My home network uses 12 characters drawn from a 64 character set (ie base 64 encoding), which needs 374 million years (average 167 million) at that performance. Do I give a shit if that number gets reduced by a few orders of magnitude? Not really: I can always move to 15 characters...
  • Re:Why use EC2? (Score:5, Interesting)

    by volsung ( 378 ) <stan@mtrr.org> on Thursday January 13, 2011 @06:51PM (#34869606)
    The assertion that high end Tesla cards (often $2k) are required for this crack is nonsense. In terms of integer, single precision floating point and memory bandwidth, a GTX 580 is actually FASTER than the most expensive Tesla card. Tesla cards have better QA for 24/7 usage, 4x faster double precision floating point, and 3 or 6 GB of memory, plus some other occasionally useful features. But anyone with an NVIDIA SLI gaming rig built in the last 2 years could easily have done what this guy did in less than 20 minutes.

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...