Skip to main content
Gray Hat Python: Python Programming for Hackers and Reverse Engineers

Gray Hat Python: Python Programming for Hackers and Reverse Engineers

Current price: $39.95
Publication Date: April 15th, 2009
Publisher:
No Starch Press
ISBN:
9781593271923
Pages:
216

Description

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 his time bug hunting, reverse engineering, writing exploits, and coding Python. He is the author of Black Hat Python (No Starch Press).

Praise for Gray Hat Python: Python Programming for Hackers and Reverse Engineers

"I can recommend Gray Hat Python to all people who want to get an overview of hacking tools and hacking techniques that make use of Python. It is a no-nonsense book which follows a simple recipe: give a brief overview of a hacking technique and then dive straight into a real-world example."
—The-Interweb.com

"A headfirst dive into the day-to-day coding all app pentesters end up doing."
—Thomas Ptacek

Gray Hat Python
"succeeded in showing me with relative ease how a trained security researcher or determined hacker could use relatively straightforward Python scripts to infiltrate the most prevalent consumer operating system today."
—Dr. Dobb's CodeTalk

"Justin does a great job elaborating the code examples used throughout [Gray Hat Python]. . . Chapter 3 is just downright awesome."
—Carnal0wnage

Gray Hat Python "is a must for all people who deal with security on a technical level."
—Geek at Large

"This book was a joy to read."
—Kramses blog

Gray Hat Python "is really well-written and has a nice structure which is common among No Starch Press books; that is, more code less talk."
—Xorl.wordpress.com

"If you use python for your day-to-day scripting and perform some reverse engineering/debugging/fuzzing tasks, then this definitely a book that is bound to catch your attention."
—int 2Eh

"I recommend the book. . . It's a good book to help security engineers use python to begin analyzing software vulnerabilities. Primarily it's a book about using python to debug and to a lesser degree fuzz. It's a good insight into how Immunity does things and will help you look at CANVAS code a little easier. For that alone it's definitely worth buying."
—cyberwart