Hacker uses cloud computing to crack passwords

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

About this blog

ZD Staff

Mapping Babel

From datacentres down to USB keys, if it involves storage, I'll be looking at it.

A German hacker claims to have used cloud computing to crack passwords stored in an algorithm that was developed by the NSA.

Hacker Thomas Roth announced on Tuesday that he has used one of Amazon Web Service's Cluster GPU Instances to crack the passwords encrypted in a Secure Hashing Algorithm (SHA1) hash.

"I think that cloud cracking can be useful in the future because of its massive parallel nature. You can start a 100 node cracking cluster with just a few clicks," Roth told ZDNet UK on Tuesday.

"GPUs are known to be the best hardware accelerator for cracking passwords, so I decided to give it a try: How fast can this instance type be used to crack SHA1 hashes? Using the [Cuda-Multiforcer], I was able to crack all hashes from [the 560 character SHA1 hash] with a password length from one to six in only 49 minutes (one hour costs $2.10 [£1.30] by the way)," Roth wrote on his blog.

A SHA1 hash is an encryption algorithm. SHA1 is vulnerable to a brute-force attack, which is the same technique as the Multiforcer that Roth employed. This is a technique where computers are used to repeatedly attempt to crack a password by successively trying varying combinations of numbers and digits.

The Cluster GPU Instance is built around two Nvidia Tesla Fermi-architecture GPUs. Tesla uses Cuda, an Nvidia-developed software interfacing architecture that allows code to be written for the Tesla GPU that ekes out maximum performance from the underlying hardware. Roth used a Cuda-specific script to increase the effectiveness of his hack, he wrote.

Roth told ZDNet UK that to be suitable for computation on Cuda, tasks must be able to be broken down into many smaller tasks that do not need to share data with each other and can run in parallel.

Since 2005, SHA1 has also been vulnerable to an attack that is 2,000 times as effective as a brute-force attack.

In May Verisign reported that botnets were available for hire for as little as $8.94 an hour to carry out cybercrimes.

Update

SHA1 is a hashing algorithm, not an encryption algorithm, as was first reported in this article. SHA1 generates a 160-bit hash of a message. Roth's cloud cracking experiment worked by working through all inputs to create the same output as the original SHA1 hash.

Talkback

This post has been removed by a moderator.

This post has been removed by a moderator.

Is this really a story? It might be if the speeds were closer to all 6 character combinations in less than a minute.

We have an automated service that does this with a single GPU in less than 70 minutes and when using 4 Nvidia 295GTX's we can crack every possible combination up to 6 characters in less than ten minutes using a single server. The service is QD Tools at http://tools.question-defense.com.

Our most used automated service is WPA cracking where we run an automated dictionary attack with a wordlist of close to a billion words in less than 4 hours. The success rate of returning password is 35%.

dakykilla 17 November, 2010 13:50
Reply

This post has been removed by a moderator.

@dakykilla thanks for your comment. We decided to highlight the story because we felt the use of a rentable AWS instance was novel, though we were aware that the methods of hack, target and speed were not revolutionary.

Jack Clark 17 November, 2010 14:06
Reply

Breaking hashes by brute force or using rainbow tables isn't news, we've been doing it for years. Sure with a large enough network of machines with or without hardware accelerators you can reduce the time needed to break a hash but the time required increases exponentially with length and complexity. One misnomer in the article is that in fact SHA1 is a HASHing algorithm not an encryption algorithm. The former (hash) is a one-way conversion function, the latter is a reversible function. You cannot decrypt a hash, only find an equivalent input that generates the same hash output (a collision).

If people adopt best practice in regard to password length and complexity and rotate passwords on a regular basis then even if they crack a hash it will probably be invalid when tried. Unfortunately many implementations use weak passwords and so maybe brute forced in realistic time frames. The issues here are not technology or algorithms but the application of these by people. If you use weak passwords, irrespective of what algorithm is used to protect it, it can be brute forced with relative ease.

If you are using WPA/WPA2 in an enterprise situation then I would consider switching to another algorithm where the authentication is verified against a backend system such as radius.

Nomad1c 17 November, 2010 14:48
Reply

Anyone using SHA-1 for passwords deserves to be cracked.
Who uses SHA-1 nowadays anyway apart from your typical muppet and clown society such as UK.
Oh, and by the way this german guy is not a hacker hes a scriptkiddie worthless cracker.

supercryptoman 19 November, 2010 10:25
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

Andy Bolstridge

Performance isn't really the big thing at the moment - not when my ADSL connection will only provide a 8mbps bottleneck to the 3.5gbps speeds these...

25 minutes ago by Andy Bolstridge via Facebook on Next-generation 802.11ac routers
pjc158

So when is Amazon buying Waterstones?

2 hours ago by pjc158 on Waterstones to sell Kindles with in-store offers
J.A. Watson

