Skip to content

beerisgood/macOS_Hardening

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍏 macOS Hardening Guide

macOS stable GitHub last commit Status

Secure your macOS system with this comprehensive hardening guide.
Ideal for users who value privacy, security, and performance.


📚 Table of Contents (click to expand)

🖥️ Device Recommendations


🛠️ Preparation

  • create/ use an iCloud.com email address for your Apple-ID at first start.
  • Check for updates and enable automatic updates for all options.
  • Keep a record of the settings you modify.

⚙️ System Settings

🧑‍🤝‍🧑 Users & Groups

  • Disable automatic login.
  • Disable the Guest user account.
    • If multiple people use your Mac, limit the number of users with administrator privileges and set up a user account for each person, so that one person can’t modify the files needed by another.

🌐 Network and Firewall


🛡️ Secure Browsing

  • Safari settings:

    • Block cross-site tracking.
    • Clear history and website Data to get a fresh start, now with tracking protection.
    • Instead of using insecure, privacy-unfriendly (adblocker) browser extensions, use the Reader mode.
    • Hide IP address from trackers / and Websites (if PrivateRelay is activated)
    • Enable Advanced Tracking and Fingerprinting Protection
  • Safari hardening:

    • Enable protection against fraudulent websites
    • Enable protection against non-encrypted HTTP sites

🧰 Software


📋 General Tips

  • Regularly audit installed apps and permissions.
  • Where PassKeys isn't supported, use strong, unique passwords and enable 2FA everywhere. This is easily manageable with internal Passwords program.
  • Periodically review Privacy Settings.
  • With Activity Monitor you can find Apps lacking the Sandbox and/ or Code injection Protection.
    • Just enable the "Sandbox" and "Restricted" columns.
  • With the Terminal, you can also check the Hardened Runtime.
  • Thunderbolt 4 cables enforce DMA protection using Directed I/O (Intel VT-d) technology that provides IO virtualization (often referred to as IO Memory Management Unit or IOMMU).
  • If Bluetooth accessories like a keyboard or mouse are used, stay with official Apple ones as their firmware will automatically be updated by macOS, and Apple's SoCs focus on minimizing attack surface by relegating security functions to dedicated hardware with limited functionality.

💪 Advanced users/special use case


📚 Resources



🔒 Stay Safe and Secure!