Skip to content

Bundles of Joy: Breaking macOS via Subverted Application Bundles

Patrick Wardle

Patrick Wardle dissects CVE-2021-30657, a zero-click logic bug in macOS application bundles that completely bypassed Apple File Quarantine, Gatekeeper, and Notarization.

Summary

Apple's Layered macOS Execution Protections

Modern macOS systems enforce strict security gates on downloaded software, combining File Quarantine attributes, Gatekeeper signature checks, and mandatory Cloud Notarization.

Dissecting CVE-2021-30657: The Shroot Zero-Day

Patrick Wardle investigates a critical logic flaw discovered in macOS Big Sur, where maliciously crafted application bundles lacking a standard `Info.plist` completely bypassed Gatekeeper.

In-the-Wild Malware Weaponization (Shlayer)

Adversary campaigns immediately weaponized this vulnerability, distributing unnotarized malware installers that executed instantly with a single double-click without triggering OS security prompts.

Defensive Lessons in OS Architecture and Logic Validation

Wardle examines Apple's subsequent kernel patches and shares behavioral heuristics for security analysts to detect anomalous bundle structures.

Related talks