Skip to content

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

Browse DEF CON 34

Have U Been Invited (episode 2) - MacOS Logic Bugs

Mikko Kenttälä

Red TeamTalks31 minExpertOpen on YouTube ↗

Where

Talks
Disobey 2024

Duration

31 min

Walks through a zero-click macOS calendar exploit chain that escapes the sandbox, evades Gatekeeper and reaches protected photos.

Summary

This talk is a follow-up to last year's presentation on a macOS Calendar vulnerability. The earlier flaw allowed an arbitrary file write through attachment file names in calendar events. Fixes were still pending at the time, so the full chain could not be shown then. This episode picks up from that point and walks through the chain step by step, starting from a write that is confined to the Calendar app's sandbox.

The middle of the talk covers each obstacle in turn. The write is used to plant a local calendar, which can carry alert actions, and a legacy migration marker that forces the app to index it. A disk image is then planted so that Finder mounts a remote share and indexes an application inside it, which avoids the quarantine flag that Gatekeeper checks. A newly registered URL handler launches that application, which runs code and changes the Photos library configuration. Photos then syncs the user's iCloud library into a directory the attacker controls, so the protected original folder is never accessed directly.

The closing section reviews the disclosure timeline, which ran from late 2022 into late 2023 with several rounds of back-and-forth with Apple over CVE assignment and credit. The practical takeaway is that small logic errors in file handling, combined with hidden app features and configuration, can get around several macOS protections at once.

Related talks

Talks·43 min

  • Objective by the Sea
  • Red Team
  • Date: Oct 2021
  • Location: Spain

Csaba Fitzl

Explores how macOS mount operations enable privilege escalation and privacy bypasses, from kernel MAC hooks to real exploits.

vulnerability-researchkernelexploitation+2

IoT Village·39 min

  • DEF CON
  • Red Team
  • Date: Aug 2018
  • Location: Las Vegas

Ben Nassi

Smart irrigation systems, a new IoT device which is aimed at saving water and money, have already been adopted by smart cities (e.g., Barcelona), agriculture, and the private sector around the world and will replace e...

iotexploitationprivacy+1