System extensions in macOS
How to work with system extensions in macOS? How, for example, can you find out which system extension was installed last? How do I remove it?
1. Double clicked on the shell (* .sh) script, the script was downloaded from the Internet, it did not have permission to execute (chmod + x).
2. As a result, the script, as expected, was opened in xcode (xcode had never been launched before).
3. But - before the script opened, there was a message that "something there" was blocked and the standard offer to go to "System settings" -> "Protection and security" and click "Allow".
4. After clicking on "Allow", a password was requested and after entering it, the system reported that a reboot was required to install the SYSTEM EXPANSION. After restarting, the macbook rebooted twice and - it is absolutely not clear what was installed, how to find and remove it now?
What was that anyway? After all, the script probably did not run, it just opened for editing. Then what is this system extension? And, most importantly, how do you even find out what was installed?
In the "System Preferences" -> "Extensions" section, nothing new has appeared.
Systemextensionsctl list command produces: 0 extension (s)
In the directories / System / Library / Extensions / and / Library / Extensions / there are no kext'ov with the date of modification when this extension was installed (for all the date coincides with the date of installation of macos, there are no newer ones)
Maybe it's Shell - the interpreter added something on first launch? Or xcode (also on first launch)?
But, the main thing is how to find out what has been established in such cases? And how to remove it? And how do you work with system extensions in general?
Please enlighten.
The script was a regular script from the uupdump site for building an iso image of a Windows 11 Insider Preview for ARM64 architecture (not for AMD64 !!) for use in a virtual machine on a macbook with an M1 processor (regular ISOs with a Windows distribution do not work with an M1 chip).
P.S.
OS: macOS Monterey 12.0.1
MacBook with chip M1 Pro
MacBook Pro 14″, macOS 12.0