LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-11-2017, 12:29 PM   #1
xedge
LQ Newbie
 
Registered: Aug 2017
Location: Mexico
Distribution: Ubuntu 14.04, OS X High Sierra,
Posts: 16

Rep: Reputation: Disabled
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
 
Old 09-11-2017, 01:21 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
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!

Last edited by astrogeek; 09-11-2017 at 01:24 PM.
 
1 members found this post helpful.
Old 09-11-2017, 01:51 PM   #3
xedge
LQ Newbie
 
Registered: Aug 2017
Location: Mexico
Distribution: Ubuntu 14.04, OS X High Sierra,
Posts: 16

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-11-2017, 02:07 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
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.
 
1 members found this post helpful.
Old 09-11-2017, 02:46 PM   #5
xedge
LQ Newbie
 
Registered: Aug 2017
Location: Mexico
Distribution: Ubuntu 14.04, OS X High Sierra,
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thank you so much! I would do as you suggest!
 
Old 09-28-2017, 07:26 AM   #6
Fat_Elvis
Member
 
Registered: Oct 2016
Distribution: FreeDOS 1.2
Posts: 309

Rep: Reputation: 92
Quote:
Originally Posted by xedge View Post
I'm not trying to steal information or anything.
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.

Last edited by Fat_Elvis; 09-28-2017 at 07:34 AM.
 
1 members found this post helpful.
Old 09-30-2017, 12:38 PM   #7
xedge
LQ Newbie
 
Registered: Aug 2017
Location: Mexico
Distribution: Ubuntu 14.04, OS X High Sierra,
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks for answering!

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.
 
  


Reply

Tags
hardware, python, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
How to load Ubuntu to a SSD drive, from Win8. I hate win8. HPinOhio Linux - Newbie 2 07-24-2014 07:43 AM
Can I partition ssd drive for Ubuntu John02139 Linux - Laptop and Netbook 1 10-13-2013 09:05 AM
what is PSID silvercloud Linux - Enterprise 3 08-20-2005 01:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration