Clandestiny
November 20th, 2000, 09:52
Hi guys,
I've recently been trying to crack Cool Edit Pro. Upon attempting patch the program, I get a "file integrity compromised" message. This let me know that there is probably a CRC check. I've done some research / read some tutorials about CRC protections, but the info was somewhat sketchy. I'll tell you what I've tried though and *hopefully* someone will be able to point me in the right direction.
1)The MessageBoxA containing the "file integrity compromised message" was the first and most obvious place to start. This I both examined in Wdasm and traced in SoftIce. There are a couple of jumps which bypass this mbox, but the program becomes frozen upon trying to change them so I concluded that the check must be earlier during the initialization.
2)I examined the program in an API moniter looking for all functions like CreateFileA and _lopen since I know the program will need to open itself to perform the CRC check. There were 2 promising files being opened with the _lopen API. These were coolpro.exe and cool.ini. I was *hoping* that the program was opening itself to perform the check. There was also an interesting reference to a checksum = 832952384 in the .ini file. Once I found this I did a search for it in memory and put bpm on all of the locations from the search. SoftIce broke a couple of times, but the contents of my memory loctions had somehow changed and no longer had the check sum value in them. I can't find any isolated function that looks like a CRC check,
though there is some code that operates on the coolpro.exe file after the_lopen and _hread APIs. This code does not look simple at all to reverse and I'm not even sure it is what I'm looking for !
3) Also, the program behaves somewhat inconsistantly...For example, after tampering with the file I first get a "file integrity compromised message box". A little later the program simply closes without displaying the message box. This continues to occur somewhat randomly and a couple of times the program even ran normally without displaying the message box or closing itself. Could this be indicative of some "self modifying code" ???
I'm a little lost on what to try next and will really appreciate some advice...
It seems like this protection is a little more challenging than newbie level, but I think there is much to learn and I don't want to give up on it ;-)
Thanks in advance...
Clandestiny
I've recently been trying to crack Cool Edit Pro. Upon attempting patch the program, I get a "file integrity compromised" message. This let me know that there is probably a CRC check. I've done some research / read some tutorials about CRC protections, but the info was somewhat sketchy. I'll tell you what I've tried though and *hopefully* someone will be able to point me in the right direction.
1)The MessageBoxA containing the "file integrity compromised message" was the first and most obvious place to start. This I both examined in Wdasm and traced in SoftIce. There are a couple of jumps which bypass this mbox, but the program becomes frozen upon trying to change them so I concluded that the check must be earlier during the initialization.
2)I examined the program in an API moniter looking for all functions like CreateFileA and _lopen since I know the program will need to open itself to perform the CRC check. There were 2 promising files being opened with the _lopen API. These were coolpro.exe and cool.ini. I was *hoping* that the program was opening itself to perform the check. There was also an interesting reference to a checksum = 832952384 in the .ini file. Once I found this I did a search for it in memory and put bpm on all of the locations from the search. SoftIce broke a couple of times, but the contents of my memory loctions had somehow changed and no longer had the check sum value in them. I can't find any isolated function that looks like a CRC check,
though there is some code that operates on the coolpro.exe file after the_lopen and _hread APIs. This code does not look simple at all to reverse and I'm not even sure it is what I'm looking for !
3) Also, the program behaves somewhat inconsistantly...For example, after tampering with the file I first get a "file integrity compromised message box". A little later the program simply closes without displaying the message box. This continues to occur somewhat randomly and a couple of times the program even ran normally without displaying the message box or closing itself. Could this be indicative of some "self modifying code" ???
I'm a little lost on what to try next and will really appreciate some advice...
It seems like this protection is a little more challenging than newbie level, but I think there is much to learn and I don't want to give up on it ;-)
Thanks in advance...
Clandestiny