 |
 |
Major ATA Security Risk in Apple Computers
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
ATA hard disks can be protected with a password. This password will be asked for by the BIOS which then unlocks the disk. To avoid that a malicious program changes the password of the disk the BIOS locks the security features of the drive so that the password can not be changed. Even when the password feature of the drive is not used the BIOS needs to set the security lock of the drive or any program can enable the password. This would mean that a malicious program could set the password to something unknown to the user who wouldn't be able to access his data any more after a reboot.
Apple computers do not use the password features of ATA drives afaik, but heise.de found that they also negligently don't set the security lock of the drive:
http://www.heise.de/ct/english/05/08/172/
The question is: have the BIOS programmers of the desktop PC manufacturers thought of this? A tour of inspection through the device zoo of c't magazine's editorial staff provided some shocking insights: In the case of two thirds of all the PCs inspected the security functions were not frozen; and this group included not only devices cobbled together but also current branded PCs by Dell, HP and Apple.
Currently no malicious program that makes use of this security risk is know yet. Apple as usual sees no need to react:
Apple […] sees no need for action - to load a kernel extension it is necessary to enter the administrator's password, the company noted. We have come to an agreement with Apple to the effect that we will program a demonstration of the damaging action and make it available to Apple. Perhaps someone in the United States will change his or her mind once he or she can only access their hard disk after entering correctly "c't Magazin für Computertechnik" (including the umlaut!).

