• Welcome to Valhalla Legends Archive.
 

To those of you contemplating converting the lockdown SHA1 to language of choice

Started by warz, May 01, 2007, 08:04 PM

Previous topic - Next topic

warz

Quote from: UserLoser on May 02, 2007, 03:23 PMWho told you this?

Not sure if he'd want me to say, but his reply was the following...

QuoteIt is non-standard.  Standard SHA1 of "The quick brown fox jumps over the lazy dog" is 2f d4 e1 c6 7a 2d 28 fc ed 84 9e e1 bb 76 e7 39 1b 93 eb 12.  Lockdown's is a8 68 fb 6c 0d 95 c4 8d 03 7e 9f 08 ce 6e 42 00 fd 43 5f a4.

Warrior

@Reality: Then learn how it works. UL posted SHA1, port it then break it.
Quote from: effect on March 09, 2006, 11:52 PM
Islam is a steaming pile of fucking dog shit. Everything about it is flawed, anybody who believes in it is a terrorist, if you disagree with me, then im sorry your wrong.

Quote from: Rule on May 07, 2006, 01:30 PM
Why don't you stop being American and start acting like a decent human?

UserLoser

Quote from: betawarz on May 02, 2007, 06:59 PM
Quote from: UserLoser on May 02, 2007, 03:23 PMWho told you this?

Not sure if he'd want me to say, but his reply was the following...

QuoteIt is non-standard.  Standard SHA1 of "The quick brown fox jumps over the lazy dog" is 2f d4 e1 c6 7a 2d 28 fc ed 84 9e e1 bb 76 e7 39 1b 93 eb 12.  Lockdown's is a8 68 fb 6c 0d 95 c4 8d 03 7e 9f 08 ce 6e 42 00 fd 43 5f a4.

I'm gonna guess iago, and how did he come up with lockdown's version there?

warz

No, it wasn't iago. Not sure how he's producing those, but I too am producing results that differ from a standard sha1 implementation, using the method i described above.

Barabajagal

Quote from: Warrior on May 02, 2007, 07:10 PM
@Reality: Then learn how it works. UL posted SHA1, port it then break it.
The links don't work for me...

iago

This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*



warz

Quote from: Sorc.Polgara on May 03, 2007, 12:51 PM
Quote from: iago on May 03, 2007, 10:51 AM
It's not standard SHA1.
...

Who to believe >_<;

It isn't standard. Userloser said he was wrong on bnet yesterday, and that there's a few changes in the SHA1Final routine, apparently.

Barabajagal


warz

Anyways, I updated the program linked in the first post (source included). You can modify the code to pass whatever you like through the appropriate hasher. You can see the example "The quick brown fox jumps over the lazy dog" result.

Rob

The only difference I have found with the lockdown implementation of SHA1 is in the SHA1Final procedure.  I have just completed reversing this function.

http://www.onlythechosen.com/sha1_ld.zip

Enjoy.
Rob@USEast

Hdx

Just one question, has anyone confermed that the 64-byte buffer in Final stays constant throughout the eintire process?

~Hdx

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

warz

Quote from: Hdx on May 07, 2007, 12:11 PM
Just one question, has anyone confermed that the 64-byte buffer in Final stays constant throughout the eintire process?

~Hdx

im pretty sure it is. look at the above code, and see what rob has done.

Hero

Quote from: rob on May 07, 2007, 04:12 AM
The only difference I have found with the lockdown implementation of SHA1 is in the SHA1Final procedure.  I have just completed reversing this function.

http://www.onlythechosen.com/sha1_ld.zip

Enjoy.
Thank you sir.