<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debugging on Prepakis Georgios | Kernelstub | Security Researcher</title><link>https://blog.kernelstub.dev/tags/debugging/</link><description>Recent content in Debugging on Prepakis Georgios | Kernelstub | Security Researcher</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 10 Mar 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.kernelstub.dev/tags/debugging/index.xml" rel="self" type="application/rss+xml"/><item><title>Advanced Windows Kernel Debugging Techniques</title><link>https://blog.kernelstub.dev/posts/advanced-windows-kernel-debugging-techniques/</link><pubDate>Mon, 10 Mar 2025 00:00:00 +0000</pubDate><guid>https://blog.kernelstub.dev/posts/advanced-windows-kernel-debugging-techniques/</guid><description>&lt;p&gt;Kernel debugging is a different animal from the user-mode debugging most developers grow up with. You can&amp;rsquo;t just attach a debugger to a live kernel the way you&amp;rsquo;d attach to a misbehaving process, because the kernel is the thing that&amp;rsquo;s supposed to be managing every process on the box, including the debugger&amp;rsquo;s own. If it halts, everything halts. So Windows solves this the old-fashioned way: two machines. One is the &amp;ldquo;target,&amp;rdquo; the system whose kernel you actually want to inspect. The other is the &amp;ldquo;host,&amp;rdquo; running WinDbg, connected over a transport that survives the target being frozen mid-instruction: a network link, a serial cable, or USB. When you set a breakpoint and it hits, the &lt;em&gt;entire target machine&lt;/em&gt; stops, not just one process, and control passes to your host over that wire. That&amp;rsquo;s the mental model to keep in the back of your head for everything that follows: you&amp;rsquo;re not debugging a program, you&amp;rsquo;re debugging an operating system from the outside, one machine talking to another.&lt;/p&gt;</description></item></channel></rss>