[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pen] Recovering HDD Password?
Sadly, a Mac won't help - this isn't a driver issue. It is implemented
in hardware, and the hard drive is very stubborn - 256bit max
"password" length. It has a password attempt counter of 5... requiring
power cycle/reset after 5. (X10 hardhack?) When in Maximum security
mode, the master password doesn't do anything, and only the user
password works.
The only two possibilities I see for a software hack here is that
1. the firmware download functionality is not disabled when the drive
is locked. (Use imagination here. Replace BEQ with BNE)
2. the SEEK/READ BUFFER commands are not disabled. SEEK doesn't tell
the drive to read a sector... just that it WILL be asked to read the
sector. If the drive does an anticipatory read of the requested
sector, it will be read into the sector buffer, which you can dump
with READ BUFFER. Where in the buffer your sector would be is up to
the user to figure out. Circular buffer? maybe. maybe not. (Similar to
reconstructing paper shredder confetti at that point). If the drive
does NOT do an anticipatory read, this is useless.
<http://www.t10.org/t13/project/d1410r3a-ATA-ATAPI-6.pdf>
6.13 Security Mode feature set
The optional Security Mode feature set is a password system that
restricts access to user data stored on a
device. The system has two passwords, User and Master, and two
security levels, High and Maximum. The
security system is enabled by sending a user password to the device
with the SECURITY SET PASSWORD
command. When the security system is enabled, access to user data on
the device is denied after a power
cycle until the User password is sent to the device with the SECURITY
UNLOCK command.
A Master password may be set in a addition to the User password. The
purpose of the Master password is to
allow an administrator to establish a password that is kept secret
from the user, and which may be used to
unlock the device if the User password is lost. Setting the Master
password does not enable the password
system.
The security level is set to High or Maximum with the SECURITY SET
PASSWORD command. The security
level determines device behavior when the Master password is used to
unlock the device. When the security
level is set to High the device requires the SECURITY UNLOCK command
and the Master password to unlock.
When the security level is set to Maximum the device requires a
SECURITY ERASE PREPARE command and
a SECURITY ERASE UNIT command with the master password to unlock.
Execution of the SECURITY
ERASE UNIT command erases all user data on the device.
The SECURITY FREEZE LOCK command prevents changes to passwords until a
following power cycle. The
purpose of the SECURITY FREEZE LOCK command is to prevent password
setting attacks on the security
system.
6.13.3 Attempt limit for SECURITY UNLOCK command
The device shall have an attempt limit counter. The purpose of this
counter is to defeat repeated trial attacks.
After each failed User or Master password SECURITY UNLOCK command, the
counter is decremented. When
the counter value reaches zero the EXPIRE bit (bit 4) of word 128 in
the IDENTIFY DEVICE information is set to
one, and the SECURITY UNLOCK and SECURITY UNIT ERASE commands are
command aborted until the
device is powered off or hardware reset. The EXPIRE bit shall be
cleared to zero after power-on or hardware
reset. The counter shall be set to five after a power-on or hardware reset.
- Strydre
On Fri, Nov 7, 2008 at 1:14 PM, Cameron Hanover <orange1@xxxxxxxxx> wrote:
> have you tried sticking the drive in a mac or something. i know it's
> entirely different, but i once had a usb flash drive that said you
> could put a password on it. thing is, it only worked in windows. if
> it was password protected and you put it on a mac, you could access it
> just fine without a password.
>
> On Thu, Nov 6, 2008 at 7:59 PM, Chris White <gtpprix@xxxxxxxxx> wrote:
>> I've got a drive (40GB Toshiba MK4036GAC) thats locked and I have no clue
>> what the password is, does anyone know a way to recover the password on
>> these things?
>>
>> -Chris
>>
>>
>>
>
>
>
> --
> -cth
>
> Chaos was the law of nature. Order was the dream of man.
>
Please visit www.the-collective.net.