@JoshArg - Well, I am writing this from my N150 Plus, running Ubuntu 12.04 and using a Bluetooth mouse (well, to be totally correct it is a...

2 hours ago by J.A. Watson on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
J.A. Watson

@duncanjmurray - At least n the case of the specific system I put the SSD into, it is not the case. The boot time improvement is substantial, but...

3 hours ago by J.A. Watson on Netbook Upgrade - SSD IN, Windows OUT
archerthom

Sounds like only those who have bought their Kindle from Waterstones will be able to use them in-store - very disappointing. I have no intention...

4 hours ago by archerthom on Waterstones to sell Kindles with in-store offers
AndyPagin

From my mainframe operating days... 1) Play hoopla with write permit rings & a can of screen cleaner. 2) Make enormous paper chains (Christmas...

5 hours ago by AndyPagin on Ten IT jobs to save up for those rare lulls
61253

An OS X perspective Filenames beginning with a dot/period (.) should not be equated with HFS Plus resource forks; misunderstandings around ._ (dot...

5 hours ago by 61253 on SharePoint deployment: Pitfalls of a pioneer
ians1

There are many legal download sites for music at least that do not charge an arm and a leg like itunes or Napster. The "real" cost of an mp3 file...

7 hours ago by ians1 on The Pirate Bay infringes copyright, High Court decides
Jon Howells

@Crupal.. How does refusing your websites cookies help my privacy? A quick look at your page script reveals four sets of code provided by 3rd...

14 hours ago by Jon Howells via Facebook on Privacy watchdog to chase big companies over cookie law
Paul Carloss

There are hundreds, if not thousands of filesharing torrent sites, The Pirate Bay (TPB) is only one of them, while the TPB is blocked many more...

14 hours ago by Paul Carloss via Facebook on The Pirate Bay infringes copyright, High Court decides
Rebin Simpson

So could users DownGrade if the new OS didn't worked correctly ?

17 hours ago by Rebin Simpson on Sony delivers on Xperia Ice Cream Sandwich promise
duncanjmurray

Hmmm, I thought that with SSDs you could get to the mythical ubuntu 10 sec boot time? Is this not the case?

17 hours ago by duncanjmurray on Netbook Upgrade - SSD IN, Windows OUT
JoshArg

Thanks once again! I have installed Linux Mint 13 (Maya) everything runs well but.. bluetooh is not present, "there is no blueetooth adapter" do...

18 hours ago by JoshArg on Samsung N150 Plus Netbook - Ubuntu Netbook Edition 10.04
zdnetukuser

@JAW-- There’s a better-than-even chance that, had you made another choice of SSD, you would have noticed no improvement in battery life...

2 days ago by zdnetukuser on Netbook Upgrade - SSD IN, Windows OUT
Amb Rose

Please stop connecting the 'ATeam' to the UK Anonymous collective. Anonymous and the ATeam are not connected. The ATeam are not part of, affiliated...

2 days ago by Amb Rose via Facebook on UK Anonymous keeps up DDoS barrage on ICO
cpupal

Hi All I have looked into the cookie law today, there are a few solutions that these websites can use. Just add the widget and update your policy...

2 days ago by cpupal on Privacy watchdog to chase big companies over cookie law
dropz42

I read that many of the governments own websites are not yet compliant...shouldn't they sort that out before chasing others - slightly hypocritical !

2 days ago by dropz42 on Privacy watchdog to chase big companies over cookie law
Charles McLellan

@larrylisser Thanks for the feedback; you're quite right to surmise that the article's main point was to inform about developments in cloud-based...

2 days ago by Charles McLellan on VideoMeet: cloud-based video communication
J.A. Watson

@zdnetukuser - Thanks for pointing this out. I must admit that the relative power consumption of different manufacturers and models was something...

2 days ago by J.A. Watson on Netbook Upgrade - SSD IN, Windows OUT
J.A. Watson

@stevoparsons - You are absolutely right, I do expect a new system that is being connected to the Internet for the first time to pick up updates....

2 days ago by J.A. Watson on Windows Update Never Stops Sucking

Community highlights

manek

Passwords are here to stay: get used to it

Blog Post It's been mildly amusing to see, once more, a vendor of two-factor...

21 May, 2012 by manek
First Take

Next-generation 802.11ac routers

Blog Post A recent flurry of announcements from networking equipment vendors —...

21 May, 2012 by First Take
Jack Schofield

The three big questions about Facebook's IPO

Blog Post The three big questions about Facebook's stock exchange launch are: (1) Is it...

18 May, 2012 by Jack Schofield
Jack Schofield

Cardbox database goes from £299 to free

Blog Post Thirty years after Cardbox released its flat-file database of that name, the...

18 May, 2012 by Jack Schofield