The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: XtrCt on October 18, 2007, 02:20:08 PM

Title: HASH help
Post by: XtrCt on October 18, 2007, 02:20:08 PM
hi i got an compiled code wish has some loops and rotate rights in, i know they are compared to a certain module in kernel32.dll but i cant figure out how to make an macro that makes hashed dwords like precisly like that one.
Title: Re: HASH help
Post by: evlncrn8 on October 18, 2007, 02:40:30 PM
chances are that its not a macro...
its probably a case of the exe being patched after compilation by another tool...
Title: Re: HASH help
Post by: XtrCt on October 18, 2007, 02:45:19 PM
ye why not but thats not really matters i wqant to make an macro that generates alot of hashes and compares them to the original, if it finds one it compares with moudule #2. i havent figured out how but can it be done?
Title: Re: HASH help
Post by: evlncrn8 on October 18, 2007, 04:01:26 PM
why make it a macro?... why not code some program to do it. it'd probably be much much faster
if it can be done, it'd be damned difficult
Title: Re: HASH help
Post by: Tedd on October 19, 2007, 10:11:28 AM
What is this compiled code, and why do you want to copy its hashing - some kind of registration-key/encrypted protection?

Anyway, searching for a hash to match, depending on the number of bits used and how long it takes to calculate each one, can take a while, but it's not impossible. More details required :P