Chinese researchers crack major U.S. government algorithm used in digital signatures
{{date|February 16, 2005}}

According to computer security expert {{w|Bruce Schneier|Bruce Schneier}}, a widely-used cryptography {{w|algorithm|algorithm}}, known as {{w|SHA-1|SHA-1}}, has been broken by three researchers at {{w|Shandong University|Shandong University}} in [[China]]. Designed by the [[United States|US]] intelligence agency [[NSA|NSA]], SHA-1 has been adopted as an official US government standard and has become widely-used in security applications worldwide, notably {{w|digital signature|digital signatures}}. The three female researchers, Xiaoyun Wang, Yiqun Lisa Yin, and Hongbo Yu, have reduced the amount of time needed to find two documents with the same signature by a factor of more than 2000.

The SHA-1 algorithm is used to compute a short string of numbers, known as a {{w|Cryptographic hash function|hash}}, for any digital document. The algorithm is constructed such that small changes in the document cause the hash to change drastically. By this means, the hash can be used to verify that a document has not been tampered with.

The attack that Schneier describes is a "{{w|collision attack|collision attack}}," rather than the more useful "pre-image" attack. In a {{w|pre-image attack|pre-image attack}}, the codebreaker is able to find a document with different contents that matches an existing hash and so can claim an existing signature was on something else. In the somewhat less valuable "collision attack," the {{w|codebreaker|codebreaker}} is able to devise two documents that both have some particular hash. A adversary might use this to claim that an altered document is the original on the grounds that they have the same hash. A crafty adversary might also be able to trick someone into signing an innocuous document, one of a pair from a collision. The other document, which might not be as harmless, would then also appear to have been signed by the same person. If collisions can be found for SHA-1, then digital signatures will no longer vouch for a document's authenticity.

The attack, for now, is more of a theoretical than a practical kind: it would currently take thousands of years on a modern personal computer, and would still be slow even if a large number of computers were used in parallel.

Xiaoyun Wang is currently a professor at {{w|Shandong University|Shandong University}}, while Hongbo Yu is a doctoral candidate at the same institution. Yiqun Lisa Yin is currently a visiting researcher at the Princeton Architecture Laboratory for Multimedia and Security (PALMS). Last year, Xiaoyun Wang and Hongbo Yu also took part in breaking a series of similar algorithms, including the widely used {{w|MD5|MD5}} hash, as documented in their paper presented at the Crypto 2004 conference.

Officials from the {{w|NIST|National Institute of Standards and Technology}} (NIST) have recently recommended dropping SHA-1 in favor of stronger, slower algorithms, such as {{w|SHA-256|SHA-256}}, Federal Computer Week reported on February 7, 2005, just 7 days before Schneier announced the SHA-1 break. Despite deprecating SHA-1, William Burr, the head of NIST's security technology group, said that "SHA-1 is not broken, and there is not much reason to suspect that it will be soon."

== Sources ==

*{{source|url=http://www.schneier.com/blog/archives/2005/02/sha1_broken.html 
|title=SHA-1 broken
|author=Bruce Schneier
|pub=Schneier on Security
|date=February 15, 2005 }}

*{{source|url=http://www.fcw.com/fcw/articles/2005/0207/web-hash-02-07-05.asp 
|title=Hashing out encryption 
|author=Florence Olsen
|pub=Federal Computer Week
|date=February 7, 2005 }}

*{{source|url=http://www.itl.nist.gov/fipspubs/fip180-1.htm
|title=FIPS PUB 180-1 (SHA-1 standard)
|author=National Institute of Standards and Technology
|pub=NIST website
|date=April 17, 1995 }}

*{{source|url=http://www.prime.sdu.edu.cn/third/05wangxiaoyun.html
|title=Xiaoyun Wang
|author=
|pub=University website
|date= }}

*{{source|url=http://www.princeton.edu/~yyin/
|title=Yiqun Lisa Yin
|author=
|pub=University website
|date= }}

*{{source|url=http://www.prime.sdu.edu.cn/fourth/yuhongbo.html
|title=Hongbo Yu
|author=
|pub=University website
|date= }}

{{publish}}
{{archive}}
[[Category:Science and technology]]
[[Category:Computing]]
[[Category:China]]
[[Category:United States]]
[[Category:National Security Agency]]
According to computer security expert Bruce Schneier, a widely-used cryptography algorithm, known as SHA-1, has been broken by three researchers at Shandong University in China. Designed by the US intelligence agency NSA, SHA-1 has been adopted as an official US government standard and has become widely-used in security applications worldwide, notably digital signatures. The three female researchers, Xiaoyun Wang, Yiqun Lisa Yin, and Hongbo Yu, have reduced the amount of time needed to find two documents with the same signature by a factor of more than 2000.

The SHA-1 algorithm is used to compute a short string of numbers, known as a hash, for any digital document. The algorithm is constructed such that small changes in the document cause the hash to change drastically. By this means, the hash can be used to verify that a document has not been tampered with.

The attack that Schneier describes is a "collision attack," rather than the more useful "pre-image" attack. In a pre-image attack, the codebreaker is able to find a document with different contents that matches an existing hash and so can claim an existing signature was on something else. In the somewhat less valuable "collision attack," the codebreaker is able to devise two documents that both have some particular hash. A adversary might use this to claim that an altered document is the original on the grounds that they have the same hash. A crafty adversary might also be able to trick someone into signing an innocuous document, one of a pair from a collision. The other document, which might not be as harmless, would then also appear to have been signed by the same person. If collisions can be found for SHA-1, then digital signatures will no longer vouch for a document's authenticity.

The attack, for now, is more of a theoretical than a practical kind: it would currently take thousands of years on a modern personal computer, and would still be slow even if a large number of computers were used in parallel.

Xiaoyun Wang is currently a professor at Shandong University, while Hongbo Yu is a doctoral candidate at the same institution. Yiqun Lisa Yin is currently a visiting researcher at the Princeton Architecture Laboratory for Multimedia and Security (PALMS). Last year, Xiaoyun Wang and Hongbo Yu also took part in breaking a series of similar algorithms, including the widely used MD5 hash, as documented in their paper presented at the Crypto 2004 conference.

Officials from the National Institute of Standards and Technology (NIST) have recently recommended dropping SHA-1 in favor of stronger, slower algorithms, such as SHA-256, Federal Computer Week reported on February 7, 2005, just 7 days before Schneier announced the SHA-1 break. Despite deprecating SHA-1, William Burr, the head of NIST's security technology group, said that "SHA-1 is not broken, and there is not much reason to suspect that it will be soon."

*

*

*

*

*
Science and technology Computing China United States National Security Agency