NO STARCH PRESS
"the finest in geek entertainment"™
Home  | Catalog  | Blog  | Planet  | Media  | Buy  | About  | Cart


book main | contents | reviews | updates


Gray Hat Python
Python Programming for Hackers and Reverse Engineers
by Justin Seitz

April 2009, 216 pp.
ISBN-13 978-1-59327-192-3

$39.95
$31.95 Ebook Bundle (PDF, Mobi, ePub)
$43.95 Ebook and Paperback

Download Chapter 2: "Debuggers and Debugger Design" and Chapter 4: "PyDbg: A Pure Python Windows Debugger"

Download the code from the book: .zip [*]

Python is fast becoming the programming language of choice for hackers, reverse engineers, and software testers because it's easy to write quickly, and it has the low-level support and libraries that make hackers happy. But until now, there has been no real manual on how to use Python for a variety of hacking tasks. You had to dig through forum posts and man pages, endlessly tweaking your own code to get everything working. Not anymore.

Gray Hat Python explains the concepts behind hacking tools and techniques like debuggers, trojans, fuzzers, and emulators. But author Justin Seitz goes beyond theory, showing you how to harness existing Python-based security tools - and how to build your own when the pre-built ones won't cut it.

You'll learn how to:

  • Automate tedious reversing and security tasks
  • Design and program your own debugger
  • Learn how to fuzz Windows drivers and create powerful fuzzers from scratch
  • Have fun with code and library injection, soft and hard hooking techniques, and other software trickery
  • Sniff secure traffic out of an encrypted web browser session
  • Use PyDBG, Immunity Debugger, Sulley, IDAPython, PyEMU, and more

The world's best hackers are using Python to do their handiwork. Shouldn't you?


Justin Seitz is a Senior Security Researcher for Immunity, Inc., where he spends his time bug hunting, reverse engineering, writing exploits, and coding Python.


* Because of its contents, this zip file may set off false positives in your anti-virus program. To confirm that you have the files that Justin is using in his book, make sure that the zip file you downloaded has the following MD5 sum: d7d50d798d8928ef4835ad8bb713f9ac


book main | contents | reviews | updates



Copyright 2009 by No Starch Press