# mrexodia/titanhide architecture

> Architecture diagram of the GitHub repository mrexodia/titanhide, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mrexodia/titanhide
- Repository: https://github.com/mrexodia/titanhide

## Overview

TitanHide is a Windows kernel driver that masks debugger-related information for selected processes. The main workflow is to configure hide options for a process through the driver interface; SSDT hooks then alter selected Nt* results. The repository also provides a GUI, an x64dbg plugin, and an OllyDbg integration. The graph preserves documented hook capabilities and major internal layers; some driver lifecycle and integration details are unsampled, so unsupported call paths are omitted.

Main entry points: [`TitanHide/hooks.cpp`](https://github.com/mrexodia/titanhide/blob/master/TitanHide/hooks.cpp) (Nt* hook handlers), [`TitanHide/undocumented.cpp`](https://github.com/mrexodia/titanhide/blob/master/TitanHide/undocumented.cpp) (Native API definitions), [`TitanHide/TitanHide.h`](https://github.com/mrexodia/titanhide/blob/master/TitanHide/TitanHide.h) (Hide command API), [`TitanHide_x64dbg/plugin.cpp`](https://github.com/mrexodia/titanhide/blob/master/TitanHide_x64dbg/plugin.cpp) (x64dbg plugin)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_client["User controls"]
  node_gui["Control GUI<br/>[main.cpp]"]
end

subgraph group_driver["Kernel driver"]
  node_protocol["Hide command API<br/>[TitanHide.h]"]
  node_driverentry["Driver lifecycle<br/>[TitanHide.cpp]"]
  node_hider["Hidden-process state<br/>[hider.cpp]"]
  node_hooks["Nt* hook handlers<br/>[hooks.cpp]"]
  node_threadhide["Thread hiding"]
end

subgraph group_internals["Kernel internals"]
  node_ssdt["SSDT hook manager<br/>[ssdt.cpp]"]
  node_undocumented["Native API definitions<br/>[undocumented.cpp]"]
  node_hooklib["Hook primitives<br/>[hooklib.cpp]"]
  node_platform["Kernel platform helpers<br/>[_global.cpp]"]
  node_logging["Driver logging<br/>[log.cpp]"]
  node_misc["Kernel utilities<br/>[misc.cpp]"]
end

subgraph group_integrations["Debugger integrations"]
  node_xdbplugin["x64dbg plugin<br/>[plugin.cpp]"]
  node_olly["OllyDbg integration<br/>[TitanHideOlly.cpp]"]
  node_xdbsdk["x64dbg SDK surface<br/>[pluginmain.h]"]
  node_titanengine["TitanEngine interface<br/>[TitanHideTE.cpp]"]
end

node_user(("Debugger user"))

node_user -->|"sets options"| node_gui
node_gui -->|"builds hide request"| node_protocol
node_user -->|"issues commands"| node_xdbplugin
node_xdbplugin -->|"uses debugger API"| node_xdbsdk
node_xdbplugin -->|"writes hide request"| node_protocol
node_olly -->|"uses command types"| node_protocol
node_protocol -.->|"defines request"| node_driverentry
node_driverentry -.->|"updates hide state"| node_hider
node_hooks -->|"registers hooks"| node_ssdt
node_hooks -->|"checks hide options"| node_hider
node_hooks -->|"calls native routines"| node_undocumented
node_hooks -->|"logs hook activity"| node_logging
node_hooks -->|"uses utilities"| node_misc
node_threadhide -->|"uses native definitions"| node_undocumented
node_threadhide -->|"logs thread activity"| node_logging
node_ssdt -->|"uses hook primitives"| node_hooklib
node_undocumented -->|"uses hook interface"| node_ssdt
node_undocumented -->|"logs native activity"| node_logging

click node_gui "https://github.com/mrexodia/titanhide/blob/master/TitanHideGUI/main.cpp"
click node_xdbplugin "https://github.com/mrexodia/titanhide/blob/master/TitanHide_x64dbg/plugin.cpp"
click node_olly "https://github.com/mrexodia/titanhide/blob/master/TitanHide_OllyDbg/TitanHideOlly.cpp"
click node_protocol "https://github.com/mrexodia/titanhide/blob/master/TitanHide/TitanHide.h"
click node_driverentry "https://github.com/mrexodia/titanhide/blob/master/TitanHide/TitanHide.cpp"
click node_hider "https://github.com/mrexodia/titanhide/blob/master/TitanHide/hider.cpp"
click node_hooks "https://github.com/mrexodia/titanhide/blob/master/TitanHide/hooks.cpp"
click node_ssdt "https://github.com/mrexodia/titanhide/blob/master/TitanHide/ssdt.cpp"
click node_undocumented "https://github.com/mrexodia/titanhide/blob/master/TitanHide/undocumented.cpp"
click node_threadhide "https://github.com/mrexodia/titanhide/blob/master/TitanHide/threadhidefromdbg.cpp"
click node_hooklib "https://github.com/mrexodia/titanhide/blob/master/TitanHide/hooklib.cpp"
click node_platform "https://github.com/mrexodia/titanhide/blob/master/TitanHide/_global.cpp"
click node_logging "https://github.com/mrexodia/titanhide/blob/master/TitanHide/log.cpp"
click node_misc "https://github.com/mrexodia/titanhide/blob/master/TitanHide/misc.cpp"
click node_xdbsdk "https://github.com/mrexodia/titanhide/blob/master/TitanHide_x64dbg/pluginmain.h"
click node_titanengine "https://github.com/mrexodia/titanhide/blob/master/TitanHide_TitanEngine/TitanHideTE.cpp"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gui,node_user toneBlue
class node_protocol,node_driverentry,node_hider,node_hooks,node_threadhide toneAmber
class node_ssdt,node_undocumented,node_hooklib,node_platform,node_logging,node_misc toneMint
class node_xdbplugin,node_olly,node_xdbsdk,node_titanengine toneRose
```

## Components

### User controls

- [Control GUI](https://github.com/mrexodia/titanhide/blob/master/TitanHideGUI/main.cpp): `TitanHideGUI/main.cpp`

### Kernel driver

- [Hide command API](https://github.com/mrexodia/titanhide/blob/master/TitanHide/TitanHide.h): `TitanHide/TitanHide.h`
- [Driver lifecycle](https://github.com/mrexodia/titanhide/blob/master/TitanHide/TitanHide.cpp): `TitanHide/TitanHide.cpp`
- [Hidden-process state](https://github.com/mrexodia/titanhide/blob/master/TitanHide/hider.cpp): `TitanHide/hider.cpp`
- [Nt* hook handlers](https://github.com/mrexodia/titanhide/blob/master/TitanHide/hooks.cpp): `TitanHide/hooks.cpp`
- [Thread hiding](https://github.com/mrexodia/titanhide/blob/master/TitanHide/threadhidefromdbg.cpp): `TitanHide/threadhidefromdbg.cpp`

### Kernel internals

- [SSDT hook manager](https://github.com/mrexodia/titanhide/blob/master/TitanHide/ssdt.cpp): `TitanHide/ssdt.cpp`
- [Native API definitions](https://github.com/mrexodia/titanhide/blob/master/TitanHide/undocumented.cpp): `TitanHide/undocumented.cpp`
- [Hook primitives](https://github.com/mrexodia/titanhide/blob/master/TitanHide/hooklib.cpp): `TitanHide/hooklib.cpp`
- [Kernel platform helpers](https://github.com/mrexodia/titanhide/blob/master/TitanHide/_global.cpp): `TitanHide/_global.cpp`
- [Driver logging](https://github.com/mrexodia/titanhide/blob/master/TitanHide/log.cpp): `TitanHide/log.cpp`
- [Kernel utilities](https://github.com/mrexodia/titanhide/blob/master/TitanHide/misc.cpp): `TitanHide/misc.cpp`

### Debugger integrations

- [x64dbg plugin](https://github.com/mrexodia/titanhide/blob/master/TitanHide_x64dbg/plugin.cpp): `TitanHide_x64dbg/plugin.cpp`
- [OllyDbg integration](https://github.com/mrexodia/titanhide/blob/master/TitanHide_OllyDbg/TitanHideOlly.cpp): `TitanHide_OllyDbg/TitanHideOlly.cpp`
- [x64dbg SDK surface](https://github.com/mrexodia/titanhide/blob/master/TitanHide_x64dbg/pluginmain.h): `TitanHide_x64dbg/pluginmain.h`
- [TitanEngine interface](https://github.com/mrexodia/titanhide/blob/master/TitanHide_TitanEngine/TitanHideTE.cpp): `TitanHide_TitanEngine/TitanHideTE.cpp`

### Other components

- **Debugger user**

## Connections

- Debugger user → Control GUI: sets options (evidence: `TitanHideGUI/main.cpp`)
- Control GUI → Hide command API: builds hide request (evidence: `TitanHideGUI/main.cpp`)
- Debugger user → x64dbg plugin: issues commands (evidence: `TitanHide_x64dbg/plugin.cpp`)
- x64dbg plugin → x64dbg SDK surface: uses debugger API (evidence: `TitanHide_x64dbg/pluginmain.h`)
- x64dbg plugin → Hide command API: writes hide request (evidence: `TitanHide_x64dbg/plugin.cpp`)
- OllyDbg integration → Hide command API: uses command types (evidence: `TitanHide_OllyDbg/TitanHideOlly.cpp`)
- Hide command API → Driver lifecycle: defines request (evidence: `README.md`)
- Driver lifecycle → Hidden-process state: updates hide state
- Nt* hook handlers → SSDT hook manager: registers hooks (evidence: `TitanHide/hooks.cpp`)
- Nt* hook handlers → Hidden-process state: checks hide options (evidence: `TitanHide/hooks.cpp`)
- Nt* hook handlers → Native API definitions: calls native routines (evidence: `TitanHide/hooks.cpp`)
- Nt* hook handlers → Driver logging: logs hook activity (evidence: `TitanHide/hooks.cpp`)
- Nt* hook handlers → Kernel utilities: uses utilities (evidence: `TitanHide/hooks.cpp`)
- Thread hiding → Native API definitions: uses native definitions (evidence: `TitanHide/threadhidefromdbg.cpp`)
- Thread hiding → Driver logging: logs thread activity (evidence: `TitanHide/threadhidefromdbg.cpp`)
- SSDT hook manager → Hook primitives: uses hook primitives
- Native API definitions → SSDT hook manager: uses hook interface (evidence: `TitanHide/undocumented.cpp`)
- Native API definitions → Driver logging: logs native activity (evidence: `TitanHide/undocumented.cpp`)
