New to Cybersecurity? Read the Cybersecurity article
Let AI agents plan, attack and prove vulnerabilities on their own, without ever losing control. This hands-on operator's guide takes you through every screen of the ARTEX console and shows how interception rules, asset blacklists and human approvals keep autonomous penetration testing safe, auditable and firmly inside scope.
AI now drives entire pentest workflows, from recon and fuzzing to exploit analysis and reporting. This hands-on guide shows security professionals which AI tools to trust, where they fail, and how to use them responsibly, with real-world scenarios and 13 practical labs covering prompt injection, the OWASP LLM Top 10, and red teaming AI agents.
Explore the art and science of privilege escalation across modern operating systems, enterprise networks and cloud environments. From system internals and misconfigurations to advanced exploitation techniques, this book delivers the technical depth, practical insights and defensive knowledge needed to uncover privilege escalation paths and strengthen security in complex infrastructures.
Learn how expert penetration testers find what scanners miss. This practical guide takes you from the foundations of offensive security to advanced assessment techniques, teaching you how to uncover, validate and chain weaknesses then turn technical findings into clear, useful results.
Build offensive security tools that go beyond simple scripts. BlackHat Ruby shows how to create scanners, fuzzers, protocol analyzers and exploit frameworks with clean, practical Ruby code. Along the way you'll see how these techniques work, where the legal boundaries are and how defenders spot and stop them.
Offensive Security with Kali Linux is a practical guide to ethical hacking and penetration testing, taking you from foundational Linux and networking concepts to advanced exploitation techniques. With a strong emphasis on ethical practice and real-world methodology, you'll learn to identify vulnerabilities, assess systems responsibly, and strengthen security using Kali Linux.
Memory corruption remains one of the most significant classes of software vulnerabilities. This book explores the foundations of memory corruption, modern exploitation techniques, and the defenses designed to stop them, providing security professionals and researchers with a deep understanding of how these vulnerabilities work and how to mitigate them effectively.
PowerShell is not just a scripting language. It is a direct interface to the Windows operating system, the .NET framework, COM objects, WMI, Active Directory, the registry, and the Win32 API. Every modern Windows host ships with it. Every domain controller speaks its language. Every EDR vendor fears what it can do. Across thirteen chapters, you will conduct a single, continuous penetration test against Meridian Financial Group — a fictional mid-market financial services firm with a realistic Windows enterprise environment: Active Directory forests, IIS web applications, SQL Server databases, file shares, Exchange-style mail, and endpoint detection. You start with nothing but a PowerShell prompt and finish with domain admin, crown jewels exfiltrated, and a professional pentest report.
Go beyond clicking through msfconsole. A progressive, hands-on course that takes you from your first canned exploit to writing custom Ruby modules, pivoting through compromised networks, and extending the Metasploit Framework itself.
Adversarial C is Book X in the Adversarial Series — a continuous penetration testing engagement against Crucible Embedded, a defense-adjacent embedded systems manufacturer. Over thirteen chapters you will exploit buffer overflows in firmware update daemons, abuse format string vulnerabilities in logging services, corrupt heap metadata in real-time operating system processes, fuzz custom network protocols until they crack, extract secrets from firmware images, pivot through IoT gateways running stripped-down BusyBox, exploit race conditions in privileged services, and attack the software supply chain through build system manipulation. The Adversarial C++ book is currently in the works, and should be released sometime before Christmas. So keep an eye open for that!
This book teaches x86-64 assembly language through the lens of offensive security. You will write shellcode by hand, exploit stack and heap vulnerabilities, build ROP chains that defeat modern mitigations, craft position-independent implants that resolve APIs at runtime, evade analysis environments, exploit kernel drivers, analyze firmware boot processes, and instrument binaries with inline hooks — all at the lowest level of abstraction the processor offers.
Nim compiles to C. That single fact changes everything for a red teamer. While defenders build detection signatures for Python scripts, PowerShell commands, and .NET assemblies, a Nim binary lands on disk looking like any other native executable — small, fast, and unfamiliar to most EDR heuristics. The language gives you Python-like syntax with C-level performance, direct Windows API access without P/Invoke wrappers, cross-compilation from Linux to Windows with one flag, and compile-time metaprogramming that can encrypt strings, encode payloads, and generate polymorphic code before the binary is even built.
SQL is not just a query language. In the hands of a penetration tester, it is a weapon that can read files, execute operating system commands, pivot between servers, and exfiltrate entire databases through covert channels. Every enterprise runs on SQL databases, and nearly every web application speaks to one. When the application doesn't properly separate user input from SQL logic, the attacker controls the database — and often the host underneath it. This book teaches database exploitation through one continuous engagement against **Lumen Dataworks**, a fictional financial data aggregation platform. You will deploy a realistic multi-database lab — PostgreSQL, Microsoft SQL Server, and MySQL behind vulnerable web applications — and systematically compromise it from SQL injection discovery through lateral movement, persistence, and exfiltration. Every tool you build works. Every payload you craft is real. Every technique maps to a finding you will document in a professional penetration test report. This book assumes you are comfortable with basic SQL syntax (SELECT, INSERT, UPDATE, DELETE, JOIN) and have a working knowledge of web application testing. You do not need to be a DBA — the book teaches the internals that matter for exploitation as you encounter them.
Every chapter of this book advances a single, continuous engagement against one fictional target that lives entirely in your homelab: Obsidian Grid, a critical-infrastructure monitoring company that sells a SCADA/ICS visibility platform to energy utilities, water treatment facilities, and manufacturing plants. Obsidian runs Go end to end — a fleet of Go microservices connected by gRPC and Protocol Buffers, a PostgreSQL database for asset inventory, an etcd cluster for configuration, a NATS messaging bus for real-time telemetry, an MQTT broker that talks to field sensors, Prometheus for metrics, and a custom TLS PKI that issues certificates to every component. One target carries every phase of the pentest: the external web dashboard, an API gateway, an operational-technology bridge, an AI-powered anomaly-detection engine, and the infrastructure underneath. You don't just run tools against Obsidian Grid. You build the tools, in Go, one phase at a time: your own recon harness, your own scanner, your own exploits, your own implants, and finally your own report generator. Every tool compiles to a single static binary that you can cross-compile for any OS and drop on any target without dependencies. Each phase ends with a captured flag — `OBSIDIAN{...}` — and those flags become the evidence trail for the deliverable you assemble in the final chapter.
Most offensive-security books hand you a framework and a flag. This one hands you `cargo new` and a target. Apex Foundry is a precision-manufacturing company that builds industrial control interfaces, runs a customer-facing web application backed by Postgres, operates an Active Directory domain for its corporate workforce, and recently bolted an AI assistant onto its support portal. It also happens to be running entirely inside your homelab — Docker containers, a virtual AD forest, and a vulnerable web stack you control end to end. Your job is to break it. Your constraint is that every tool you use must be one you wrote yourself, in Rust. Over thirteen chapters you will work through a single, continuous penetration test — from passive reconnaissance through data exfiltration and final reporting. Each chapter adds a link to the attack chain: you will build async port scanners, web crawlers, exploit frameworks, a prompt-injection fuzzer, an encrypted implant, Kerberoasting tooling, a covert DNS exfiltration channel, and a report generator that pulls every finding into a finished deliverable. Every tool compiles to a single, dependency-free binary you can drop on a target without a runtime. Along the way you will capture twenty flags (format: `APEX{...}`) and document **twenty-two findings**, building a portfolio that doubles as a real-world pentest report.