macOS Security Cheat Sheet¶
Quick-reference guide for Gatekeeper, XProtect, code signing, and FileVault disk encryption on macOS.
Check FileVault Full-Disk Encryption Status:
Check System Integrity Protection (SIP) Status:
Verify Code Signature & Deep Strict Validation of an App Bundle:
Verify Notarization Ticket Stapled to an App Bundle:
Inspect Extended Attributes (xattr) on a File or Application:
Remove Quarantine Flag from a Downloaded Binary or Unsigned App:
Check XProtect Antivirus Version:
Perform Manual XProtect Scan & Signature Update:
List Installed Configuration / MDM Profiles:
Sources & Verification¶
- Built-in manual pages: run
man <command>(for exampleman codesign)