Hard drive password recovery

Here’s a guide for recovering protection passwords from ATA hard drives (translated). These passwords are stored in a special area of the hard disk that also contains the firmware for the device. Normally you can’t get at them but [Supersonic] walks us through a method used to grab the data off of a Western Digital Scorpio drive. Booting into a program called MHDD you are able to bypass the BIOS (which won’t allow you to read protected data) and directly drive the SATA or PATA controller on your motherboard. Once you’ve dumped the data it can be viewed with a HEX editor, and if you know where to look you can grab the passwords that are locking the disk.

This reminds us of some of the original Xbox hacks which used a variety of methods to unlock the stock hard disk.

22 thoughts on “Hard drive password recovery

  1. Yeah, that reminds me of Xbox too. …reminds me of when I unlocked the disk, and then didn’t write down the password that it needed to be relocked with. I was told I either needed to sniff the PW from the IDE bus directly (in plaintext) or buy a mod chip. I didn’t have a logic analyzer at that point so I had to buy a mod chip.

    This also reminds me of a discussion I had with flyback, a freenode regular, on IRC recently. He was doing some data recovery for a client on a faulty HDD. Flyback was using a serial debug interface that he said was common amongst HDD’s. It sounded like you just needed to know what test points to solder to and the protocol was straightforward after that. You could do some really low level stuff with the hardware. You also got r/w access to all kinds of eeprom data. I’ll bet the password was in there. He gave me a PDF with an extensive list of serial commands, but I lost it when I had to reinstall my OS a couple weeks ago. He called it PMOS. I’m not sure what that refers to, and googling “PMOS” doesn’t bring up anything relevant. It was really interesting, and worth some digging if anyone’s into HDD tech or is technically inclined and desparate to salvage some data from a bad HDD.

  2. “This reminds us of some of the original Xbox hacks which used a variety of methods to unlock the stock hard disk. ”

    Totally. Man was I big into that back in the day, I still have several modded xboxes lying around collecting dust including this work of art:

    http://www.billporter.info/xbox-mod/

    I should come up with something useful to do with them.

  3. @naturetm

    you didnt NEED the modchip as you could have dumped the eeprom that stores the unique info about the xbox, like its hdd unlock code.

    i wonder if this tool will actually unlock already locked xbox hdds whom have been seperated from their married motherboards.

    if i pull some from the depths of the closet ill give it a shot and report back :)

  4. So if I’ve been doing this for five years, am I alone. It’s the same menu to wipe the drive using the firmware.

  5. @Bill: Install XBMC!

    Sure, it can’t play HD video, but it’s still pretty awesome.. you can buy composite cables for, like, $8 on ebay. Makes everything look a lot better, too.

    1. That site blocks us from seeing some of the WD info, sadly. Luckily, I’m working on a Fujitsu! (Hehe)

      I came across this in a search for a tool that actually works on resetting the password on/erasing a drive that got it accidentally set. I just love how laptops with one set will just go ahead and make unlocked drives protected without asking – don’t you, too? LOL, probably someone at the store ‘tested’ a laptop with it and then I bought it. It’s more fun getting it working than walking back to the store, though. I’ve learned that the Fujitsu laptop drives have pins suspiciously similar in placement to the ones on the Seagate 7200.11 drives that everyone was griping about a couple years back. Luckily, mine was unaffected by the BSY bug. :/

      BTW You should have linked to this part of your forum: http://forum.hddguru.com/hard-disk-drives-data-recovery-and-repair-f1.html

  6. My laptop sony vaio VPCX131KX when turn on, the screen text is “Enter Hard Disk User Password”. Although I did not set a password for drive. Help me!

  7. So what about on Laptops??!! I have an administrative HDD password and can’t remember it. This doesn’t help me at all. I’m 15 and can’t get a visa until I’m 18 , not mailing cash for it to just come up stolen. And I want to keep my fast HDD do buying a new one is out of the question. Help?

  8. i have a very old Toshiba laptop from 2005 (its era). i need to enter the build-in User HDD passsword. but i entered it a long time ago and I have not used it since then. what can i do to get it back?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s