Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samsung 840 EVO SSD locked with m and u password while doing a CMOS reset on Toshiba #444

Open
SydAcid opened this issue Aug 8, 2023 · 1 comment

Comments

@SydAcid
Copy link

SydAcid commented Aug 8, 2023

Hello community,
sometime ago I had forgotten my BIOS password, so I had to perform a CMOS reset.
Sadly I left my SSD installed in the Toshiba Sattelite P850 and because of that it is locked with a master and user password, which I both do not know. (I think these are ATA passwords, right?)
If I install this SSD into my notebook it asks for those passwords and I am not able to boot from any other device.
So I have to use an USB 3.0 enclosure to connect this SSD.

If I want to intialize this drive in Windows 10 I get DataError (CRC checking).

I also tried using diskpart.
First I seleced the disk and used the "clean" command.
When I try to create a partition with "create partition=primary" I get this error: "Error in Diskpart: DataError (CRC-Checking).

Starting Paragon Partition Master is not possible, because I get the following error message:
Disk I/O failure
I/O error on hard disk drive 1 has occured. What do you want to do.

Next I have tried a PSID revert in Windows 10 cmd with sedutil:
Command: "sedutil-cli --scan" gives me this output:
Scanning for Opal compliant disks
\.\PhysicalDrive0 2 Samsung SSD 860 EVO 250GB RVT04B6Q
\.\PhysicalDrive1 No Samsung SSD 840 EVO 250GB EXT0DB6Q
\.\PhysicalDrive2 No
No more disks present ending scan

After this, "C:\Windows\system32>sedutil-cli --query \.\PhysicalDrive1" gives the following output:
Invalid or unsupported disk \.\PhysicalDrive1

I thought that this Samsung 840 Evo SSD would support PSID revert, because the PSID is printed on it's lable.

Do I have any chance to unlock this SSD with hdparm?

Here are some infos about this device:
sudo hdparm -I /dev/sdb

Security:
Master password revision code = 11822
supported
enabled
locked
not frozen
not expired: -security count
supported: enhnced erase
Security level high
2min for SECURITY ERASE UNIT, 8min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWM Device Identifier: 50025388a00b6f39
NAA : 5
IEEE OUI: 002538
Unique ID: 8a00b6f39
Checksum: correct

Needs the SSD to be installed to the internal SATA Port inside my notebook or can I also connect it via USB 3?
I have read a lot and it seems that some notebooks support hotplugginf.
I have not tried it yet, also my BIOS has no option to enable or disable hotsplugging.

My last question is about AHCI.
Does AHCI need to be disabled to remove the passwords?

It would be great if someone could write down the commands I need for hdparm to unlock master and user password.
Somewhre I read that you would have to set a new master pw with hdparm.

Please help me, I am trying to get this problem fixed for many hours..

@youk
Copy link

youk commented Aug 20, 2023

First, you should understand that ATA Security (e.g. locking the drive) and TCG Opal encryption are unrelated things. In general case, the password used to lock the drive has nothing to do with the password employed in Opal encryption. Then, as relates to your particular model and based on this brochure, it can be that the password used to lock the drive is internally used for encryption, too (see "Protect important data with secure encryption technology").

Your attempt to perform PSID revert doesn't make sense in your current setup. sedutil obviously doesn't recognize your drive as Opal one (I am wondering what Samsung Magician shows). The reasons can be:

In any case, why do you think performing PSID revert should remove ATA lock (assuming you would get to it without unlocking the drive, which to me is highly unlikely)?

ATA passwords are widely known as a false level of security. There are abundance of tools that can circumvent them. However, I never used them and cannot recommend a particular tool or method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants