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

ProcessDebugPortFlag

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

How it works

It is possible to retrieve the port number of the debugger for the process using the NtQueryInformationProcess(). There is a documented class ProcessDebugPort, which retrieves a DWORD value equal to 0xFFFFFFFF (decimal -1) if the process is being debugged.

Reference

Anti-Debug Tricks

Clone this wiki locally