// Comparison

The Hardware Hacking Handbook vs The Shellcoder's Handbook: Which Should You Read?

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

Advanced
5/52021
The Hardware Hacking Handbook

Breaking Embedded Security with Hardware Attacks

Jasper van Woudenberg, Colin O'Flynn

Jasper van Woudenberg and Colin O'Flynn (NewAE / ChipWhisperer) on real hardware attacks: bus sniffing, fault injection, side-channel power analysis, and the lab work that turns a black box into a known target.

Advanced
4/52007
The Shellcoder's Handbook

Discovering and Exploiting Security Holes

Chris Anley, John Heasman, Felix Lindner, Gerardo Richarte

A foundational text on memory-corruption exploitation across Linux, Windows, Solaris and embedded targets. Pre-modern-mitigations in spirit but still the canonical introduction to the techniques the modern toolchain is built to defeat.

Read this if

Embedded and IoT security researchers ready to move past firmware-only work and pick up the soldering iron. Also the right book for offensive practitioners auditing devices where the chip is the threat model: hardware wallets, automotive ECUs, smart locks, set-top boxes.
Readers committed to learning binary exploitation seriously, after they've already finished Hacking: The Art of Exploitation and want a multi-platform reference that goes deeper.

Skip this if

Readers who only want to read about hardware hacking. The book assumes you will buy a logic analyzer, a ChipWhisperer or similar, and break a few dev boards; without lab time, the middle chapters become abstract.
Anyone expecting modern (post-2010) mitigations or current heap allocators. The book pre-dates ASLR enforcement, modern heap hardening, CFI, and the entire arc of mitigations the modern toolchain assumes. It teaches the techniques modern systems are built to defeat.

Key takeaways

  • Side-channel and fault-injection attacks are no longer exotic: with sub-$300 tooling, an attacker can pull keys from MCUs that ship in shipping products today.
  • Bus interception (UART, JTAG, SWD, SPI flash dumps) is the unglamorous workhorse of hardware research and pays for itself across nearly every target.
  • Threat modeling for hardware is fundamentally different from software: physical access changes the cost curve of every attack, and the chapters on adversary models reflect that.
  • The Windows exploitation chapters are still the best print introduction to the SEH/PE-format-specific mechanics that don't exist in Erickson.
  • The heap chapters teach the conceptual vocabulary (unlinking, frontlinking, magic values, freelists) you need to read modern CTF write-ups, even though the specific allocators have moved on.
  • The "track patches, don't track exploits" chapter is the most underrated piece of vulnerability-research advice in print.

How they compare

We rate The Hardware Hacking Handbook higher (5/5 against 4/5 for The Shellcoder's Handbook). For most readers, that means The Hardware Hacking Handbook is the primary pick and The Shellcoder's Handbook is a useful follow-up.

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

The Hardware Hacking Handbook and The Shellcoder's Handbook both cover Reverse Engineering, so reading them in sequence reinforces the same material from different angles.

Keep reading

Related topics