Log in

View Full Version : Hasp 3 dos exe envelope


sadistcef
May 1st, 2004, 11:39
i have a dos exe file which was protected with hasp 3 envelope.
i am tracing the file when i come on a call, the codes are changing and i can't find these new codes with hiew.so i can reverse with softice but i can't make a patch. how can i change these codes. can somebody help me please!!!!!!!!!!!!!!

CrackZ
May 1st, 2004, 13:39
Hiya,

1. Does your target file have the string HASPDOSDRV inside?.

2. I've not seen more than about 5 DOS protected envelopes, actually the last one I really remember was CASMate (16-bit win, but the DOS ones are similar I'm sure); assuming it is the usual form of one jump to HASP entry point, this can be patched redirected trivially by studying the unpacking code and modifying the decryption bytes, read about CASMate on the web.

Send me the target if you want, and I'll have a look, the DOS HASP interface is vulnerable to something like bpx prestochangoselector if I remember rightly ;-).

Regards

CrackZ.