October 2018
Beginner to intermediate
436 pages
9h 36m
English
The next thing to do is develop a code that forcefully causes an exception. We have a few known ways to do that:
Use debug breakpoints (INT 3 / INT 1)
Access inaccessible memory spaces
The aim of an SEH anti-debugging trick is to direct the debug analysis to an error. This makes an analyst try to trace back to what might have caused the error, eventually wasting time. And, if the analyst is familiar with SEH, it would be easy to pinpoint where the handler is and set a breakpoint there.
Step debugging works because of Interrupt 1, while breakpoints are set using Interrupt 3. When the execution of code encounters an INT 3 instruction, a debug exception occurs. To invoke an Interrupt 1 exception, the trap ...
Read now
Unlock full access