(BQ)The book is designed to allow you to learn some theory behind most hacking tools and techniques, including debuggers, backdoors, fuzzers, emulators, and code injection, while providing you some insight into how prebuilt Python tools can be harnessed when a custom solution isn’t needed. You’ll learn not only how to use Python-based tools but how to build tools in Python. | 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 GRAY HAT PYTHON Master the Professional Hacker’s Python Toolkit 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. w w $ shelve in: COMPUTERS/Security ($ CDN) ISBN: 978-1-59327-192-3 5 399 5 9 781593 271923 6 89145 71921 5 SEITZ “ I L AY F L AT .” This book uses RepKover — a durable binding that won’t snap shut. T H E F I N E ST I N G E E K E N T E RTA I N M E N T ™ GRAY HAT PYTHON Python Programming for Hackers and Reverse Engineers JUSTIN SEITZ GRAY HAT PYTHON GR AY HAT PY THON Python Programming for H ack ers and Re ve rs e E n gi n e ers b y J u s t in S e i tz San .