In our discussion on Tuesday I mentioned a potential risk related to ATA disk drive security passwords . I think some of you are familiar with this functionality, but maybe didn't understand what I was asking about. I've been concerned about whether it is possible for some exploit to abuse these security commands, resulting in loss of access to data on the drive.
The ATA spec allows a “user” password to be set to prevent unauthorized access to the disk. There is also a “master” password set by the vendor that can unlock the drive if the user password is lost. The security level can be set to “high” or “maximum” when the password is required. When set to maximum security mode, using the master password causes the disk to zero the drive before unlocking! A security “freeze” command can also be sent to disallow changes to the ATA security settings until after a power cycle.
When I first read about this a coupler years ago, the Linux hdparam program already supported these commands, and there was at least one windows tool you could download that ran them. A quick search today finds tools that not only implement them but also attempt to crack the password. As far as I can tell, if they can't crack the user password and the security level was set to maximum you still loose the data. In any case, it would be preferable to prevent the problem rather than be taken down and have to fix it.
Obviously Linux users are much less vulnerable to malware. I haven't seen any mention of anything the system does to specifically prevent abuse of the ATA security commands. Is there a valid threat? Should we be changing default passwords on our disks, or sending a “–security-freeze ” command during system initialization?