
Black Hat Python, 2nd Edition
Python Programming for Hackers and Pentesters
A hands-on look at Python for offensive security, from network sniffers to memory forensics.
- Themes
- Python for offensive security, Hacking and malware tools, Offensive memory forensics
Python, Offensively
Come here for
- Build tools for security testing with Python 3
- Explore malware tasks, web hacking, and virtual machine forensics
Expect
- Concrete techniques across Python libraries and offensive security
- A practical, tool-focused view of programming’s less polite uses
Where it sits
How strongly BookFrontier reads the book as belonging to each subject.
Nearest books
Matched by our semantic model. Ordered by what its readers also loved.
Practical Malware AnalysisMichael Sikorski, Andrew Honig56% subject matchShares Network Security and Viruses & Malware
Twisted Network Programming EssentialsJessica McKellar, Abe Fettig49% subject matchShares Python Programming
Hacker's DelightHenry S. Warren60% subject match
Think BayesAllen Downey49% subject matchShares Python Programming
Automate the Boring Stuff with Python, 2nd EditionAl Sweigart64% subject matchShares Python Programming
Introduction to Machine Learning with PythonAndreas Müller, Sarah Guido47% subject matchShares Python Programming
How Linux Works, 3rd EditionBrian Ward48% subject match
The Linux Command Line, 3rd EditionWilliam Shotts48% subject match
For younger readers: Python for Kids, Python for Kids, 2nd Edition, Adventures in Python
Start with three books, and this one can be the first.
Members get a new edition every morning: a route out from their books to essays, research and talks, with the reason for each.
Sign upAbout this book
Fully-updated for Python 3, the second edition of this worldwide bestseller (over 100,000 copies sold) explores the stealthier side of programming and brings you all new strategies for your hacking projects.
When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts.
Continue reading
In this second edition of the bestselling Black Hat Python, you’ll explore the darker side of Python’s capabilities: everything from writing network sniffers, stealing email credentials, and bruteforcing directories to crafting mutation fuzzers, investigating virtual machines, and creating stealthy trojans.
All of the code in this edition has been updated to Python 3.x. You’ll also find new coverage of bit shifting, code hygiene, and offensive forensics with the Volatility Framework as well as expanded explanations of the Python libraries ctypes, struct, lxml, and BeautifulSoup, and offensive hacking strategies like splitting bytes, leveraging computer vision libraries, and scraping websites.
You’ll even learn how to:
- Create a trojan command-and-control server using GitHub
- Detect sandboxing and automate common malware tasks like keylogging and screenshotting
- Extend the Burp Suite web-hacking tool
- Escalate Windows privileges with creative process control
- Use offensive memory forensics tricks to retrieve password hashes and find vulnerabilities on a virtual machine
- Abuse Windows COM automation
- Exfiltrate data from a network undetected
When it comes to offensive security, you need to be able to create powerful tools on the fly. Learn how with Black Hat Python.
Publisher details
Publisher categories
- Network Security
- Python Programming
- Computer Security
- Authors
- Justin Seitz, Tim Arnold
- Publisher
- No Starch Press
- Published
- April 14, 2021
- Format
- Print & ebook
- Reading lane
- Network Security