Unexpected MDM-like behavior and developer mode on retail MacBook M4
Hi all,
I have a MacBook M4 Pro recently purchased through Apple retail channels with AppleCare+ that is behaving as though it's an MDM provisioned device.
For example, wifi settings etc. changing without my involvement and what appear to be mdm related network calls. System Preferences show that no profiles or extensions are installed. The only software I've ever installed is Homebrew, Little Snitch, and Parallels.
The device is in Lockdown Mode with the MacOS firewall set to block all incoming network connections. I have logged the device into iCloud once to download (but not install) XCode with an AppleID that is not (to my knowledge) registered as an Apple Developer account.
Here are some of outputs from terminal:
- spctl kext-consent status
- Kernel Extension User Consent: ENABLED
- spctl --status
- assessments enabled
- csrutil status
- System Integrity Protection status: enabled.
- devtoolssecurity -status
- Developer mode is currently disabled.
- log show --predicate 'eventMessage CONTAINS "AMFI"' --info --last 7d
AMFI: developer mode is force enabled on this platform
At this stage, I'm seeking help to understand the following:
- Is it expected for a retail purchased, non-provisioned device to be set up with developer mode force enabled?
- If this is an exploit, what type of exploit or exploit chain would lead to the mdm type behavior I experienced?
- What remediation steps (if any) are there?
Thanks in advance all.
I don't believe I'm able to @mention folks here, but gravityfed and MrHoffman appear to have been engaged in a related thread, Factory reset macmini M1 2020 is not like… - Apple Community, that went unresolved.
[Re-Titled by Moderator]
Original Title: MDM type exploit? Non-provisioned retail purchased MacBook M4 shows signs of MDM. Device developer mode force enabled. Related?
MacBook Pro (M4)