The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...

Go deeper than the surface of cybersecurity and see what really happens under the hood. This bundle brings together Zig, C and Ruby to explore exploit development, malware engineering, reverse engineering and offensive security tooling through practical code and hands-on examples. Built for developers, researchers and security practitioners, these books show you how modern security techniques work while keeping the focus on understanding, experimentation and defense.
Bought separately
$97.00
Minimum price
$49.00
$59.00
About the Bundle
The BlackHat Books Bundle is a practical collection for developers, security researchers and cybersecurity professionals who want to understand what happens at the lower levels of modern security.
Across BlackHat Zig, Black Hat C and BlackHat Ruby, the books cover offensive security, exploit development, malware analysis, reverse engineering and security tooling from three different programming perspectives. Each book takes a hands-on approach, using real code and practical examples to explain how security tools are built, how vulnerabilities can be studied and how modern attacks work under the hood.
BlackHat Zig focuses on using Zig for low-level security research, exploit development, reverse engineering and security tooling. Black Hat C goes deeper into memory, the stack, kernel-level behavior and malware engineering. BlackHat Ruby takes a different approach, showing how Ruby can be used to build penetration testing tools, scanners, fuzzers, protocol analyzers and exploit research frameworks.
The books are designed to be useful beyond simply learning offensive techniques. Defensive concepts, detection methods and security countermeasures are covered throughout so readers can better understand both how attacks are developed and how they can be identified and mitigated.
The examples are intended for legal and controlled environments such as private labs, CTFs, research setups and authorized security testing. The goal of the bundle is simple: learn how things work, build the tools, understand the techniques and use that knowledge to become better at finding and fixing security problems.
About the Books
This book explores how Zig, a modern systems programming language focused on zero-cost abstractions, compile-time metaprogramming, explicit memory management, and seamless C interoperability, can be applied across a wide range of cybersecurity disciplines. Topics include exploit development, reverse engineering, network security tooling, red team tradecraft, kernel instrumentation, malware analysis, and defensive security engineering.
The chapters progress from core language concepts to increasingly advanced security applications, combining practical explanations with real-world examples, case studies, and hands-on projects. Along the way, readers will learn how Zig's emphasis on performance, predictability, and low-level control makes it a strong fit for security-focused development.
The book takes an ethical and educational approach throughout. The goal is to understand modern threats and defensive techniques by building and studying the tools used to analyze, detect, and respond to security challenges.
This book teaches how modern attacks work at the level where they actually happen: in memory, on the stack, inside the kernel. It is written for security engineers, penetration testers, malware analysts, and advanced students who already know C and want a rigorous, code-first understanding of exploitation and malware engineering. Each chapter pairs offensive techniques with defensive countermeasures. All examples are intended for isolated, legal, ethical use in a controlled lab environment.
This book teaches intermediate to advanced developers and security practitioners how to use Ruby for offensive cybersecurity work. You will learn to build professional-grade penetration testing tools, network scanners, protocol analyzers, fuzzers, packet processors, binary parsers, and exploit frameworks in controlled laboratory environments. Every chapter provides production-quality, fully functional code that runs in isolated labs, with thorough explanations of mechanisms, tradeoffs, and real-world applicability. Ethical considerations and legal boundaries are woven throughout. By the end, you will understand not only how to build offensive security tooling in Ruby, but also how defenders detect and mitigate these techniques, making you a more effective security professional regardless of which side of the keyboard you sit on.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.