Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/notrequiem/antidbg
Defensive ToolsStatic AnalysisDynamic Analysis (Sandboxing)Reverse EngineeringMalware AnalysisBinary AnalysisAnti-Bot
GitHubnotrequiem/antidbg

antidbg

A stealthy, fully syscalled C/C++ userland anti-debugging library for Windows, designed to protect software from reverse engineering

View Repository
358341532 months agoReviewed by Kitploit
Share

AntiDBG

antidbg is a x64 user-mode anti-debugging library for Windows, designed to protect software from debugging.

Consider the library as a base for your anti-debugging protection, not as your only defense.

The library is:

  • Very easy to use (only one function call required).
  • Designed for high performance and minimal resource usage (1% CPU usage; <2MB of memory).
  • Free of any external dependencies.
  • Fully MIT-licensed.
  • CFG-compliant.

Structure

The treat model assumes a debugger may intercept software guarded by this protection system from any kind of privilege level, being detections less effective the higher the privilege level is.

This software is hardened to bypass trivial CPL > 0 interception, by:

  • Avoiding any kind of API hook via syscalling with inline assembly.
  • Enforcing virtual memory protection and injection mitigation policies for the current process.
  • Preventing syscall spoofing in RAX by detecting and/or overwritting non-legitimate instrumentation callbacks.
  • Detecting any kind of inline patch on monitored .text sections by doing a on-disk vs in-memory comparison.
  • Analyzing exception handling delivery (VEH, SEH, LPTOP_LEVEL_EXCEPTION_FILTER) and software breakpoints.
  • Testing PAGE_GUARD redirection behavior.
  • Protecting important stubs as non-writable memory, monitoring them later with hardware-accelerated hashing on a separate thread.
  • Guarding the process entrypoint with TLS callbacks from debugger attachment, performing thread start address inspection.
  • Creating traps in debugger entrypoints, such as DbgBreakPoint and DbgUiRemoteBreakin, to crash the process or return.
  • Hiding all threads from debugger events and process freeze. Ensures thread priority state is not affected
  • Setting a global vectored handler as soon as protections starts.

If the only way to do a check is to use a non-syscallable exported function, the function in question is manually reverse-engineered and reconstructed to run in the module address space of the protection thread. All user-mode memory structures are walked with direct memory instrospection instead of using APIs.

The protection routines explictly leaves some execution paths without protection against user-mode hooks, acting as memory honeypots. They're used for state comparison and to confuse attackers.

Protection routines runs pseudo-randomly. The entropy is decided with pure hardware-based ASLR, stack behavior and a little bit of math; without calling the kernel, using user-mode APIs, or issuing conditionally or unconditionally exiting instructions by hypervisors.

When a security violation is detected, the protection system crashes the current process by invoking INT 29h with STATUS_SXS_EARLY_DEACTIVATION, bypassing all exception handlers. In some cases, it also queues an APC to the kernel in order to terminate the current process.

Detections

Found in the main entrypoint (abdg.c) of this library, explained in order.

Summarized explanations; a specific detection may perform more extra/sub-checks than what it is explained here.

You can find more source code of other detection concepts in the antidebug\archived folder.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    951
  • 2

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    743
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    492
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    446
  • 6

    mcp-reverse

    1llu50ry/mcp-reverse

    MCP server exposing 180+ reverse-engineering tools that aggregate Ghidra, IDA, x64dbg, Frida and 56 other backends with native binary parsers and a 4,200-skill knowledge base.

    337

Explore all tools

Browse our collection of tools

View all tools →