Wednesday, April 24, 2024

How to change / spoof MAC address on MacOS, including Big Sur

There’s software that will change your MAC address on all version of MacOS, including Big Sur (11.3.x), Catalina, etc.. You can read about that here.

The software solution that works comes at a hefty price (US$20) considering the menial task it is doing. Below is info on how spoof you MAC address on a MacOS computer, at no cost (except a little time).

Homebrew package

If you’re not familiar with Homebrew, please learn about it here. It is easy to install, and is totally safe to do so. It’s a package manager, that allows you to install a great many “packages” (command-line tools, scripts, applications, etc.) on your Mac computer. It’s going to provide the fastest and easiest solution for freely changing your MAC address on MacOS. The instructions to install are found here.

If you already have Homebrew installed, then install the spoof-mac package. The brew command to use is:

brew install mac-spoof

You will need to run mac-spoof with sudo, because changing your computer’s MAC address needs admin (root) access. If you want to change the MAC address of your WiFi, which is typically using the interface en0, you’d use this command: (remember to disable WiFi first)

sudo mac-spoof randomize en0

Your MacOS MAC access should now be different from what it was. Note, it will reset when you reboot the computer (it’s it is hardware encoded … so you’re only temporarily changing it).

Other Command line options

I’ve come across numerous articles online that give out commands to temporarily change the MAC address on macOS. In my experience none of them worked. For example, a command such as this:

sudo ifconfig en0 ether NEW-MAC-ADDRESS

… Or this method, which is meant to generate a new random MAC address, and change your devices’ address to that:

openssl rand -hex 6 | sed 's/\(..\)/\1:/g; s/.$//' | xargs sudo ifconfig en0 ether

On recent versions of macOS I’ve not found any of these methods work. The mac-spoof application installed via Homebrew is the most reliable (free) method I’ve found. Otherwise, using an app like WiFiSpoof works well (but will set you back US$24.99).

Recent Articles


Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Stay on op - Ge the daily news in your inbox