spctl
Created by Brendan Chamberlain (@infosecB)
Description
Manage the security assessment policy subsystem, Gatekeeper settings, and control which apps are allowed to run on the system.
Created | Tactics | Tags |
---|---|---|
2023-05-23 | Defense Evasion | gatekeeper |
Paths
/usr/sbin/spctl
Use Cases
Disable Gatekeeper
The –master-disable switch disables Gatekeeper. The command must be run with root/sudo permission.
sudo spctl --master-disable