Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Time to crack DES? Is it a task suitable for a script kiddie yet?

Already understanding that AES is the encryption method of choice, should existing code that uses DES be re-written if the likely threat is on the level of script kiddies? (e.g. pkzip passwords can be cracked with free utilities by non-computer professionals, so is DES like that?) A quick google search seems to imply that even deprecated DES still requires a super computer and large quantity of time--or have times changed?

In particular, this CAPTCHA library uses DES to encrypt the challenge string which is sent to the user in viewstate.

like image 632
MatthewMartin Avatar asked Jul 31 '09 13:07

MatthewMartin


People also ask

Can DES be cracked?

BACKGROUND ON RSA'S DES CHALLENGE AND THE EFF'S DES CRACKER With the success of the DES Cracker machine, the EFF has proven what has been argued by scientists for twenty years, that DES can be cracked quickly and on a low budget.

How long does it take to crack DES encryption?

The EFF's DES cracker (Deep Crack) breaks a DES key in 56 hours. Together, Deep Crack and distributed.net break a DES key in 22 hours and 15 minutes.

Can you brute force DES?

From the outset, it was known that DES was susceptible to brute force attacks. A brute force attack, also known as an exhaustive search is an attack against a cryptosystem in which all possible values for the key are attempted - the bigger the key, the more difficult the attack.

How long does it take to brute force DES encryption?

Published papers from the early 1980's suggested that a DES key-cracking chip could be built that would test around half a million (about 219) keys per second, so a single chip could cover half the DES keyspace in roughly 255-19=236 seconds, or 2000 years.


2 Answers

DES is broken so far as storing sensitive data, and so I would certainly not use it in anything new, and would replace it in anything used for long term storage of any information of interest (data that someone would have a profit for national security interest in stealing).

At the moment a DES message can be broken by brute force in a couple of days (or less) using under $100,000 worth of custom hardware.

But there are some key factors in that:

The hardware is custom - the chips used to quickly brute a DES key are not the general purpose processor you'd find in a PC. That being said there is probably room today for using a cluster of Playstation 3s or current generation graphics cards with a GPGPU to crack a DES message in a reasonable amount of time, perhaps bringing down the cost to maybe $15,000.

The other factor is time - a DES message can be cracked in a day, but if your CAPTCHA library has a timestamp that specifies a 30 minute timeout for any given CAPTCHA response, it would still be effective (you could scale up your hardware, but then you're talking millions).

Overall I'd say that for non-long term storage, DES is still secure against "script kiddies".

like image 184
David Avatar answered Sep 21 '22 03:09

David


no, DES cracking is not suitable for scriptkiddies and won't probaly be in the near forseeable future.

it requires such enormous processing power, we're talking about a load of FPGA processors.

for example the COPACOBANA in the CHES 2006 secret key challenge took 21 hours, 26 mins, 29 secs using 108 of it's 128 processors, at a troughput of 43.1852 billion keys per second, and found the key after searching trough 4.73507% of the keyspace

now, if we look at moores law we see, that if we currently build a similar machine, it'll currently take 1/4th of the time for the same amount of money, or 1/4th of the money for the same amount of time.

like image 33
alexanderpas Avatar answered Sep 23 '22 03:09

alexanderpas