Windows kernel debugger for Linux hosts running Windows under KVM/QEMU
Windows kernel debugger for Linux hosts running Windows under KVM/QEMU
A WinDbg-like Windows debugger for Linux and macOS, with support for kernel-mode and user-mode debugging in virtual machines and offline crash-dump analysis.
| Debugging via REPL | Debugging via VSCode + DAP |
|---|---|
ntoseye supports 64-bit AMD64 and ARM64 Windows 10 and 11 targets.
ntoseye supports any hypervisor, cloud VM, or physical machine reachable over KDNET. KVM/QEMU, VMware Workstation, and UTM guests additionally get KDCOM, GDB, and memory-only backends.
ntoseye downloads symbols and images from Microsoft's official symbol server when required. Config, cache, and REPL state live under ~/.ntoseye:
~/.ntoseye/commands/ for custom scripted commands~/.ntoseye/symbols/ for PDBs and images, a symbol store in the symstore layout that WinDbg, IDA, Ghidra, and rizin read~/.ntoseye/aliases for command aliases~/.ntoseye/history for persistent REPL historycurl --proto '=https' --tlsv1.2 -LsSf https://github.com/dmaivel/ntoseye/releases/latest/download/ntoseye-installer.sh | shPrebuilt release binaries include the CLI and MCP server but omit embedded Python for portability. Use a Cargo or source build for in-REPL Python commands; the standalone pip install ntoseye SDK needs neither.
cargo install ntoseyecargo install and default source builds enable embedded Python and link against the local Python installation.
For standalone debugger automation from Python on Linux or Apple Silicon macOS:
pip install ntoseyeThe Python package exposes the debugger through import ntoseye; it does not install the ntoseye CLI. See the Python SDK documentation.
git clone https://github.com/dmaivel/ntoseye.git
cd ntoseye
cargo build --releaseTo build without embedded Python:
cargo build --release --no-default-features --features cli,mcpIf you are using QEMU/KVM, VMware, or UTM, you can use ntoseye configure for easy setup. Otherwise, look at KDNET instructions.
ntoseye configure and select the hypervisor, virtual machine, and debugger backend. Note the Run command it prints.ntoseye to inspect the hypervisor process. This resets on reboot:echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scopeRun command with sudo.Run ntoseye status at any time to inspect configured transports, assigned guest ports, endpoints, and launch commands without changing a VM.
ntoseye configure handles automatic setup for supported libvirt, VMware Workstation, and UTM guests. For plain QEMU or manual configuration, see the KVM/QEMU, VMware, and UTM setup guides.
For any other hypervisor, a cloud VM, or a physical machine, follow the KDNET guide instead; configure is not needed.
See the backend comparison table.
The debugger is self-documented: run ntoseye --help for command-line arguments, and press tab in the REPL for completions and descriptions of commands, symbols, and types.
.sympath/.srcpath, source breakpointskdnet.exe guest setup, host launch, reboot behavior.kdfiles, loading a driver from the host instead of the guestFunctionality regarding initialization of guest information was written with the help of the following sources:
No open issues yet, or sync has not completed.