Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A collection of c++ programs that demonstrate common ways to detect the presence of an attached debugger.

License

NotificationsYou must be signed in to change notification settings

ThomasThelen/Anti-Debugging

Repository files navigation

alt textProject Status: Active – The project has reached a stable, usable state and is being actively developed.licenseMaintenance

This repository hosts code that shows some of the trivial ways to detect the presence of debuggers under Windows applications. More thorough resources can be found on other GitHub repositories andPeter Ferrie'sThe "Ultimate”Anti-Debugging Reference". The examples are organized by functionality.

Building

To build the project run the following frombuild/.

cmake ../cmake --build .

The ReadTEB example makes use of__asm which isn't supported on x64 and is excluded from the makefile.

Checking Within Processes

These are some checks that can be run from within the source of an application.

IsDebuggerPresent - Basic Win32 APIcall to check for the presence of a debugger

OutputDebugString - Use the Win32 APIto tryto communicate with a potentially attached debugger

FindWindow - Use the Win32 API to search fordebugger windows

ReadTEB - A brief look at the internals ofIsDebuggerPresent

DebugBreak - A win32 call that will throw when a debugger isn't attached.

Checking Other Processes

Checking external processes for the presence of an attached debugger.

CheckRemoteDebuggerPresent - IsDebuggerPresent for external processes

References and Other Repositories

Anti Reverse Engineering Protection Techniques to Use Before ReleasingSoftware

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp