Can't spoof MAC address in a MacBook
Asked Answered
D

3

19

I'm having some trouble spoofing my MAC address on my new MacBook Pro (OSX 10.13.6): it simply doesn't change -.-"

On my prevous MacBook I created and used this script:

#! /bin/bash

echo "Old MAC:"
sudo ifconfig en0 ether | grep ether

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

echo "New MAC ($MAC):"
sudo ifconfig en0 ether | grep ether

It worked fine on my old MacBook, but after migrating my user to the new MacBook, the old and the new MAC addresses are the same. I also tried third party tools (brew install spoof-mac) with the same result.

If I try to spoof my MAC address now, the output is always like this, does't matter if the WIFI is connected, disconnected or disabled.

tim@Tim:~$ ./renewMac.sh
Old MAC:
    ether 88:e9:fe:83:XX:XX
New MAC (cd:4c:a0:01:9f:e4):
    ether 88:e9:fe:83:XX:XX

Any tips what is wrong configured?

Dowlen answered 20/9, 2018 at 9:27 Comment(3)
Having the same issue: forums.developer.apple.com/thread/106768Supertax
same problem hereSyllabub
this is an issue for many users: github.com/feross/SpoofMAC/issues/87Subtotal
D
4

Spoofing works again on Catalina (macOS 10.15) (thanks @Life is complex & source)

Dowlen answered 12/10, 2019 at 15:58 Comment(0)
S
16

What you can get from https://forums.developer.apple.com/thread/106768 is: It has been actively removed and Apple is not willing to restore it

It does not work with new devices (2018+), on these it does not even when used with external adapters (like USB-C to Ethernet Adapters). So it is NOT caused by hardware, it's the combination of MacOS and new hardware that disables the feature.

I wonder if there is a way to trick MacOS in "thinking" that it deals with an older Mac. Maybe then it'll work again.

Slavism answered 18/2, 2019 at 16:39 Comment(0)
D
4

Spoofing works again on Catalina (macOS 10.15) (thanks @Life is complex & source)

Dowlen answered 12/10, 2019 at 15:58 Comment(0)
D
1

Trying now on BigSur and it doesn't appear to work.

Dab answered 25/11, 2020 at 10:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.