CyberKit

Gatekeeper Quarantine

Also called com.apple.quarantine, extended attributes, Gatekeeper.

macOS provenance flag on downloaded files that records source and triggers checks.

What it is

When an app downloads a file, macOS attaches the com.apple.quarantine extended attribute recording the download agent, a timestamp, and often the source URL. Gatekeeper reads this flag on first launch to enforce notarization and code-signing policy, prompting the user before running quarantined software.

Where it lives

The com.apple.quarantine extended attribute on downloaded files (macOS)

Why it matters

The quarantine xattr is direct evidence of how and when a file arrived on a system and which application fetched it, while its absence on an executed binary can indicate the attacker stripped it to bypass Gatekeeper. It pairs naturally with unified-log Gatekeeper events to time first execution.

In practice

A trojanized app still carried its quarantine attribute, naming the browser and timestamp of the download that introduced it to the host.

What to look for

  • The com.apple.quarantine attribute on downloaded files.
  • Source URLs recorded in the QuarantineEvents database.
  • Files with the attribute removed by xattr commands.

Common mistake

Assuming every file has it. Some download paths and tools do not set it, and attackers remove it.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • Mobile Verification Toolkit Open source

    Checks iOS and Android backups and file systems for signs of known spyware.

  • iLEAPP Open source

    Parses iOS extractions into readable reports of apps, messages and system logs.

Read next

Sources