Gray Hat Python: Python Programming for Hackers and Reverse Engineers

  • 3h 6m
  • Justin Seitz
  • No Starch Press
  • 2009

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?

About the Author

Justin Seitz is a Senior Security Researcher for Immunity, Inc., where he spends a great deal of time bughunting, reverse engineering, doing Python development, and malware analysis.

In this Book

  • Setting Up Your Development Environment
  • Debuggers and Debugger Design
  • Building a Windows Debugger
  • PyDbg—A Pure Python Windows Debugger
  • Immunity Debugger—The Best of Both Worlds
  • Hooking
  • DLL and Code Injection
  • Fuzzing
  • Sulley
  • Fuzzing Windows Drivers
  • IDAPython—Scripting IDA Pro
  • PyEmu—The Scriptable Emulator
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.5 of 122 users Rating 4.5 of 122 users (122)
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)