Welcome Guest. | Log In | Register | Membership Benefits

Cloud-Based Crypto-Cracking Tool To Be Unleashed At Black Hat DC

European researcher will share new 'Cloud Cracking Suite' that leverages GPU processing power in Amazon EC2 cloud to decrypt passwords, break into wireless networks

Jan 10, 2011 | 05:17 PM | 

By Kelly Jackson Higgins
Dark Reading
A European researcher will release an open-source tool at Black Hat DC that uses Amazon's powerful GPU processing services to crack SHA1-based passwords at breakneck speeds.

Thomas Roth, a researcher and consultant for Lanworks AG, last fall revealed how he was able to crack SHA1 encryption using Amazon EC2's newest cloud computing service-for-hire that uses Graphics Processing Units (GPU) processors, which typically are used to execute calculations for graphics-intensive applications.

Roth for the first time will release his so-called Cloud Cracking Suite (CCS) tool at next week's gathering. He says he was able to successfully crack 400,000 passwords per second using eight Amazon Nvidia GPU instances, and 45,000 to 50,000 passwords per second with just one GPU instance, he says.

"GPUs have a very parallel architecture with a lot of cores that makes parallel execution of many threads at once possible. And as brute-forcing/dictionary attacks are very straightforward to distribute, GPUs are perfectly suited for doing such jobs," Roth says.

By contrast, two high-end Intel X5570 Quad-Core CPUs can crack about 7,000 passwords per second, he says.

The catch, however, is that the passwords most at risk of this cloud-based hack are easily guessed, such as ones with all letters, all digits, or all same-case letters. Strong passwords, which use a mix of letters in mixed cases, numbers, and symbols, are relatively safe from this type of cloud attack, Roth says. "This demonstrates how fast easy passwords can be broken using modern technology ... If you're using only lowercase letters or just numbers, it's very easy and fast to crack your passwords," he says. "If you are using numbers and lower- and uppercase letters, it gets really hard. You can eventually crack them, but it takes a very long time. Brute-forcing is slow."

Roth says he used his CCS tool to break into (with permission) a neighbor's WPA-PSK wireless network via a password dictionary attack. "I was also able to brute-force the key of my new wireless router, which had a numeric digits-only password per default," Roth says. The tool can also be used to crack MD5-encrypted passwords, he says.

The CCS tool isn't the first cloud-based password-cracker, however. Researcher Moxie Marlinspike last year created the WPACracker service that tests the strength of passwords used in the encryption of wireless access points. Marlinspike says wpacracker.com already uses some GPUs in its processor cluster.

"So what's new [here] is that Amazon EC2 is now providing GPGPU instances, which can make these resources more accessible to people who don't want to maintain a machine with some Nvidia cards in it or who only occasionally have a job they'd like to run," Marlinspike says. "The unfortunate thing is that Amazon is only providing GPUs in their high-performance computing [HPC] instances. Most people who are doing HPC don't have problems that are as trivially 'parallelizable' as password-cracking, so they need 10-Gbps, full-bisection network connections between instances. This makes the GPU instances that Amazon is providing very expensive, at a whopping $2.10 an hour. Compare this against the 6 cents per hour for a high-CPU instance with five EC2 compute units in it."

So it's still cheaper to use CPUs to crack hashes with Amazon's EC2 service, he says, even though a GPU has faster performance. Marlinspike says his take on the research is based on what Roth has published thus far.

Roth, however, says he will publish new benchmarks next week that show that using GPUs is actually cheaper than using CPUs.

Meanwhile, continuing to use hash algorithms like SHA1 for storing passwords is risky, Roth says. "At first glance it seems to be pretty straightforward to use hash algorithms for storing passwords, as they are nonreversible. But the problem is that they are made to be very fast, as they are used to verify large pieces of data, which makes brute-forcing of them actually possible," he says.

A better option would be an algorithm like PBKDF2, which is actually slower and thus more protected from brute-force attacks, he says.

A spokesperson for Amazon Web services says Roth's research basically uses EC2 as a tool to demonstrate how network security can be improved. "Nothing in this researcher's work is predicated on the use of Amazon EC2. As researchers often do, he used EC2 as a tool to show how the security of some network configurations can be improved. Testing is an excellent use of AWS; however, it is a violation of our acceptable use policy to use our services to compromise the security of a network without authorization," the spokesperson said.

Using the CCS tool requires an EC2 subscription and incurs Amazon's cloud costs. The client side of the tool lets you configure and start up the encryption-cracking session. The CCS server tool runs on CentOS and is packaged in an Amazon machine image and handles the password-cracking.

"SHA1 was not made for storing passwords," he says. "I want people who are vulnerable using SHA1 for storing passwords to realize it's possible to boot up instances in the cloud, pay a few dollars per hour, and try to crack those."

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.



Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dark Reading encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dark Reading moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing/SPAM. Dark Reading further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.
Subscribe to RSS



Authentication Reports

report What's Next for Certificate Technology
A recent rash of certificate authority breaches has left a bad taste in many people's mouths. There is no one reason for the breaches. The compromises were the result of a breakdown in people, processes and technology, but not necessarily the certificates themselves. We take a look at what?s wrong with certificate technology, what can be done to fix it, and what's down the road for certificates and CAs.

report Will Smartcards Live Up to Their Name?
Recent compromises of smartcard data have exacerbated concerns about the technology?s privacy, security and standards (or lack thereof). Yet the promise of smartcards is too compelling to ignore. New technologies and applications prompt us to take a fresh look.

report Get The Best Of Biometrics
As data volume and sensitivity grow, companies cannot rely on password- and token-based authentication. Biometrics can be used to provide strong access control, but you must weigh added complexity and costs against assurance that users are who they say they are.

Other reports from the Authentication Tech Center:




Featured Webcasts
Featured Whitepapers
Featured Reports