// Comparison

Hacking: The Art of Exploitation vs Hacking Kubernetes: Which Should You Read?

Two cybersecurity books on Offensive, compared honestly: who each is for, what each does best, and which to read first.

Intermediate
5/52008
Hacking: The Art of Exploitation

Jon Erickson

A from-first-principles tour of low-level exploitation that still teaches the mindset two decades later.

Intermediate
4/52021
Hacking Kubernetes

Threat-Driven Analysis and Defense

Andrew Martin, Michael Hausenblas

A threat-modeling tour of a Kubernetes cluster, component by component, that teaches you to harden defaults by first showing you how each one gets broken.

Read this if

Self-taught hackers who want to understand what a stack overflow actually is, not just how to invoke msfconsole.
Platform and security engineers who own clusters in production and want an attacker's map of where the soft spots are.

Skip this if

Readers looking for modern exploitation (ASLR, CFI, browser sandboxes). The defenses Erickson covers are now baseline, not frontiers.
Skip this if you are new to Kubernetes or want a step-by-step hardening checklist; it explains why more than it hands you copy-paste configs.

Key takeaways

  • Exploitation is a way of seeing programs, not a list of techniques.
  • Memory corruption is best learned with a debugger open beside the book.
  • The first half on C/assembly is worth the price even if you skip the exploits.
  • Default Kubernetes is built for convenience, not safety, and every chapter shows a default that an attacker is grateful for.
  • Container breakout, lateral movement, and supply-chain compromise are the threats that actually matter, not the ones the dashboards highlight.
  • Defense is layered: a single misconfigured RBAC binding or hostPath mount undoes everything else.

How they compare

We rate Hacking: The Art of Exploitation higher (5/5 against 4/5 for Hacking Kubernetes). For most readers, that means Hacking: The Art of Exploitation is the primary pick and Hacking Kubernetes is a useful follow-up.

Both books target intermediate-level readers, so the choice is about topic, not difficulty.

Hacking: The Art of Exploitation and Hacking Kubernetes both cover Offensive, so reading them in sequence reinforces the same material from different angles.

Keep reading

Related topics