Find a file
2022-02-06 16:10:19 -08:00
.github changes to script test case generator 2021-12-20 01:50:32 +03:30
hyperdbg Refactor: Improve memory management & readability 2022-02-06 16:06:42 -08:00
tasks automate creating script engine's test environment 2021-12-19 16:08:14 +03:30
.gitattributes add git attributes 2020-04-15 14:11:54 -07:00
.gitignore add test cases folder to gitignore 2021-12-19 16:13:06 +03:30
.gitmodules Update .gitmodules 2022-02-06 16:10:19 -08:00
CHANGELOG.md Create CHANGELOG.md 2021-01-07 15:39:57 -08:00
clang-format.bat Update clang-format.bat 2022-02-06 15:38:32 -08:00
clean.bat change file hierarchy 2021-09-26 17:49:04 +03:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2020-06-15 06:28:40 -07:00
CONTRIBUTING.md Update CONTRIBUTING.md 2021-12-28 01:37:06 +03:30
doxyfile update doxygen file 2021-10-07 14:08:38 +03:30
doxygen.bat change file hierarchy 2021-09-26 17:49:04 +03:30
HOWTO.md Update HOWTO.md 2021-12-19 16:26:22 +03:30
LICENSE Add License 2020-03-25 01:35:23 -07:00
msvc-build.bat Update automation scripts 2021-12-02 09:44:53 -08:00
README.md Update README.md 2022-02-07 02:43:00 +03:30

Website Documentation Doxygen License Twitter

HyperDbg Debugger

HyperDbg Debugger

HyperDbg is now available for testing! Please test it and provide us with your valuable feedback and possible bugs.

HyperDbg Debugger is an open-source, community-driven, hypervisor-assisted, user-mode and kernel-mode Windows debugger with a focus on using modern hardware technologies. It is a debugger designed for analyzing, fuzzing and reversing.

Follow HyperDbg on Twitter to get notified about new releases.

Description

HyperDbg is designed with a focus on using modern hardware technologies to provide new features to the debuggers' world. It operates on top of Windows by virtualizing an already running system using Intel VT-x and Intel PT. This debugger aims not to use any APIs and software debugging mechanisms, but instead, it uses Second Layer Page Table (a.k.a. Extended Page Table or EPT) extensively to monitor both kernel and user executions.

HyperDbg Debugger

HyperDbg comes with features like hidden hooks, which is as fast as old inline hooks, but also stealth. It mimics hardware debug registers for (read & write) to a specific location, but this time entirely invisible for both Windows kernel and the programs, and of course without any limitation in size or count!

Using TLB-splitting, and having features such as measuring code coverage and monitoring all mov(s) to/from memory by a function, makes HyperDbg a unique debugger.

Although it has novel features, HyperDbg tries to be as stealth as possible. It doesnt use any debugging APIs to debug Windows or any application, so classic anti-debugging methods wont detect it. Also, it resists the exploitation of time delta methods (e.g., RDTSC/RDTSCP) to detect the presence of hypervisors, therefore making it much harder for applications, packers, protectors, malware, anti-cheat engines, etc. to discover the debugger.

Unique Features

First Release (v0.1.0.0)

  • Advanced Hypervisor-based User Mode Debugging [link][link][link]
  • Cutting-edge Kernel Mode Debugger [link][link][link]
  • Classic EPT Hook (Hidden Breakpoint) [link][link][link]
  • Inline EPT Hook (Inline Hook) [link][link]
  • Monitor Memory For R/W (Emulating Hardware Debug Registers Without Limitation) [link][link][link]
  • SYSCALL Hook (Disable EFER & Handle #UD) [link][link][link]
  • SYSRET Hook (Disable EFER & Handle #UD) [link][link]
  • CPUID Hook & Monitor [link][link]
  • RDMSR Hook & Monitor [link][link]
  • WRMSR Hook & Monitor [link][link]
  • RDTSC/RDTSCP Hook & Monitor [link]
  • RDPMC Hook & Monitor [link]
  • VMCALL Hook & Monitor [link]
  • Debug Registers Hook & Monitor [link]
  • I/O Port (In Instruction) Hook & Monitor [link][link]
  • I/O Port (Out Instruction) Hook & Monitor [link][link]
  • MMIO Monitor [link]
  • Exception (IDT < 32) Monitor [link][link][link]
  • External-Interrupt (IDT > 32) Monitor [link][link][link]
  • Running Automated Scripts [link]
  • Transparent-mode (Anti-debugging and Anti-hypervisor Resistance) [link][link]
  • Running Custom Assembly In Both VMX-root, VMX non-root (Kernel & User) [link]
  • Checking For Custom Conditions [link][link]
  • Process-specific & Thread-specific Debugging [link][link][link]
  • VMX-root Compatible Message Tracing [link]
  • Powerful Kernel Side Scripting Engine [link][link]
  • Support To Symbols (Parsing PDB Files) [link][link]
  • Event Forwarding (#DFIR) [link][link]
  • Transparent Breakpoint Handler [link][link]
  • Various Custom Scripts [link]

Second Release (v0.2.0.0)

(not released yet !)

Build & Installation

If you want to build HyperDbg, you should clone HyperDbg with --recursive flag.

git clone --recursive https://github.com/HyperDbg/HyperDbg.git

Please visit Build & Install and Quick Start for a detailed explanation of how to start with HyperDbg. You can also see FAQ for more information.

How does it work?

You can read about internal design of HyperDbg and its features in the documentation. Here's a top-level diagram that shows how HyperDbg works:

HyperDbg Design


Scripts

You can write your scripts to automate your debugging journey. HyperDbg has a powerful, fast, and entirely kernel-side implemented script engine.

Credits

Contributing

Contributing in HyperDbg is super appreciated. We have made a list of potential tasks that you might be intersted in contributing towards.

If you want to contribute in HyperDbg please read Contribution Guide.

License

HyperDbg, and all its submodules and repos, unless a license is otherwise specified, are licensed under GPLv3 LICENSE.

Dependencies are licensed by their own.