Quick Start¶
Requirements¶
- Host: Windows 10/11 x64 with .NET 9 Runtime
- VM: Windows 10 x64 in VMware with
bcdedit /set testsigning on - Network: TCP connectivity between host and VM
Setup¶
VM Side¶
- Copy
KfLoader.exe,KfRelay.exe, andKernelFlirt.systo the VM - Open an elevated command prompt:
KfRelay listens on port 31337 by default.
Host Side¶
- Run
KernelFlirt.exe - Click Connect in the toolbar
- Enter the VM's IP address (e.g.,
10.100.102.4) - Status bar shows "Connected" and kernel modules load
Opening a Program¶
- File → Open & Debug — browse the VM filesystem remotely
- Select an EXE or SYS file
- Process is created suspended with a breakpoint at the entry point
- Press F9 (Run) — execution stops at the entry point
- Modules, imports, strings, and sections load automatically
Opening a Service¶
- Debug → Debug Service — enter the service name
- KernelFlirt patches the entry point, starts the service through SCM
- Catches the entry point breakpoint
- Full debugging from
ServiceMain
Kernel Driver Debugging¶
- Connect to VM
- Open Kernel Modules tab — all loaded drivers listed
- Double-click any module to navigate to it
- Set breakpoints on driver functions
- Trigger the driver (e.g., send IOCTL from a test app)
- Breakpoint hits — inspect kernel-mode state
First Steps¶
| Action | Shortcut |
|---|---|
| Toggle breakpoint | F2 |
| Run / Continue | F9 / F5 |
| Step into | F7 |
| Step over | F8 |
| Step out | Ctrl+F9 |
| Run to cursor | F4 |
| Go to address | Ctrl+G |
| Decompile function | Right-click → Decompile |