# Debugger Internals

**HyperDbg** is designed based on Hypervisor From Scratch tutorial.

It's a hypervisor plus some other processor features exported to user-mode to make debugging applications and the kernel possible.

## Tutorials

Here is the link to these parts:

### **Part 1 - Basic Concepts & Configure Testing Environment**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-1/>)

### **Part 2 - Entering VMX Operation**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-2/>)

### **Part 3 - Setting up Our First Virtual Machine**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-3/>)

### **Part 4 - Address Translation Using Extended Page Table (EPT)**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-4/>)

### **Part 5 - Setting up VMCS & Running Guest Code**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-5/>)

### **Part 6 - Virtualizing An Already Running System**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-6/>)

### **Part 7 - Using EPT & Page-Level Monitoring Features**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-7/>)

### **Part 8 - How To Do Magic With Hypervisor!**

(<https://rayanfam.com/topics/hypervisor-from-scratch-part-8/>)

## HyperDbg Source Code

You can see the source code for these series on GitHub.

(<https://github.com/SinaKarvandi/Hypervisor-From-Scratch>)

## HyperDbg Design

Here's a diagram that shows how HyperDbg works!

![](/files/ifHim8XV1x70GvmPSZ83)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hyperdbg.org/design/debugger-internals.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
