Skip to content

DEF CON 34 talks are here: 354 talks, summarized and searchable.

Browse DEF CON 34

Unlocking macOS Internals: A Beginner's Guide to Apple's Open Source

Olivia Gallucci

MalwareTalks36 minIntermediateOpen on YouTube ↗

Where

Talks
RVAsec 14

Duration

36 min

Walks through finding, building and reversing Apple's open source macOS components as a starting point for internals research.

Summary

This talk is an orientation to macOS internals for people new to the area. It explains that macOS and iOS share the Darwin base, including the XNU kernel, system libraries and launch daemons, so Apple's public source code is a useful entry point even though Apple withholds some frameworks and licenses parts of its crypto library under restrictive terms.

The speaker covers the practical hurdles of locating that code. Apple moved releases from its download site to GitHub repositories in 2024, tags have to be mapped to OS versions through release metadata or the distribution manifests inside installer packages, and shipped binaries are stripped of symbols, so developer debug kits and the iOS simulator serve as alternatives. A set of tools is introduced, including strings, nm, class-dump, disassemblers and debuggers such as Ghidra, IDA, Binary Ninja and LLDB, along with dynamic instrumentation with Frida. Building the open source components is presented as difficult because of missing files and environment mismatches, so reading build scripts and headers is often more productive.

To show the workflow, the talk walks through binary diffing of a historical syslogd patch, where a single changed function pointed to a heap overflow fix. The takeaway is to treat the public source as a map, match functions and call patterns against binaries, and diff updates to find what changed, since partial source is still valuable for research.

Related talks

Talks·21 min

  • Objective by the Sea
  • Mobile
  • Date: Oct 2025
  • Location: Spain

Yarden Hamami

Shows how an old sandbox decompiler was revived to read modern iOS sandbox profiles and present their rules readably.

reverse-engineeringmobilekernel+2

Talks·27 min

  • Objective by the Sea
  • Red Team
  • Date: Dec 2024
  • Location: Maui

John McIntosh

Walks through patch diffing Apple OS updates with IPSW files, Ghidra and open-source tools, tying binary changes to CVEs.

vulnerability-researchreverse-engineeringopen-source+3