Editing Mounting HDD in Linux
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Unlike | * Unlike the ps3, where every part of perconsole security (including the HDD) is dictated by the eid_root_key, the ps4 has two perconsole keys for the HDD, one is handled by SAMU (we cannot obtain this key atm) and the other is handled by the South Bridge / AEOLIA / BELIZE (which we can obtain) | ||
Here | * Here I describe the steps to mount your hdd on the pc using the cryptmount utility on Linux | ||
= Setup = | = Setup = | ||
* EAP HDD Key (check in your kernel dump and in hxxps://github.com/Ps3itaTeam/ps4-kexec/blob/master/magic.h kern_off_eap_hdd_key offset) | |||
* Linux Distro (i'm using xubuntu live for this) | |||
* | * cmtab file | ||
* | |||
== | == Step by Step Guide == | ||
* cmtab file can be as follows (example for xubuntu live) | |||
<pre> | <pre> | ||
# /etc/cryptmount/cmtab - encrypted filesystem information for cryptmount | # /etc/cryptmount/cmtab - encrypted filesystem information for cryptmount | ||
Line 70: | Line 20: | ||
dir=/home/xubuntu/Desktop/user | dir=/home/xubuntu/Desktop/user | ||
flags=user,nofsck | flags=user,nofsck | ||
fstype=ufs mountoptions=ro,noatime,noexec,ufstype=ufs2 | fstype=ufs mountoptions=ro,noatime,noexec,ufstype=ufs2 | ||
cipher=aes-xts-plain64 | cipher=aes-xts-plain64 | ||
keyfile=/home/ | keyfile=/home/xubuntu/Desktop/eap.bin | ||
keyformat=raw | keyformat=raw | ||
} | } | ||
</pre> | </pre> | ||
* if your key in the kernel dump looks like this: | |||
<pre> | <pre> | ||
D2 60 86 B3 8B D2 D3 5A EC 76 DB DE 50 30 00 40 | |||
15 D6 AE 04 44 3D A8 59 4B 03 3C 1F 0A DD FA 6B | |||
</pre> | </pre> | ||
* | * then the correct key will be: | ||
<pre> | <pre> | ||
40 00 30 50 DE DB 76 EC 5A D3 D2 8B B3 86 60 D2 | |||
6B FA DD 0A 1F 3C 03 4B 59 A8 3D 44 04 AE D6 15 | |||
</pre> | </pre> | ||
* after the key file eap.bin is created and the user folder is also created in the Desktop, install cryptmount | |||
<pre> | <pre> | ||
sudo apt install cryptmount | |||
</pre> | </pre> | ||
* and then mount your partition | |||
<pre> | <pre> | ||
sudo | sudo cryptmount user | ||
</pre> | </pre> | ||