Apple Security Threat

Friday, November 07, 2008

A recent occurrence has made me think twice about Apple’s Target Disk Mode boot option. Indeed it can be a very convenient feature, but like most conveniences this one is riddled with security threats. What is most bothersome, though, is how few people realize the problems it poses — not to mention the simplicity of a solution that Apple does not provide...at least not by default.

For those of you not up to speed, most of Apple’s computers allow themselves to be temporarily turned into an external hard drive simply by pressing the corresponding hot key (‘T’) during boot up. If the computer supports this option (most do) it will enter what is called Target Disk Mode (TDM) and allow itself to become a mass storage device and be connected to another computer via an IEEE 1394 interface (aka FireWire, i.LINK, Lynx…whatever).

Yes, this feature is convenient for transferring large amounts of data or if you need a quick makeshift external hard drive (assuming you have a male-male Firewire cable). Unfortunately, the feature also inherently bypasses the OS from ever being started on your computer allowing others access to all sorts of files that you assumed were secure by the OS’s login.

How It Works

When you press the power button on your computer the first thing to come to life is the firmware (a very low level program that lives in the hardware) and it decides what happens next — whether to boot into the installed OS, boot from a CD, boot from a network drive, etc. The decision is based on multiple factors, one of which is to check for certain hot keys on the keyboard.

The Problem

The problem with this convenience is that anyone with a finger has the ability to transform your computer into a large external drive. Yeah, including that person that just walked away with your laptop while you were getting another soy latte at Star Bucks.

Some would argue that if I’m this concerned with the security of my files, that I should enable FileVault in order to encrypt every file on my hard drive. Yeah? Well, I don’t think I should have to enable something that will have incredible amounts of overhead just because a back door exists that can completely circumvent the OS’s login prompt.

Solution (but not really)

Firmware Password Utility ApplicationThe solution is simple: eliminate the hot keys from influencing the firmware’s decision. Welding a steel plate on top of your keyboard would work I guess, but that’s not very convenient. A better idea would be to tell the firmware to not check the hot keys.

Currently, there is no way to disable these hot keys, but it turns out there is a way to password protect the firmware with some extra software. But after reading Apple documentation that states that the firmware password can be circumvented (quite easily), and that it could in fact be hazardous to your system, and that it is temperamental, I disabled it on my machine and don’t recommend it. Way to fuck us over, Apple:

“WARNING: Open Firmware settings are critical. Take great care when modifying these settings and when creating a secure Open Firmware password.”

“An Open Firmware password provides some protection, but it can be reset if a user has physical access to the machine and changes the physical memory configuration of the machine.”

“Open Firmware password protection can be bypassed if the user changes the physical memory configuration of the machine and then resets the PRAM three times (by holding down Command, Option, P, and R keys during system startup).”

The Rant

First of all, I think that the extra Firmware Password Utility (not included in a default installation…but available from the software installation disc (/Applications/Utilities/) and online) should not be necessary. I think there should be a simple check box in the System Preferences that enables/disables whether or not the keyboard is “heard” by the firmware.

I also think that the hot keys should be disabled by default. Apple is all about an ‘out of the box, ready to go’ mentality so I suspect they leave the feature enabled by default because that makes it more convenient for their users to make use of the TDM functionality. We’ve seen this same behavior before, but I think the security threat outweighs the convenience factor. Tisk, tisk Apple.

Labels: , , , , ,

A More Intuitive iPod Shuffle Switch

Wednesday, October 01, 2008

The iPod Shuffle is a wonderful little product and in my opinion is by far the best mp3 player that doesn’t display information about what is playing. But there is an element of its design that I consider to be flawed and which I attribute to Apple’s consistent choice to sacrifice options for the sake of simplicity.

iPod Shuffle Close Up

One of the two switches on the iPod Shuffle chooses the play mode: either Continuous Playback or Shuffle. The former will repeatedly loop through all the songs in the order that they were added to the iPod from iTunes. The Shuffle mode will obviously play through them randomly, but will it stop playing after all the songs have been played through once? Are Shuffle and Continuous Playback mutually exclusive?

Different Shuffle Symbol Suggestions for the iPod ShuffleThis conflict seems minor, but there might be a major design flaw here. A switch is a user interface element that chooses between two possibilities. Ideally, neither choice implies the other (or else a different user interface element would be used…more about this later). But in the case of the iPod Shuffle, the Shuffle mode implies continuous playback as well. And I agree that it should—it’s intuitive to me that Shuffle would also continuously loop through all the songs. But with the current setup (Default Shuffle Symbol), however, moving the switch from Continuous Playback to Shuffle is contradictory. I would have at least made the symbol something like: Alternate Shuffle Symbol Suggestion 1 or Alternate Shuffle Symbol Suggestion 2.

You might now be saying to yourself: “That’s all fine and dandy because the current symbols on either side of the switch are simply graphical representations of two preset modes: one that continuously loops through the songs in order and another that continuously loops through the songs but in a random order.” Well, let’s not be so quick to make that assumption because as much as I’d agree with you, that's not the way iTunes does it. iTunes uses buttons to select the mode allowing the user to turn both Shuffle and Continuous Playback on at the same time.

Playback choices in iTunesAnd let’s not kid ourselves that it is ok to have iTunes do something different than all the iPods out there. Apple’s success with their line of mp3 players (as well as their other products) is almost entirely attributable the almost necessary connection between their hardware and software components.

Labels: , , , , , ,