Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Rainbow warriors crack password hashes (Is it safe? Nope)
The Register (UK) ^ | 11/10/05 | Robert Lemos

Posted on 11/19/2005 9:18:37 AM PST by cloud8

A trio of entrepreneurial hackers hope to do for the business of password cracking what Google did for search and, in the process, may remove the last vestiges of security from many password systems.

Over the past two years, three security enthusiasts from the United States and Europe set a host of computers to the task of creating eleven enormous tables of data that can be used to look up common passwords. The tables - totaling 500GB - form the core data of a technique known as rainbow cracking, which uses vast dictionaries of data to let anyone reverse the process of creating hashes - the statistically unique codes that, among other duties, are used to obfuscate a user's password.

Last week, the trio went public with their service. Called RainbowCrack Online, the site allows anyone to pay a subscription fee and submit password hashes for cracking.

"Usually people think that a complex, but short, password is very secure, something like $FT%_3^," said Travis, one of the founders of RainbowCrack Online, who asked that his last name not be used. "However, you will find that our tables handle that password quite easily."

While security professionals have questions whether a business can be created by offering access to rainbow tables, the endeavor does highlight the weaknesses in security of password-only authentication. History has shown that password systems are imminently breakable.

In August, a group of Chinese researchers found further breaks in a common hash function, the Secure Hash Algorithm or SHA-1, used by the U.S. government. In September, researchers from the University of California at Berkeley published a paper that demonstrated that the sound of a person typing can reveal the content, including passwords. Those technical breaks do not even account for the human factor: People tend to pick simple passwords and disclose them frequently. In fact, many viruses and worms have successfully spread by trying to log into administrator accounts using a small list of common passwords.

Because of the problems, the U.S. government is requiring that banks move towards two-factor authentication, where the typical password security is augmented by a biometric or a physical security device. Some security researchers maintain that even adding a second type of security check is not enough.

The latest attack focuses on the hash functions used to verify passwords. Because operating systems cannot keep a copy of the password on the disk without weakening system security, the software instead saves a statistically unique code generated from the pasword. While the code, or hash, is computationally easy to create, reversing the process to recover the password is nearly impossible, given a correctly implemented hash function.

Rainbow tables side step the difficulty in cracking a single password by instead creating a large data set of hashes from nearly every possible password. To break a password, the attacker merely looks up the hash to find the password that produces that code.

"Creating the tables takes much more time than cracking a single hash, but then you can use the tables over and over again," said Philippe Oechslin, CEO of Swiss information-technology firm Objectif Sécurité and the inventor of rainbow tables. "The advantage of rainbow tables is that once you have the tables it is faster than a brute force (attack) and it needs less memory than a full dictionary (attack) of the function."

The theory behind rainbow tables extends research by Martin Hellman and Ronald Rivest done in the early 1980s on the performance trade-offs between processing time and the memory needed for cryptoanalysis. In a paper published in 2003, Oechlin refined the techniques and showed the attack could reduce the time to attack 99.9 per cent of Microsoft's LanMan password scheme to 13.6 seconds from 101 seconds. Further refinements have reduced the number of false positives produced by the system.

"This is something that you are never supposed to be able to do with (a good implementation of) crypto - generate every single possible combination," said Dan Moniz, a member of the Shmoo group, a coalition of security researchers and the manager of the groups own rainbow table project.

RainbowCrack Online will offer 11 tables covering six different hash algorithms, including LanMan, MD5, MySQL 323, and SHA-1. Offering the tables in an online service is not about helping attackers, but about helping system administrators secure their systems, said RainbowCrack's Travis.

"Attackers already have tables like these, (so) RainbowCrack serves as a tool to judge what is and what is not a secure password policy," he said.

Making money with rainbow tables is not a new idea. A handful of efforts have been started and then stalled. Zhu Shuanglei, who created the open-source tool that RainbowCrack Online uses to generate its tables, has generated a 64GB LanMan table and advertises it for sale for $400. The Shmoo group created its own rainbow table to crack Microsoft's LanManager tables that offered them for free through BitTorrent, and at the DEF CON hacking convention, Shmoo's Moniz saw several versions of the LanManager tables for sale. People with free computer time would calculate the tables hoping to make a little money, he said.

The experience has Shmoo's Moniz questioning whether there will be demand for a service like RainbowCrack Online. Bruce Schneier, a well-known cryptographer and chief technology officer of network monitoring service Counterpane Internet Security, agrees.

"There could be a criminal business in it," he said. "But I don't see the legitimate business demand for rainbow tables."

