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
探索相关项目
加载中…