Giter Club home page Giter Club logo

hades-antidebug's Introduction

Hades - An advanced usermode anti-debug library for your Windows x64 C++ project

Usage

  • Detect most of the debugging types (usermode only).
  • Bypass and detect all usermode debugger-hide tools and any attempt to hide the presence of debugger.
  • Get detailed information and take control for debug tools used.
  • Get access to undocumented kernel functions and bypass usermode hooks (limited).
  • Call Windows API functions safely: Bypass IAT (import address table) manipulation and other usermode hooks on Windows API functions (limited).

How to use

  • Built the library, depending on your project preferences
  • Include library in your project
  • Include the headers you want to use. You have these options:
    • AntiDebug.hpp contains ready-to-use anti-debug functions for self and remote process. If you not searching for anything more advanced than that, this is the only header you have to include.
    • Include Kernel.hpp only if you want to use Hades::Kernel in your project (Kernel functions). With this you can get access to undocumented kernel functions of Windows and bypass usermode hooks or breakpoints has been set on these functions.
    • Include WindowsAPI.hpp only if you want to use Hades::WindowsAPI in your project (Windows API functions with Hades). With this you can use safely Windows API and bypass IAT manipulation, usermode hooks and breakpoints has been set on these functions.

There are available examples in TestApp project.

Warning: This is for educational purposes only!

The security is based on Windows kernel. Hades do calls to the kernel with the lowest possible way that usermode allows. Any future Windows update may cause failure or even generate false detections from this library. However it tested and working on both Windows 10 and 11 versions. Not tested on older windows versions

To protect your application from reverse engineering, you will need more than just debugging detection. Unfortunately detecting debuggers from usermode is very weak because advanced attackers can find them very easy and bypass them or sometimes they not even need to debug it. Luckily there are more techniques to make attacker life harder and soon will give up trying before make any noticeable progress. Hades target is to provide a complete protector for any application. Soon will include:

  • Code signature scans to detect if specific code is loaded into process or system memory (like ScyllaHide plugin)
  • Compile-time data encryption, such as strings, numbers, boolean.
  • Compile-time code obfuscation by compiling and adding random working junk code between original code.
  • Code obfuscation by insert random bytes in your binary executable to cause issues with automatic analysis tools (aka decompilers like IDA and Ghidra)
  • Code virtualization

hades-antidebug's People

Contributors

giannis101 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chakrit1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.