Detections · Harmful behavior

Gatekeeper and protection bypass on a Mac: switching off the checks

macOS checks software before it runs: Gatekeeper looks at the signature and notarization of anything you downloaded, System Integrity Protection guards the system, and security apps watch what happens. Malware that turns these checks off, or slips around them, gets to run without the warning that would have stopped you.

Updated November 25, 2026 · 103 detections in this category

In short

What turns off or sidesteps the checks macOS applies to software: Gatekeeper, quarantine, SIP, code signatures.

MacVigil has 103 detections in this category. It reads the file to find them and never runs it.

What protection bypass means

When you download a file, macOS marks it with a quarantine attribute. The first time you open it, Gatekeeper checks who signed it and whether Apple notarized it. A protection bypass removes that mark, replaces the signature, turns the check off or quietly approves a security request in your place. The attacker gains a program that runs as if it had been vetted, and often a Mac with fewer defenses for what comes next.

How Mac malware does it

What MacVigil looks for

MacVigil reads the file and never runs it. A bypass command on its own is a request, not a success: a line with xattr -d or spctl --master-disable is recorded without claiming it worked. Stronger findings tie the bypass to what follows: the same file that loses its quarantine mark is the one launchd starts; one function re-signs a file and then launches a command; a certificate is trusted from a folder the program itself created.

Several combinations also require that no accountable publisher stands behind the program, and when the pieces are only separate mentions, MacVigil says so and does not claim they are linked or that any ran.

When it is normal

IT deployment and fleet management tools remove quarantine marks, install certificates, manage updates and pre-approve permissions through profiles. Web debugging proxies install a root certificate. Company security tools add exclusions, maintenance scripts erase logs, and developers re-sign their own builds ad hoc. What matters is who installs it, and whether it hides.

How to check your Mac

On the blog

Know what a file does before you open it

MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.

Download free for Mac

More: all detection categories · what MacVigil detects · the blog