To some extent, RainbowCrack Online applies Google's business model to cracking encryption. Like Google, RainbowCrack Online give web access to a large database of information. Both services go through a lot of effort and a lot of memory to give users a quick answer to a query. And both services could be reproduced, barring patent hurdles.

Yet, while searching the web has obvious utility, the usefulness of rainbow tables is questionable, because good programming can make the tables require several magnitudes more memory, rendering the technique essentially useless. Specifically, adding several unpredictable bytes at the beginning of a password before hashing, a technique known as salt, can add several orders of magnitude of complexity to any cryptanalysis of the result.

"Remember that rainbow tables only work for inferior functions that use no salt or initialization vector," Objectif Sécurité's Oechslin said. "If programmers were more careful, there would be no market for a rainbow Google."

RainbowCrack Online's founders disagree. The lion's share of cryptographic hash functions are not well implemented and thus could be broken with their tables quite easily, RainbowCrack's Travis said.

Counterpane's Schneier agrees.

"All we have is anecdotal evidence about development practices, but I would agree that a lot of systems are weak," Schneier said. "The biggest problems that we as cryptographers have to face is bad implementations."

For such insecure password implementations, rainbow-table services may be the sign that it's time to reconsider security.


TOPICS: Crime/Corruption; News/Current Events; Technical
KEYWORDS: hack; password
Navigation: use the links below to view more comments.
first 1-2021-27 next last
I guess GoRedSox will continue to do just fine, then.
1 posted on 11/19/2005 9:18:38 AM PST by cloud8
[ Post Reply | Private Reply | View Replies]

To: cloud8

You use that, also?


2 posted on 11/19/2005 9:24:46 AM PST by i_dont_chat (Houston, TX)
[ Post Reply | Private Reply | To 1 | View Replies]

To: cloud8
Because of the problems, the U.S. government is requiring that banks move towards two-factor authentication, where the typical password security is augmented by a biometric or a physical security device.

This will require some sort of biometric periferal be installed on every computer from which a bank account will be accessed.

