This post is more than 5 years old

1 Rookie

 • 

10 Posts

43873

February 3rd, 2015 04:00

Dell Mini 1012 BIOS HDD Password Option: Is a Master & User Password Set ?

Hi,

I've recently upgraded to an Intel 530 SSD in my Dell mini 1012. It makes the notebook much better.

I've now set a HDD Password via the BIOS option (BIOS version A12). I've read a little about Master and User HDD passwords, and I would like to know if this BIOS option only sets a user or master or both passwords ?

If the user password is set to what I have entered, does the BIOS also generate a master password ?

If a "Dell generated" Master password has also been set, how can I ensure there is no back door to unlock my SSD ? I believe the master password can be setup to only allow a secure erase, and not unlock the SSD. Can I set this up, when I only know the user password ?

I want my Dell Mini 1012 to unlock it's SSD with only the password I have entered. Its OK if there is a second master password, as long as this password can only do an erase, and can't unlock my SSD for someone else to use.

Thanks

1 Rookie

 • 

10 Posts

February 5th, 2015 02:00

I've now regained access to my SSD !

Was very interesting. I had hoped to just boot the notebook via USB, and use hdparm via Ubuntu, but the BIOS had "locked" the boot option, and I couldn't select a boot via USB (as a temp) option. I had to take the SSD out. I have already a SATA to USB kit. So I then plugged the drive into my other laptop, and used hdparm from there.


It was a challenge to unlock the SSD, even when I knew the password ! Either I wasn't typing correctly, or the chars needing a "\" escape was causing problems with hdparm as input parameters. But in the end I was able to unlock the SSD with my user password I had set previously using hdparm.

I then decided to setup a single char password via hdparm, and try this in the Mini 1012. Amazingly, a single char password was not able to be used via the unlock BIOS. No idea why, perhaps the BIOS and hdparm communicate the password differently to the SSD (scan codes ?). But just entering the char, and pressing return when prompted did not unlock the drive.

I had to remove the drive again, and then I decided to disable security, but before I did this, I set up a master password (I had already reduced the security mode to high during user password setting). If I can change the master and user password, then I have effectively stopped the "back door" of Dell setting a master password.

Once back in the Mini 1012, I then enabled the HDD password, and everything worked fine as expected.

I took the drive back out again, and used my other laptop to see if the master password still worked. It didn't ! So it looks like the BIOS password setting procedure, sets the user to my requested password, and also sets the master to a Dell specific password.

I then put the drive back in the Mini 1012 (actually I could of done the above with the drive still in the Mini using Ubuntu). I entered my password as normal when prompted, and then used hdparm. The drive was frozen, so I had to first instruct the Mini to "sleep" for 5 secs so the drive was effectively turned off/on. I then set a new master password, which will of course overwrite the Dell master password given when I created a HDD password. This procedure worked.

So now I can used the SSD with full disk encyption, and I have set my own (user) password via the BIOS, and I've set my own master password via hdparm.

Dell's back door is now closed, so I'm happy. Well it should be closed ! The notebook is now secure enough for me, and no performance hit with the encryption.

What is interesting is the way the BIOS and hdparm "set" the password, that they are not compatible with each other. Maybe the BIOS sends hex char codes, or because hdparm pads the password, this padding extension may make the password different than the BIOS. The BIOS user typing in can only write an 8 char password, which is small, but considering that after either 3 or 4 attempts at entering a "wrong" password, the SSD needs to be power cycled, even a brute force attack on a SSD would be difficult and time consuming. Plus I only read emails or web surf using the notebook, so if I lost it, and someone really does want to take the disk out, and try to break the password, I have enough time to change my other passwords anyway.

What I though would of taken 30 mins to do, in the end took two evenings ! If anyone else is thinking of using BIOS HHD password for encryption, I would recomend to do it, but let the BIOS set the "user" password, and then just use hdparm to set the master one to what you wish. I wouldn't recommend playing around with security modes and passwords too much, if you mess up a little, you can cause yourself lots of extra work and trouble !

11 Legend

 • 

87.5K Posts

 • 

321.3K Points

February 3rd, 2015 09:00

Passwords can always be removed - if you're looking for data security, no password will provide it.  You'll need to encrypt the drive.

1 Rookie

 • 

10 Posts

February 4th, 2015 01:00

The Intel 530 SSD I've fitted offers Full Disk Encryption. So using a HDD password gives me encryption, with no performance impact. Previously I was using Truecrypt, and this does impact the netbook a little. As its slow anyway, every little bit helps ! With the SSD its fast, and secure.

Last night I used Ubuntu and the hdparm program to set the security mode to maximum. This then only allows a master password to erase the disk, but not "use" it. So there would be no back door, and only a user password.


Ho hum ... it didn't go well. I set the user password together with the security mode (I couldn't just change the security mode). My password has characters that need escaping, and I at first didn't use the '\' char to do this. It took me 3 attempts before the command response looked correct for my password.

Success ... so I thought. But after a reboot, I was prompted for the HDD password, as expected. I entered my password in ... but no, it wasn't accepted. Great ! I know what the password is, as I created it.

At first I thought it might be due to the keyboard, and the HDD password entry screen defaults to a US keyboard. But my UK keyboard has the same layout. So I tried all the combinations of my three attempts, with and without escape chars. But no luck.

Highly annoying ! Tonight I'll put Ubuntu on a USB stick, and boot and try and unlock with hdparm. If I can unlock, I'll set a single char password, and then change this via the BIOS.

Hopefully this will work, or my SSD is now a shiny brick. Its my first experiments with an SSD, and its a small and not so expensive SSD. But its of course highly annoying, as I spent time setting up dual boot Windows 7 and Ubuntu. I'll have to do that all again with a new SSD if I can't fis this SSD.

It can't be hard to unlock with hdparm, I do know the password afterall. So I'm hoping I can recover the SSD.

No Events found!

Top