|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status:
Offline
|
|
Since you have to give the app your password, the app can do absolutely everything - including wiping the entire hard drive.
|
|
JLL
- My opinions may have changed, but not the fact that I am right.
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Originally Posted by JLL
Since you have to give the app your password, the app can do absolutely everything - including wiping the entire hard drive.
If I understand the c't article correctly you don't need to enter an admin password if you run as admin already. Most Mac users run as admins. Even when you give away your password the most a malicious program can do is delete your hard drives, which is bad enough, but at least you can start over with a backup.
Without the security freeze lock however it can now also economically destroy all attached hard drives.
It's a lame excuse to say that the password is required. The security freeze lock feature exists for a reason and Apple should update the OF to prevent the risk of total data loss and hard drive damage instead of shifting the blame to the users.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Forgive me if I'm misunderstanding something, but if Macs don't use the password feature anyway, then why does this matter? Changing the drive password wouldn't have any effect, would it?
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Because someone else could lock your harddrive, Millenium.
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally Posted by OreoCookie
Because someone else could lock your harddrive, Millenium.
That's the point; if OSX ignores the password anyway, then wouldn't the lock have no effect?
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Originally Posted by Millennium
That's the point; if OSX ignores the password anyway, then wouldn't the lock have no effect?
OS X can't ignore the password. It's a hardware feature of ATA drives. If something sets the password you can not get hold of any data at all, no matter what OS. If some malicious program does set the password for your drive you can throw it away.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Apr 1999
Location: Copenhagen, Denmark
Status:
Offline
|
|
Originally Posted by TETENAL
If I understand the c't article correctly you don't need to enter an admin password if you run as admin already. Most Mac users run as admins.
You can't install anything into /System/Library/ without entering a password - it needs root access.
Originally Posted by TETENAL
Even when you give away your password the most a malicious program can do is delete your hard drives, which is bad enough, but at least you can start over with a backup.
It can erase every single hard drive connected to your system - including network mounted hard drives.
|
|
JLL
- My opinions may have changed, but not the fact that I am right.
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally Posted by TETENAL
OS X can't ignore the password. It's a hardware feature of ATA drives. If something sets the password you can not get hold of any data at all, no matter what OS. If some malicious program does set the password for your drive you can throw it away.
Ah; in that case there is a problem.
It's not as serious as it might sound, given that as JLL points out, it requires not just admin access but root access. This is, frankly, enough for most. The bug should certainly be fixed, but it is not as critical as, say, remotely auto-installing Dashboard widgets.
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Originally Posted by Millennium
It's not as serious as it might sound, given that as JLL points out, it requires not just admin access but root access.
Are you sure a normal admin process can not send ATA commands directly to the drive? The article doesn't seem to be conclusive about that.
Originally Posted by Millennium
The bug should certainly be fixed, but it is not as critical as, say, remotely auto-installing Dashboard widgets.
With total data loss, no chance to recover data with a data recovery application, and economically totalling the drives, the consequences are potentially severe. All it needs to fix this is an OF update to set the security lock freeze. I don't understand why Apple and JLL oppose this.
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status:
Offline
|
|
Originally Posted by TETENAL
Are you sure a normal admin process can not send ATA commands directly to the drive? The article doesn't seem to be conclusive about that.
With total data loss, no chance to recover data with a data recovery application, and economically totalling the drives, the consequences are potentially severe. All it needs to fix this is an OF update to set the security lock freeze. I don't understand why Apple and JLL oppose this.
Well, I'm not 100% sure but to access the hardware directly you need to build a kernel IO extension, and that for sure needs the password to get installed even if you are admin.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Dec 2000
Location: Staffs, UK
Status:
Offline
|
|
Mac's don't have BIOS.
They have OpenFirmware.
FYI.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
Originally Posted by TETENAL
Are you sure a normal admin process can not send ATA commands directly to the drive? The article doesn't seem to be conclusive about that.
I thought all hardware access has to run through the HAL of OS X?
|
|
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
If OS X doesn't interface with the ATA drive's password security system, then how can someone alter the drive's password while it's installed in a Mac?
|
|
Glenn -----
OTR/L, MOT, Tx
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
From TFA:
Mac OS X behaves in a similar fashion to Windows: Given root rights kernel extensions can be loaded, which can then issue ATA commands.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally Posted by TETENAL
Are you sure a normal admin process can not send ATA commands directly to the drive? The article doesn't seem to be conclusive about that.
Only a process actually running as root can do something like this. There are only four ways for a process to run as root: - It must be actually started as root.
- It must be run by the system during the boot process (as with a kext)
- The sticky bit in its permissions must be set and it must be owned by root (setting this up, by the way, requires root).
- An Admin user must authenticate, using either sudo or the GUI, to momentarily grant root privileges. This requires a password.
End result: somewhere along the line, someone has to enter a password, or this is not going to happen.
With total data loss, no chance to recover data with a data recovery application, and economically totalling the drives, the consequences are potentially severe.
The consequences of a meteor falling on my head would be severe indeed, but I'm more concerned about accidentally cutting myself with a knife while cooking. Why is this? Because although the meteor implies more dire consequences, the odds of it actually occurring are extremely low. The consequences of cutting myself by accident are probably low -though they could be more severe- but the odds of it occurring are much higher, to the point where I consider it a greater point of concern.
All it needs to fix this is an OF update to set the security lock freeze.
There may not be anything 'all' about it; depending on how this command would be sent this may not be a trivial thing to do at all.
I don't understand why Apple and JLL oppose this.
It doesn't sound like it's an issue of opposition, as much as not seeing it as a truly serious issue requiring immediate patching.
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
From TFA:
Mac OS X behaves in a similar fashion to Windows: Given root rights kernel extensions can be loaded, which can then issue ATA commands.
Exactly.
My question should have been more complete, as nobody could tell which post I was thinking about when I posted it. I was wondering how any kernel process could interact with the drive without having an admin on that machine start it. An admin can hose a Mac just about as easily as an admin can hose up a Windows box if he or she is either malicious or incompetent, but for the life of me, I can't see how this could "just happen."
|
|
Glenn -----
OTR/L, MOT, Tx
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
So then it can not "just happen". It requires that the user is lured to give his password.
However ATA drives have a "security lock freeze" feature so that it can not happen at all. Even when a naive user gives away his password. This is done because not only data can be lost but also the drive could be destroyed.
Apple doesn't make use of the security lock freeze which is an unnecessary negligence.
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Hmm, this does sound like something that needs to be fixed.
Yeah, if I give a malicious app my password, it can rm -rf / my drive and erase everything, but at least I'd be able to reformat, restore from backup, and get on with my life. From the sounds of it, someone who exploited this vulnerability could cause me to actually have to buy a new hard drive. 
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Feb 2005
Location: 888500128
Status:
Offline
|
|
Originally Posted by TETENAL
Apple doesn't make use of the security lock freeze which is an unnecessary negligence.
Agreed.
I just don't think it is such a "major" issue.
It definitely needs to be fixed, though.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status:
Offline
|
|
Originally Posted by TETENAL
Apple doesn't make use of the security lock freeze which is an unnecessary negligence.
Is there a way for the end user to turn on the security lock freeze to protect themselves while we wait for the manufacturers (i.e. Dell, HP, Apple, etc) to fix it?
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
Originally Posted by Person Man
Is there a way for the end user to turn on the security lock freeze to protect themselves while we wait for the manufacturers (i.e. Dell, HP, Apple, etc) to fix it?
c't made solutions for Windows, Linux, and Mac OS X. See the article I linked to in the first post. It installs a kext on Mac OS X, which is only a partial solution since if a malicious kext would be loaded before the security kext it would be too late.
Currently nothing is known to exploit this and I don't dare to install any kext. I would prefer a fix by Apple.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
There's another vulnerability.
If someone is standing behind you, they can read EVERY SINGLE THING YOU TYPE!!!
Apple needs to fix this ASAP 
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status:
Offline
|
|
Originally Posted by TETENAL
c't made solutions for Windows, Linux, and Mac OS X. See the article I linked to in the first post. It installs a kext on Mac OS X, which is only a partial solution since if a malicious kext would be loaded before the security kext it would be too late.
Currently nothing is known to exploit this and I don't dare to install any kext. I would prefer a fix by Apple.
So in other words, you can't set some bit on the hard drive once, and it will remember it across reboots...
Combine that with this, and we've got a real problem.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Originally Posted by Person Man
So in other words, you can't set some bit on the hard drive once, and it will remember it across reboots...
Combine that with this, and we've got a real problem.
That's a Windows exploit. We're talking about the Mac. Still, Apple's explanation for why this ATA issue is a non-issue does seem to be lacking persuasive force.
|

"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jun 2001
Location: Northwest Ohio
Status:
Offline
|
|
Originally Posted by Big Mac
That's a Windows exploit. We're talking about the Mac. Still, Apple's explanation for why this ATA issue is a non-issue does seem to be lacking persuasive force.
I know that particular one is a Windows exploit. But it would be just as simple for someone, knowing that an organization uses Macs, to enable the hard drive password, and then hold their data for ransom... "We won't give you the password unless you give us $xxx.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Berkeley, CA
Status:
Offline
|
|
quickly, everyone move to SCSI!

|

Liberty - Free Markets - Peace
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
Originally Posted by Person Man
I know that particular one is a Windows exploit. But it would be just as simple for someone, knowing that an organization uses Macs, to enable the hard drive password, and then hold their data for ransom... "We won't give you the password unless you give us $xxx.
Any organisation worth its salt would have backups of all its (important) data on an external source. They'd have to be idiotic not to. It could be argued that any consumer would be equally stupid not to have a backup of their important data. However, the real world gets in the way of this idealism... 
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status:
Offline
|
|
I wonder if this couldn't be handled by Open Firmware? OF has access to all devices prior to booting the OS, and OF is one hell of a lot more powerful than any BIOS. I'm sure a simple firmware upgrade could fix this by setting the password once with a standard Apple password and then entering it on each boot.
|
|
weird wabbit
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|