Skip to content

A collection of scripts designed to secure/harden macOS

License

Notifications You must be signed in to change notification settings

StrangeRanger/macos-security-scripts

Repository files navigation

macOS Security Scripts

Project Tracker Style Guide Codacy Badge

This repository is a collection of scripts designed to secure/harden macOS.

For information on each of the scripts, visit the repo wiki. Each page will provide information on the script in question, example output, and a changelog.

Getting Started

Downloading

All you need to do is download the repository. There are no binaries or anything to install.

git clone https://github.com/StrangeRanger/macos-security-scripts

Usage

A majority of the scripts will require root privilege to be executed:

sudo ./[script name] OR sudo bash [script name]

Tested On

Below is a list of all the versions of macOS that the security scripts have been officially tested and are confirmed to work on.

  • macOS 13 (Ventura)
  • macOS 12 (Monterey)
  • macOS 11 (Big Sur)
  • macOS 10.15 (Catalina)
  • macOS 10.14 (Mojave)

Other Resources

While this repository has scripts that can help secure macOS, it's not nearly enough to secure the system as much as it needs to be. Below is a list of other resources that you can/should use to help make your system as secure as possible.

  • macOS Security and Privacy Guide - A resource with a lot of good advice on how to increase the privacy and security of your Mac.
  • Privacy.Sexy - Open-source tool to enforce privacy & security best-practices on Windows and macOS, because privacy is sexy 🍑🍆.