Skip to content
← RegistryDossier · 5 steps · 4 edges

Gatekeeper bypass → unsigned binary execution

Deliver a payload that strips the com.apple.quarantine xattr (via .dmg with no quarantine attribute or an archive format that doesn't preserve xattrs) — Gatekeeper never prompts.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: phishing delivery to macOS user. Payload is a binary inside an archive type (DMG without quarantine, RAR/7z stripping xattrs, ISO) that Gatekeeper doesn't catch on first run.

§ Steps

  1. 01
    Build payload binary (unsigned / ad-hoc)Execution
    T1059Command and Scripting Interpreter
  2. 02
    Deliver via phishing / drive-byInitial Access
    T1566Phishing
  3. 03
    User runs binary, no promptExecution
    T1204User Execution
  4. 04
    Wrap in archive that strips quarantine xattrDefense Evasion
    MAC-GATEKEEPER-BYPASSGatekeeper / Quarantine Bypass
  5. 05
    Drop LaunchAgent in ~/LibraryPersistence
    MAC-LAUNCHAGENTLaunchAgent / LaunchDaemon Persistence

§ References

§ Frequently asked

What is the "Gatekeeper bypass → unsigned binary execution" attack path?
Deliver a payload that strips the com.apple.quarantine xattr (via .dmg with no quarantine attribute or an archive format that doesn't preserve xattrs) — Gatekeeper never prompts. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Build payload binary (unsigned / ad-hoc) (T1059) — a execution primitive. Assumed environment: phishing delivery to macOS user.
What is the final impact of this kill-chain?
The final step lands on Drop LaunchAgent in ~/Library (MAC-LAUNCHAGENT), which falls under Persistence. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers