How to get SSD PSID from the drive itself (ubuntu 14.04)?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to get SSD PSID from the drive itself (ubuntu 14.04)?
Hi everyone,
I'm now looking for a way to get an SSD PSID (Physical Security ID) from the inside of it.
I know it is an alphanumeric identifier to lock the SSDs from piracy issues.
Supposedly from what I know, if you erase or modify the SMART Values on the inside of an SSD twice, it will lock down and will be unusable.
What I want to know it's what language can help me to get this information and if there's any library I can use to speed up the process, hoping I won't need to decrypt anything.
I know my question may be too broad, but if someone could guide me to the correct way of getting this thing done, I would be very grateful
I have no personal experience with this, but a quick search turned up reference docs for both an Intel and Sandisk implementation.
Both of those indicate that the PSID is printed on an label on the outside of the device as it is required for certain functions. If the security features it supports have been enabled then attempting to circumvent those is exactly the type of security breach it is designed to prevent. If you need to disable those features then you will need to follow the manufacturer's instructions for the specific device.
If this is your device then you should have access to the configuration and necessary keys. If it is not, then you are trying to break someone else's privacy protections, which is not supported by the device or LQ!
I'm not trying to steal information or anything. The thing is that I have for test purposes a Crucial BX-300 SSD, this SSD doesn't come with any PSID neither inside (the case) or outside (white label).
The main concern is that I want to find some way to unlock it myself, but my knowledge is limited right now. So that's why I'm asking for some information on the unlocking matter. If the drive wasn't mine I wouldn't have bothered to make this question.
Sorry if it appears too mischevious, but it's more like an experiment for me
The PSID is Physical Security ID, which means that you must have physical access to the drive to get the ID. If it has no PSID on the outside of the device then it probably does not support that feature.
A quick search for the docs for that drive indeed does not turn up anything which obviously mentions PSID for that drive. You might contact the manufacturer or consult the user manual.
Your question might be more appropriate and get a better response in the Hardware forum. If you would like to have it moved please use the report button at bottom of your original post to request that it be moved.
I don't believe you ever need to justify a desire for knowledge, but there are many people who disagree with me there.
Quote:
The main concern is that I want to find some way to unlock it myself, but my knowledge is limited right now. So that's why I'm asking for some information on the unlocking matter. If the drive wasn't mine I wouldn't have bothered to make this question.
This is the first time I'm hearing about that. I know little about file systems, let alone interfacing directly with the disk, but I'd consult specialist reverse engineering forums.
I'm pretty certain you will need a solid grasp of assembler programming. And if you do have that, it might still take a large amount of research into some pretty esoteric things with scant to non-existent documentation.
If you're lucky, someone might already have written a utility and published the source.
If you're persistent, and do actually manage to figure it out, please do share. In my opinion the world sorely needs people with the conviction and the wherewithal to go deeper into these things.
I do agree with you Fat_Elvis, my goal here is to continue getting into these things until I have either found the answer or made something to get that same answer myself.
In fact, I don't know much of assembler programming, but that's some knowledge just waiting to be learned. I'm still researching a possible source of information that could give me a correct path to achieve my goal. Be sure that if I a tool that could lead me to get the information I need, I'll share it with pleasure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.