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.
- Linux Persistence Reader
Read a crontab line, a systemd unit or an auditd record, and see what runs, when, and as whom.
- Linux Case
A server making outbound connections nobody can explain: read its audit log, journal and scheduled jobs, and say who did what.
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
- macOS Unified Logging: Apple's consolidated, compressed system log spanning macOS and iOS.
- FSEvents: macOS filesystem-change log that records directory-level activity over time.
- LaunchAgents and LaunchDaemons: launchd jobs that start programs at boot or login, and macOS's top persistence path.