Skip to content

Metick/Anti-Debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AntiDebug POC

Catching debuggers using ResumeThread

When attaching a debugger, the thread will be suspended just for a moment therefore, by checking the thread's current suspend count, we can find out if we are being debugged. To achieve that we will call the ResumeThread WinAPI function which will return the thread's suspend count (and subsequently reduce it by 1).

It goes without saying, that if your program suspends the thread, you should account for it on your Anti-Debugger.

direct.mp4

About

Catching debuggers using ResumeThread

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages