WD20EARX-00PASB0 MyBook decryption

Moderator: Maxim_TS


canthashme
Newbie
Posts: 4
Joined: 26.04.21
Reputation: 0 / (0)

WD20EARX-00PASB0 MyBook decryption

Postby canthashme » 27.04.21, 23:59

I'm looking for help with decrypting a WD MyBook (WDBACW0020HBK-01) drive. The HDD is a WD20EARX-00PASB0, and the bridge is a JMS538S. Password is unknown.

After some reading through the 'got HW crypto?' paper (https://eprint.iacr.org/2015/1002.pdf), the reallymine and linux-mybook-tools gits, I attempted decrypting with PC3k, but the key still required the user password. I saw a recent post by someone else with the same issue. I started diving into the processes outlined in the 'got HW crypto?' paper to see if I could figure it out myself. I started trying to code something to try to brute force the KEK with the salt and iterations described in the paper, but my coding ability is minimal. I had a look at the RNG vulnerability, but it's beyond my knowledge without a lot more hours put into this. So, of course, I've got to the point now where I know I need help. I was able to dump the necessary eDEK blob with the ASCII WDv1 bytes, and the first 2mb of the drive (which was indicated as needed in the linux-mybook-tools git).

Anyone able to help?

User avatar
Doomer
New user
Posts: 126
Joined: 24.06.14
Reputation: 4 / (36)

Re: WD20EARX-00PASB0 MyBook decryption

Postby Doomer » 28.04.21, 18:09

can you upload the key sector (the one with WDv1), the first 2mb of the drive, and module 02.rpm somewhere, so I can take a look?


canthashme
Newbie
Posts: 4
Joined: 26.04.21
Reputation: 0 / (0)

Re: WD20EARX-00PASB0 MyBook decryption

Postby canthashme » 30.04.21, 22:44

Thanks for your help. I'll have to grab module02.rpm on Monday, but here are the key sector and the 2mb bin files. Also, manufacturing date of the drive is August 4th, 2011.

https://ufile.io/f/6r0aq

User avatar
Doomer
New user
Posts: 126
Joined: 24.06.14
Reputation: 4 / (36)

Re: WD20EARX-00PASB0 MyBook decryption

Postby Doomer » 30.04.21, 23:51

Looks like I don't need the 2.rpm
It can be decrypted - https://easyupload.io/r7xo4s


canthashme
Newbie
Posts: 4
Joined: 26.04.21
Reputation: 0 / (0)

Re: WD20EARX-00PASB0 MyBook decryption

Postby canthashme » 02.05.21, 22:24

That's awesome! Did you manage to do that via a password bruteforce to generate the KEK and decrypt the eDEK, then validate against the first 2mb? Or via a generated DEK lookup table?

How can I go about decrypting the drive?

User avatar
Doomer
New user
Posts: 126
Joined: 24.06.14
Reputation: 4 / (36)

Re: WD20EARX-00PASB0 MyBook decryption

Postby Doomer » 03.05.21, 16:16

You have a PM


canthashme
Newbie
Posts: 4
Joined: 26.04.21
Reputation: 0 / (0)

Re: WD20EARX-00PASB0 MyBook decryption

Postby canthashme » 03.05.21, 18:46

Looks like my forum account doesn't have permissions to send PMs yet. Not sure when that kicks in.

I've sent you a reply via email.


Return to “WD USB”

Who is online

Users browsing this forum: No registered users and 1 guest