3 posted on 11/19/2005 9:25:02 AM PST by Paleo Conservative (Hey hey ho ho Andy Heyward's got to go!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Paleo Conservative

BUMP!


4 posted on 11/19/2005 9:29:58 AM PST by Publius6961 (The IQ of California voters is about 420........... .............cumulatively)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Paleo Conservative
I wonder if I need to change from J&^GVCCDE#rGNuTV7754321&I()_+{_PL::PpKk KnJnJBFT huy7632dnniuijOOOPPPIYFTE!#!$%^*)_+==--098yuHjbBNn to something else, I've been using it so long that I hate to give it up now.
5 posted on 11/19/2005 9:30:38 AM PST by inpajamas
[ Post Reply | Private Reply | To 3 | View Replies]

To: Paleo Conservative
This will require some sort of biometric periferal be installed on every computer from which a bank account will be accessed.

Go to the url below if you are interested in two-factor authentication devices, RSA is the industry leader in them. It only requires a keyfob that you carry around on your keychain with a pin number you keep in your head. The password changes every 60 seconds or so.

http://www.rsasecurity.com/
6 posted on 11/19/2005 9:30:38 AM PST by contemplator (Capitalism gets no Rock Concerts)
[ Post Reply | Private Reply | To 3 | View Replies]

To: cloud8

If this thing can figure out my dog's name, my files are toast.


7 posted on 11/19/2005 9:32:39 AM PST by Tijeras_Slim (Now that taglines are cool, I refuse to have one.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Paleo Conservative

Not outsourcing to other countries and keeping the work inside the USA will help security as well. Sucks having no IP, AND having your security completely compromised! It's a bad day when that happens! Good Programing techniques and a solid database would go a long way to making a given system more secure.


8 posted on 11/19/2005 9:35:05 AM PST by Danae (Anál nathrach, orth' bháis's bethad, do chél dénmha)
[ Post Reply | Private Reply | To 3 | View Replies]

To: Tijeras_Slim
Cop; "Do you have a license?"

Chico Marx; "No, but my dog, he's got a million of'um, . . let me tell you, he's one smart dog!"

9 posted on 11/19/2005 9:38:50 AM PST by norraad ("What light!">Blues Brothers)
[ Post Reply | Private Reply | To 7 | View Replies]

To: i_dont_chat

> You use that, also?

The IT kid told me mixing in the caps would make it more secure.


10 posted on 11/19/2005 9:41:13 AM PST by cloud8
[ Post Reply | Private Reply | To 2 | View Replies]

To: cloud8
I guess GoRedSox will continue to do just fine, then.

I got one better than that - CubsWinSeries

11 posted on 11/19/2005 9:46:53 AM PST by VeniVidiVici (What? Me worry?)
[ Post Reply | Private Reply | To 1 | View Replies]

To: cloud8
Passwords are becoming one of my pet peeves.

I don't necessarily care that to sign on to my companies network I need two different usernames, and two different passwords, but the fact that about every four weeks they force us to change them.

For awhile I was using the same combination of letters and numbers, just changing the last number as I was required to change.

They then set it up so you could not use anything similar to the previous password, it must be completely different.

Add this to the other dozen passwords I need, I finally just made a list and taped it over my desk.

(Before anyone gets too excited I should say I work at home, and outside of my wife, nobody ever sees it.)

My point is by making the requirements for password such that it is impossible to remember them all, you in fact make it easier for someone to find where the user has written them down.

12 posted on 11/19/2005 9:50:18 AM PST by CIB-173RDABN
[ Post Reply | Private Reply | To 1 | View Replies]

To: contemplator
My wife's company uses a similar system. The keychain numbers continually change. They don't change in a predetermined amount of time, either. We have a VPN here to her office, and sometimes the password code will change before she can enter the whole string.
Her boss doesn't like it, says it's still not secure enough. So, they are implementing a web based login that includes biometric and 3 authentications, one of which will retain the keychain method.

I still haven't been hacked using PASSWORD as my password.:)

:O)

P
13 posted on 11/19/2005 10:05:37 AM PST by papasmurf (I watched the 11/18/05-SMACKDOWN in Congress!!!)
[ Post Reply | Private Reply | To 6 | View Replies]

To: contemplator
It only requires a keyfob that you carry around on your keychain with a pin number you keep in your head. The password changes every 60 seconds or so.

Yeah, I got one for work. It changes roughly every 4 - 5 minutes.

I was bored one day and timed it.

14 posted on 11/19/2005 10:09:28 AM PST by woofer (I can please only one person per day. Today is not your day. Tomorrow doesn't look good either.)
[ Post Reply | Private Reply | To 6 | View Replies]

To: VeniVidiVici

Ahem,

A valid password must have SOME relation to reality....

A White Sox Fan


15 posted on 11/19/2005 10:13:52 AM PST by Natty Bumppo@frontier.net (Navy Air!)
[ Post Reply | Private Reply | To 11 | View Replies]

To: cloud8

"The IT kid told me mixing in the caps would make it more secure."

Fire him, it doesn't. Neither does character substitution like 0 for o.


16 posted on 11/19/2005 10:18:54 AM PST by adam_az (It's the border, stupid!)
[ Post Reply | Private Reply | To 10 | View Replies]

To: cloud8
Image hosted by Photobucket.com good security should only give you 3 chances before the account and or terminal is locked.
17 posted on 11/19/2005 10:19:02 AM PST by Chode (American Hedonist ©®)
[ Post Reply | Private Reply | To 1 | View Replies]

To: cloud8

One factor authenticaion is extinct.

2 factor is where it's at - something you have, something you know.


18 posted on 11/19/2005 10:20:03 AM PST by adam_az (It's the border, stupid!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Chode

"good security should only give you 3 chances before the account and or terminal is locked."

I'd say it depends on the value of the resource you are protecting. :)


19 posted on 11/19/2005 10:20:59 AM PST by adam_az (It's the border, stupid!)
[ Post Reply | Private Reply | To 17 | View Replies]

To: Paleo Conservative

Did someone say "Biometrics"?

"LIFE WITH BIG BROTHER GOP star to get chip implant Tommy Thompson signs up with VeriChip"

Hmmmm...can you say "in the wrist or in the forehead"?

He also forced everyone, small and great, rich and poor, free and slave, to receive a mark on his right hand or on his forehead so that no one could buy or sell unless he had the mark, which is the name of the beast or the number of his name. This calls for wisdom. If anyone has insight, let him calculate the number of the beast, for it is man's number. His number is 666" (Rev. 13:16-18).

ANYTHING to make sure that all commerce is controlled and tracked, right?

Our Founding Fathers knew what was coming...and warned us...

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.

Ben Franklin

20 posted on 11/19/2005 10:34:59 AM PST by Itzlzha ("The avalanche has already started...it is too late for the pebbles to vote")
[ Post Reply | Private Reply | To 3 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-27 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson