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

Failure to decode latest Samsung DSRD.enc firmware files. #7

Open
Hashnoob opened this issue Apr 26, 2018 · 2 comments

Comments

@Hashnoob
Copy link

commented Apr 26, 2018

Hi Dominic,

Thanks for writing this utility it has been very useful to me and many others.

Issue: This utility is unable to decode the DSRD.enc file from the firmware package below.
https://s3.ap-northeast-2.amazonaws.com/global.semi.static/Samsung_SSD_850_EVO_EMT02B6Q_Win.iso

Is there any chance for an update in the future?

Thanks

@ddcc

This comment has been minimized.

Copy link
Owner

commented Apr 27, 2018

I took a quick look, and the mechanism is different; the code refers to a base64 header and some AES-like encryption. But I don't have the time right now to actually reverse it.

I'm curious; aside from reverse engineering the firmware, what is the use case for changing the DSRD file?

@Hashnoob

This comment has been minimized.

Copy link
Author

commented Apr 27, 2018

Hey Dominic,
I appreciate the quick reply, I know this is an old project. This utility has allowed people to fix their Samsung SSD's with corrupted firmware, usually caused by Samsung Magician funny enough.

The firmware packages have a "safety feature" that only detect compatible drives, but fails to include compatible drives with corrupted firmware. By modifying the DSRD.enc file you can bypass the SSD checks and it will allow you to select any drive on the system. Allowing you to restore the corrupted firmware.

DSRD.enc - Edit example:

<SSD>
<SN>ALL</SN>
<MOD>ALL</MOD>
<CURFW>ALL</CURFW>
<NEWFW>EMT03B6Q</NEWFW>
<IFW>EMT02B6Q.bin</IFW>
<PWR>T</PWR>
</SSD>

If only Samsung would not make things so difficult.

Either way thanks for taking a look at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.