Debugging Toolbox

Windbg scripts, debugging and troubleshooting tools and techniques to help you isolate software problems.

Browse by Tags

Tagged Content List
  • Blog Post: [WinDbg Script] Hacking Minesweeper for Windows 8

    <IMPORTANT UPDATE> Today two people told me the script was not working and they also said they did not have the minesweeper_ni.dll . It puzzled me because I tested the script and all the steps below countless times. So I started troubleshooting it (not debugging, troubleshooting :-)) and...
  • Blog Post: Debugging – Low Level Software Analysis

    Anybody there? Yeah I know, it’s been a while… Unfortunately in my current position I haven’t had one single opportunity to debug applications, which is why I’ve not been writing new blog articles. I have to admit I miss troubleshooting and debugging applications a lot! Hope...
  • Blog Post: Special Command—Editing memory with a, eb, ed, ew, eza, ezu

    When talking about editing memory, we usually think about patching code. Patching code means changing the binary code in memory for, let’s say, when you want to prove a hypothesis while debugging and you don’t have access to the source code. This is a very exciting subject, and WinDbg has the right...
  • Blog Post: [Windbg Script] Disabling IsDebuggerPresent()

    Years ago I needed to debug an application that just had the binary code with no symbols or source code. To make things even more difficult, I found out the application had some kind of anti-debugger protection. After analyzing the dead listing of the application using DumpBin I discovered the trick...
  • Blog Post: [Windbg Script] Playing with Notepad

    This is one of my “just for fun” scripts. It’s very simple and has some limitations, but it’s fun! What does it do? Open Notepad.exe then copy and paste a text on it or just write some stuff. After that, open the script and replace the StringsToFind and StringsToReplace with the strings you want to...
  • Blog Post: [Windbg Script] Playing with Minesweeper

    First, this script is not really about cheating. It does that with Minesweeper, but there are several other possibilities using a bit more bytes that do a better job to fool the application. However, the point here is to show you how powerful the debugger is or, more precisely, the power you have...
Page 1 of 1 (6 items)