Gray Hat Python: Python Programming for Hackers and Reverse Engineers
- Length: 232 pages
- Edition: 1
- Language: English
- Publisher: No Starch Press
- Publication Date: 2009-04-30
- ISBN-10: 1593271921
- ISBN-13: 9781593271923
- Sales Rank: #293460 (See Top 100 Books)
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?
Table of Contents
Chapter 1: Setting Up Your Development Environment
Chapter 2: Debuggers and Debugger Design
Chapter 3: Building a Windows Debugger
Chapter 4: PyDbg — A Pure Python Windows Debugger
Chapter 5: Immunity Debugger — The Best of Both Worlds
Chapter 6: Hooking
Chapter 7: DLL and Code Injection
Chapter 8: Fuzzing
Chapter 9: Sulley
Chapter 10: Fuzzing Windows Drivers
Chapter 11: IDAPython — Scripting IDA Pro
Chapter 12: PyEmu — The Scriptable Emulator