Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

RaiseException

Мрак edited this page Jun 12, 2022 · 1 revision

How it works

The debug functions such as ntdll!DbgPrint() and kernel32!OutputDebugStringW() cause the exception DBG_PRINTEXCEPTION_C (0x40010006). If a program is executed with an attached debugger, then the debugger will handle this exception. But if no debugger is present, and an exception handler is registered, this exception will be caught by the exception handler.

Reference

Anti-Debug Tricks

Clone this wiki locally