Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Beta Programs
Storm brewing over SHA-1 as further breaks are found
Robert Lemos, SecurityFocus 2005-08-23

Three Chinese researchers have further refined an attack on the encryption standard frequently used to digitally sign documents, making the attack 64 times faster and leaving cryptographers to debate whether the standard, known as the Secure Hash Algorithm, should be phased out more quickly than planned.

Comments Mode:
Storm brewing over SHA-1 as further breaks are found 2005-08-25
RT (1 replies)
Unfortunately, not necessarily true. 2005-08-29
Roger (1 replies)
What RT is referring to is the fact the found collisions are basically random, with no structure controllable by the attacker. However, it has already been demonstrated how many document formats and message protocols allow this random "junk" to be hidden. The two documents look totally different need not show any apparent signs of tampering unless their internal code is disassembled, yet they hash to the same value.

The formats for which this (actually demonstrated) technique can be used so far consist only of ones which effectively have internal processing capabilities, such as PDF, Postscript, MS Word, HTML with Javascript, etc etc. Gosh that already covers quite a lot including many emails.

However it could be a mistake to assume that even "pure data" formats are safe. If the attack can be extended to one where the initial differential is chosen at the start of the calculation instead of fixed at zero -- a modification which seems quite possible at our current state of understanding -- then the collision can be forced in a document postfix instead of prefix. In that case, the junk bytes could be just 7 pixels at the end of a bitmap, very unlikely to be noticed even in a format as transparent as a bitmap.

Who knows, other tricks may also be possible. Basically, once people can screw around like this, you can no longer simply trust the algorithm; every application requires an expert analysis to see if it is safe, and that analysis needs to be reviewed every time the attacks are improved.

[ reply ]

Link to this comment: http://www.securityfocus.com/comments/articles/11292/32365#32365







 

Privacy Statement
Copyright 2009, SecurityFocus