Chapter 11. Basic Windows Exploits

In this chapter, we will show how to build basic Windows exploits.

  • Compiling Windows programs

    • Linking with debugging information

  • Debugging Windows programs with Windows console debuggers

    • Using symbols

    • Disassembling Windows programs

  • Debugging Windows programs with OllyDbg

  • Building your first Windows exploit of meet.exe

  • Real-world Windows exploit example

Up to this point in the book, we’ve been using Linux as our platform of choice because it’s easy for most people interested in hacking to get hold of a Linux machine for experimentation. Many of the interesting bugs you’ll want to exploit, however, are on the more-often-used Windows platform. Luckily, the same bugs can be exploited largely the same way on both Linux ...

Get Gray Hat Hacking, Second Edition, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.