Skip to content
Access control Write-up Advanced

All Your Macs Are Belong To Us

A logic flaw in macOS's policy engine caused unsigned and unnotarized applications to be misclassified as safe, allowing them to run without any File Quarantine, Gatekeeper, or Notarization prompts. An attacker could deliver a malicious app that, when opened, executed arbitrary code without user warnings.

objective-see.com

Published on objective-see.com

Our research, tools, and writing, are supported by the "Friends of Objective-See" such as:

The author, on objective-see.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a logic error in macOS's policy subsystem that misclassified quarantined items lacking a standard Info.plist and using a script executable, causing them to be treated as safe.

Impact

An attacker could deliver a malicious application that runs without any security prompts, potentially leading to full system compromise, and this was exploited in the wild as a zero-day.

What the attacker needed

Victim downloads and opens a malicious app; macOS 10.15 or later (before 11.3)

The fix

Apple fixed the bug in macOS 11.3, restoring full protection.

How it was found

  1. Create a bare-bones application bundle with no Info.plist and a script as the executable.
  2. Upload the application and download it to tag it with the quarantine attribute.
  3. Double-click the downloaded application.
  4. Observe that it runs without any File Quarantine, Gatekeeper, or Notarization prompt.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

macOS normally warns you before opening a downloaded app and blocks it if it is not signed by a known developer. This bug made macOS skip those checks for a specially built app, so a malicious file could run silently. The attacker just needed the victim to double-click the file.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.