Log in

View Full Version : Illegal instruction in Dongle-protection


anthrazius
February 16th, 2012, 03:17
Guys please help me,

I'm stuck. Trying to reverse (well-known) Dongle-protection I dragged myself through the code until...

an "illegal instruction" (according to OllyDbg). Tracing over it, the protected program starts in OllyDbg 1.0 without returning to the debugger.
If I trace the instruction in OllyDbg 2.0, I suddenly find myself in WS2help.dll.

I'll provide more information if necessary, but maybe that's already enough for you pros.
What on earth is going on?

Best regards

FoxB
February 16th, 2012, 07:27
tell us the dongle type...

anthrazius
February 16th, 2012, 08:10
HASP4.

Btw, I'm not really interested in cracking the stuff, I'm just curious...

anthrazius
February 18th, 2012, 04:49
Ok, got it now. It appears that one of the HASP-drivers is catching the exception before Olly can handle it.
Well, guess that's the end of the road for ring3-debugging...