Feeds

Amazon's EC2 brings new might to password cracking

Cloudonomics and the art of black-hat hacking

Choosing a cloud hosting partner with confidence

Forget what you've learned about password security. A simple pass code with nothing more than lower-case letters may be all you need - provided you use 12 characters.

That's the conclusion of security consultant David Campbell, who calculated the cost of waging a brute-force attack on various types of passwords using cloud computing services offered by Amazon.

Based on hourly fees Amazon charges for its EC2 web service, it would cost more than $1.5m to brute force a 12-character password containing nothing more than lower-case letters a through z. But user beware, an 11-character code costs less than $60,000 to crack, and a 10-letter phrase costs less than $2,300.

Adding upper-case letters and numbers to a password offers some additional security, but not as much as you might think. Such a phrase using 10 characters would cost less than $60,000 to attack, while an 11-character code would cost roughly $2.1m. Even passwords that contain an additional 32 characters such as !@#$% are relatively cheap to crack if they are short enough. An eight-character password would cost a little more than $106,000.

The analysis, which Campbell posted here, builds off of research fellow security consultant Haroon Meer of SensePost presented earlier this year at the Black Hat conference. In it, he showed how EC2 could provide criminals using stolen credit cards with the equivalent of a super computer to crack encryption keys and passwords.

And that, in turn, will require new ways of thinking on the part of white hats.

"As it becomes possible now for the black hat community to get their hands on large amounts of computing power, we as security professionals are going to need to reassess threat models that we thought previously were not a factor," said Campbell. "Using stolen credit cards, they could create a super computer that would be faster potentially than what the three-letter agencies have and they wouldn't be paying for the CPU cycles."

Although Amazon takes pains to ration resources it makes available to single customers, Meer showed it was possible to get around such limitations using a single credit card. Presumably, it would be even easier to bypass those controls using hundreds or thousands of stolen credit cards, something that is trivial for criminals to get a hold of.

Campbell's assumptions are based on simple arithmetic.

To calculate the cost of brute forcing an eight-character password consisting only of lower-case letters, he raised 26 to the power of 8 to get the total number of possible passwords. Because his cracking application can handle 9.36 billion keys per hour, he then divided by that amount and multiplied that by EC2's standard rate of 30 cents per hour. An eight-character password that contains numbers and upper- and lower-case letters would be ((26+26+10)8/ 9,360,000,000) * .30.

A twelve character password that contains numbers and upper- and lower-case letters would be((26+26+10)12 / 9,360,000,000) * .30.

The promise of cloud computing to eliminate the costs of deploying and maintaining large numbers of servers is no doubt a boon to businesses looking for inexpensive ways to tackle special computing chores. But as the folks from SensePost make clear, some who stand to benefit the most may not be the most savory of enterprises.

It wasn't that long ago that even the most security conscious felt comfortable using an RSA key length of 1024 bits. But as Moore's Law has progressed, lengths of 2048 bits are increasingly advised. Now, as cloud computing spreads to the masses, don't be surprised if other common security assumptions are similarly rethought. ®

Beginner's guide to SSL certificates

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
Carders punch holes through Staples
Investigation launched into East Coast stores
Kill off SSL 3.0 NOW: HTTPS savaged by vicious POODLE
Pull it out ASAP, it is SWISS CHEESE
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.