ThomasThelen/Anti-Debugging
概要
デバッガーがアタッチされているかを検出する一般的な方法を示す、C++プログラム集です。
セキュリティ・プライバシー計測したスター増加
- 24時間
- 0
- 7日間
- +2
- 15日間
- +2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルThis repository hosts code that shows some of the trivial ways to detect the presence of debuggers under Windows applications. This came from an earlier time, before my professional career and is no longer updated. More thorough resources can be found on other GitHub repositories and Peter Ferrie's The "Ultimate”Anti-Debugging Reference". The examples are organized by functionality.
Building
To build the project run the following from build/.
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 API call to check for the presence of a debugger
OutputDebugString - Use the Win32 API to tryto communicate with a potentially attached debugger
FindWindow - Use the Win32 API to search for debugger windows
ReadTEB - A brief look at the internals of IsDebuggerPresent
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 Releasing Software
関連プロジェクトを探す
読み込み中…