hacktricks/macos-hardening/macos-security-and-privilege-escalation/macos-sandbox
2023-05-25 18:54:33 +00:00
..
macos-sandbox-debug-and-bypass.md GITBOOK-3944: change request with no subject merged in GitBook 2023-05-25 18:54:33 +00:00
README.md GITBOOK-3944: change request with no subject merged in GitBook 2023-05-25 18:54:33 +00:00

macOS Sandbox

☁️ HackTricks Cloud ☁️ -🐦 Twitter 🐦 - 🎙️ Twitch 🎙️ - 🎥 Youtube 🎥

Basic Information

Start Sandbox

Processes are not born sandboxed on macOS: unlike iOS, where the sandbox is applied by the kernel before the first instruction of a program executes, on macOS a process must elect to place itself into the sandbox.

Processes are automatically Sandboxed from userland when they start if they have the entitlement: com.apple.security.app-sandbox. For a detailed explanation of this process check:

{% content-ref url="macos-sandbox-debug-and-bypass.md" %} macos-sandbox-debug-and-bypass.md {% endcontent-ref %}

☁️ HackTricks Cloud ☁️ -🐦 Twitter 🐦 - 🎙️ Twitch 🎙️ - 🎥 Youtube 🎥