// Comparison

Hacking: The Art of Exploitation vs How to Hack Like a Ghost: 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
How to Hack Like a Ghost

Breaching the Cloud

Sparc Flow

A narrated, real-time breach of a fictional data-driven political consulting firm's AWS and Kubernetes environment, written by a working penetration tester who presents at Black Hat and DEF CON.

Read this if

Self-taught hackers who want to understand what a stack overflow actually is, not just how to invoke msfconsole.
Pentesters and red teamers who want cloud-specific tradecraft (AWS, Kubernetes, anonymous attacker infrastructure, OPSEC) delivered as a readable narrative rather than a reference manual. The target is fictional; the vulnerabilities it exploits are patterns seen in real cloud environments.

Skip this if

Readers looking for modern exploitation (ASLR, CFI, browser sandboxes). The defenses Erickson covers are now baseline, not frontiers.
Readers wanting a structured, chapter-by-chapter reference they can jump around in; the book is a continuous narrative from recon to full compromise, better read start to finish than dipped into. Beginners with no cloud or Linux fundamentals will struggle to keep pace.

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.
  • Treats attacker OPSEC and anonymous infrastructure as seriously as the exploitation itself, which most cloud-pentest material skips.
  • Walks a complete, realistic AWS and Kubernetes attack chain end to end rather than isolated techniques.
  • The narrative format keeps the tradecraft memorable in a way a reference manual rarely does — closer to Mr. Robot than to a lab manual.

How they compare

We rate Hacking: The Art of Exploitation higher (5/5 against 4/5 for How to Hack Like a Ghost). For most readers, that means Hacking: The Art of Exploitation is the primary pick and How to Hack Like a Ghost 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 How to Hack Like a Ghost both cover Offensive, so reading them in sequence reinforces the same material from different angles.

Keep reading

Related topics