The Art of Mac Malware, Volume 2
AdvancedMalwaremacOSDetection

The Art of Mac Malware, Volume 2

Detecting Malicious Software

4 / 5

The detection-focused sequel to Volume 1, Wardle turns from analyzing Mac malware to building the heuristics and tooling that catch it, using macOS's security frameworks and real-world malware samples throughout.

Verdict

The detection-engineering half of Wardle's Mac malware series: code-first, built on Apple's own security APIs, and only worth it once Volume 1's analysis vocabulary is already in your head.

Other editions and volumesThe Art of Mac Malware, Volume 1 (2022)

Buy on Amazon

As an Amazon Associate we earn from qualifying purchases. The links above are sponsored.

Published
2025
Publisher
No Starch Press
Pages
376
Language
English

Read this if

Detection engineers and blue teamers who already have Volume 1's analysis grounding and now need to build detections, not just read samples. Shows how to program against macOS's own security-centric frameworks (Endpoint Security, ESF) rather than relying only on third-party AV.

Skip this if

Readers who haven't worked through Volume 1's foundations first (Mach-O, code signing, persistence taxonomy); this book assumes that vocabulary and builds detection logic on top of it rather than re-teaching it.

Key takeaways

  • Detection, not just analysis, is the book's whole focus — moving from "what is this sample doing" to "how do I catch the next one like it."
  • Builds heuristics directly on top of macOS's own security frameworks (Endpoint Security) instead of treating the OS as a black box.
  • Every technique is grounded in real malware families Wardle has tracked through Objective-See, not synthetic examples.

Strengths

  • Teaches detection by programming against macOS itself (process and binary inspection, code signing, Endpoint Security) rather than treating the OS as a black box.
  • Builds working tools along the way, such as a persistence enumerator and a mic and webcam monitor, that you can study or extend.
  • Grounded in real malware families Wardle has tracked through Objective-See, not synthetic samples.

Weaknesses

  • Assumes Volume 1's grounding in Mach-O, code signing and persistence; it is not a standalone entry point.
  • Code-heavy and aimed at people who will write detection tooling; analysts who only triage samples get less from it.
  • Apple revises its security frameworks every year, so expect some code to need adjustment on newer macOS releases.

Our review

The Art of Mac Malware, Volume 2 is a programming book first and a malware book second. Where Volume 1 teaches you to pull a sample apart, this one asks how you would catch the next one, and answers by writing code: enumerating and inspecting processes, parsing Mach-O binaries, verifying code signatures, snapshotting network state, finding persistence, and finally subscribing to Apple's Endpoint Security events for real-time monitoring.

That structure is its strength. Each chapter turns one detection idea into a small tool, and by the end you have built things like a persistence enumerator and a microphone and webcam monitor, the same ideas behind Wardle's free Objective-See utilities. The examples come from malware families he has tracked for years, which keeps the heuristics honest.

It is also demanding. The book assumes you already speak Volume 1's language and that you are comfortable reading and writing systems code, so it suits detection engineers and macOS security developers more than analysts who mainly triage samples. Published in early 2025, it has not yet attracted independent reviews, so its standing rests on Wardle's track record rather than reader consensus.

The direct sequel to The Art of Mac Malware, Volume 1 (already in this catalog): read that one first for the Mach-O and persistence fundamentals, then this one for the detection engineering built on top of them. Pairs with Wardle's free Objective-See tools (BlockBlock, KnockKnock, LuLu), which demonstrate the same detection philosophy in practice.

Related topics