Disabling Hardware on mac Os X

August 25, 2008

If your company policy requires it, hardware components such as wireless features and microphones can be physically disabled (but only by an Apple Certified Technician). Physically disabling hardware may not be practical in all circumstances. You can also disable hardware by removing the software driver, because the operating system interfaces with hardware via kernel extensions (.kext files).

Removing kernel extensions does not permanently disable the components, and you will need administrative access to restore and reload them. Disabling hardware by removing the software driver is not as secure as physically disabling the hardware, but is more secure than disabling it through system preferences.

Kernel extensions are stored in /System/Library/Extensions. You can disable the following hardware by removing or stubbing the listed extensions:

AirPort:

- AppleAirPort.kext

- AppleAirPort2.kext

- AppleAirPortFW.kext

Bluetooth:

- IOBluetoothFamily.kext

- IOBluetoothHIDDriver.kext

Audio:

- AppleOnboardAudio.kext

- AppleUSBAudio.kext

- AudioDeviceTreeUpdater.kext

- IOAudioFamily.kext

- VirtualAudioDriver.kext

External iSight camera:

- AppleUSBVideoSupport.kext

- Apple_iSight.kext

External mass storage devices:

- IOUSBMassStorageClass.kext

- IOFireWireSerialBusProtocolTransport.kext

Simply dragging these files to the Trash will suffice to remove the extension. Even more secure is to provide stubs for these files (empty files with the same name as the folder being replaced) and to lock them, which will prevent future updates from adding newer versions back. If you have trashed a file, remember to trash it again after applying any system update. In either case, you should also remove the contents of the Cache directory and immediately restart the system.
Xserve hardware also has the ability to lock FireWire and USB ports. The physical key on the front panel engages and disengages this lock. However, keyboard and mouse devices can be excepted in software, using the toggle in the Security Preference pane of the Xserve.

Related posts:

  1. Any Leopard-compatible Macintosh is capable of setting a hardware password

Leave a Reply

Comment moderation is enabled, no need to resubmit any comments posted.