Untrusted Disabling of macOS Gatekeeper via Spctl (via process_creation)

PremiumReviewedSigma · High · v1
Product
macos
Category
process_creation
Author
HuntRule
Published
2026-09-03
Updated
2026-09-03

ATT&CK techniques

Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects spctl --master-disable, which turns off Gatekeeper so unsigned and unnotarized applications can run without warning, a defense-evasion step preceding malware execution on macOS. Disabling Gatekeeper is a technique tracked in the Red Canary Threat Detection Report macOS coverage. Detecting this command surfaces an attacker removing code-signing enforcement.

Related detections6 linkedT1553.001 — drag to rearrange
Suspicious Removal of the macOS Quarantine Attribute via Xattr (via process_creation)
Suspicious Interpreter Spawned by launchd from Application Bundle
Suspicious Gatekeeper Quarantine Database Query via sqlite3
Suspicious File Download to tmp and Quarantine Removal via curl and xattr
Suspicious macOS Quarantine Attribute Removal via xattr (via process_creation)
macOS Gatekeeper bypass attempt using xattr to remove com.apple.quarantine
Untrusted Disabling of macOS Gatekeeper via Spctl (via process_creation)
Pivot detection · T1553.001 · 6 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.