This document provides an overview of macOS Installer packages and common security flaws. It discusses the structure of Installer packages, including the distribution file, package info, bill of materials, payload, and scripts. It explains how packages are unpacked and installed. The document outlines several types of vulnerabilities that can exist in scripts, payloads, and helper applications contained within packages. It provides examples of real vulnerabilities found in packages in the past 8 months, including privilege escalation, symlink abuse, and arbitrary code execution. It demonstrates exploiting a package vulnerability through a proof of concept.
Related topics: