Book 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?
Publisher resources
Table of contents
-
Gray Hat Python
- FOREWORD
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1. SETTING UP YOUR DEVELOPMENT ENVIRONMENT
- 2. DEBUGGERS AND DEBUGGER DESIGN
- 3. BUILDING A WINDOWS DEBUGGER
- 4. PYDBG—A PURE PYTHON WINDOWS DEBUGGER
- 5. IMMUNITY DEBUGGER—THE BEST OF BOTH WORLDS
- 6. HOOKING
- 7. DLL AND CODE INJECTION
- 8. FUZZING
- 9. SULLEY
- 10. FUZZING WINDOWS DRIVERS
- 11. IDAPYTHON—SCRIPTING IDA PRO
- 12. PYEMU—THE SCRIPTABLE EMULATOR
- Colophon
Product information
- Title: Gray Hat Python
- Author(s):
- Release date: April 2009
- Publisher(s): No Starch Press
- ISBN: 9781593271923
You might also like
book
Gray Hat C#
Learn to use C#'s powerful set of core libraries to automate tedious yet important tasks like …
book
Raspberry Pi Image Processing Programming: With NumPy, SciPy, Matplotlib, and OpenCV
Understand the concepts of image processing with Python 3 and create applications using Raspberry Pi 4. …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use GitHub Copilot: Additional Tips
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …