When you run kextstat command to see the list of kernel extensions loaded in the system, you might come across kext named com.apple.Dont_Steal_Mac_OS_X (7.0.0) being loaded all the time. You might me wondering what is the role of this kernel extension. com.apple.Dont_Steal_Mac_OS_X prevents OS X from being used on non approved Intel hardware – as OS X is licensed only for use of approved Apple Intel hardware. This kext is used to control software piracy of OSX on non Apple supported hardwares. Hence its role is to detect and fail the OSX installation on non apple certified hardwares.
We might wonder how to disable the USB ports on Mac to prevent data copy to external USB mass storage devices. The USB kext on os x is loaded at the time of start of the system, this can be loaded / unloaded using kextload or kextunload command. To disable USB port on Mac , follow below steps: On Macs running Mountain Lion, Mavericks and Yosemite : Unmount any connected USB devices to the system by running below command $ diskutil unmount /Volumes/USBDISK. Now unload the USB related kernel extensions in the following order using kextunload command. sudo kextunload -b com.apple.driver.AppleUSBCardReader sudo kextunload -b com.apple.driver.AppleUSBODD sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass This wil...
Comments
Post a Comment