Editing Flash:Encrypted Individual Data - eEID
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: | ||
== Encrypted Individual Data - eEID == | == Encrypted Individual Data - eEID == | ||
This section of flash contains QA tokens | |||
It is 0x10000 in length (64 kb) but only the first 0x1DD0 is used, the rest is padded with FF | |||
It is composed of 6 sections numbered from 0 to 5 | |||
eEID contains your system model data, your target ID, and your PS3 motherboard revision | |||
eEID contains | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! Section | ! Section !! Description !! [[iso module]] | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] | | [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] || [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] is needed for loading parameters to isoldr for loading isolated SELF files on a SPE || aim_spu_module | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID1|EID1]] | | [[Flash:Encrypted_Individual_Data_-_eEID#EID1|EID1]] || ? || ?sc_iso_factory or ss_sc_init? | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID2|EID2]] || | | [[Flash:Encrypted_Individual_Data_-_eEID#EID2|EID2]] || ? + BD drive pairing || fdm_spu_module | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID3|EID3]] || | | [[Flash:Encrypted_Individual_Data_-_eEID#EID3|EID3]] || ? || AacsModule.spu.isoself CprmModule.spu.isoself | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID4|EID4]] | | [[Flash:Encrypted_Individual_Data_-_eEID#EID4|EID4]] || ? || sv_iso_spu_module | ||
|- | |- | ||
| [[Flash:Encrypted_Individual_Data_-_eEID#EID5|EID5]] | | [[Flash:Encrypted_Individual_Data_-_eEID#EID5|EID5]] || ? || aim_spu_module | ||
|} | |} | ||
Note: For data structure of [[Flash:Encrypted_Individual_Data_-_eEID|EID]], see [[Cex2Dex#LibeEID|LibeEID]] | |||
=== Header === | === Header === | ||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 47: | Line 41: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 56: | Line 48: | ||
| 0x0 || 0x4 || 0x6 || Number of entries | | 0x0 || 0x4 || 0x6 || Number of entries | ||
|- | |- | ||
| 0x4 || | | 0x4 || 0x8 || 0x1DD0 || Length of entire eEID package | ||
|- | |- | ||
| 0x8 || 0x8 || 0x0 || Unknown/Blank | | 0x8 || 0x8 || 0x0 || Unknown/Blank | ||
Line 62: | Line 54: | ||
=== File Table === | === File Table === | ||
This is the whole file table | |||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 88: | Line 78: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | |||
0x10 bytes per entry as follows: | 0x10 bytes per entry as follows: | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 99: | Line 86: | ||
| 0x0 || 0x4 || 0x70 || Entry point | | 0x0 || 0x4 || 0x70 || Entry point | ||
|- | |- | ||
| 0x4 || | | 0x4 || 0x8 || 0x860 || Length | ||
|- | |- | ||
| 0x8 || 0x8 || 0x0 || EID number | | 0x8 || 0x8 || 0x0 || EID number | ||
|} | |} | ||
====Typical EID entry addresses and lengths==== | |||
==== Typical EID entry addresses and lengths ==== | Entry point listed is offset from base EID address (NOR:0x002F000 / NAND:0x0080800 in these examples) <br /> | ||
Absolute start address is base EID address + Entry point <br /> | |||
Entry point listed is offset from base EID address (NOR:0x002F000 / NAND:0x0080800 in these examples) | |||
Absolute start address is base EID address + Entry point | |||
Absolute end address is base EID address + Entry point + Length | Absolute end address is base EID address + Entry point + Length | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 120: | Line 102: | ||
| colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] || 0x70 || 0x860 || 0x002F070 || 0x002F8CF || 0x0080870 || 0x00810CF | | colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID0|EID0]] || 0x70 || 0x860 || 0x002F070 || 0x002F8CF || 0x0080870 || 0x00810CF | ||
|- | |- | ||
| || colspan="2" | | | || colspan="2" | EID0_0 || 0x70 || 0xC0 || 0x002F070 || 0x002F130 || 0x0080870 || 0x0080930 | ||
|- | |- | ||
| || | | || || EID0_0_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_0_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_0_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_0_OMAC || || 0x10 || || || || | | || || EID0_0_OMAC || || 0x10 || || || || | ||
Line 138: | Line 114: | ||
| || || EID0_0_PAD || || 0x8 || || || || | | || || EID0_0_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_1 || | | || colspan="2" | EID0_1 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_1_DATA || || | | || || EID0_1_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_1_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_1_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_1_OMAC || || 0x10 || || || || | | || || EID0_1_OMAC || || 0x10 || || || || | ||
Line 154: | Line 126: | ||
| || || EID0_1_PAD || || 0x8 || || || || | | || || EID0_1_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_2 || | | || colspan="2" | EID0_2 || || 0xC0 || || || || | ||
|- | |- | ||
| || || | | || || EID0_2_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_2_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_2_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_2_OMAC || || 0x10 || || || || | | || || EID0_2_OMAC || || 0x10 || || || || | ||
Line 170: | Line 138: | ||
| || || EID0_2_PAD || || 0x8 || || || || | | || || EID0_2_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_3 || | | || colspan="2" | EID0_3 || || 0xC0 || || || || | ||
|- | |- | ||
| || || | | || || EID0_3_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_3_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_3_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_3_OMAC || || 0x10 || || || || | | || || EID0_3_OMAC || || 0x10 || || || || | ||
Line 186: | Line 150: | ||
| || || EID0_3_PAD || || 0x8 || || || || | | || || EID0_3_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_4 || | | || colspan="2" | EID0_4 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_4_DATA || || | | || || EID0_4_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_4_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_4_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_4_OMAC || || 0x10 || || || || | | || || EID0_4_OMAC || || 0x10 || || || || | ||
Line 202: | Line 162: | ||
| || || EID0_4_PAD || || 0x8 || || || || | | || || EID0_4_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_5 || | | || colspan="2" | EID0_5 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_5_DATA || || | | || || EID0_5_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_5_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_5_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_5_OMAC || || 0x10 || || || || | | || || EID0_5_OMAC || || 0x10 || || || || | ||
Line 218: | Line 174: | ||
| || || EID0_5_PAD || || 0x8 || || || || | | || || EID0_5_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_6 || | | || colspan="2" | EID0_6 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_6_DATA || || | | || || EID0_6_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_6_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_6_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_6_OMAC || || 0x10 || || || || | | || || EID0_6_OMAC || || 0x10 || || || || | ||
Line 234: | Line 186: | ||
| || || EID0_6_PAD || || 0x8 || || || || | | || || EID0_6_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_7 || | | || colspan="2" | EID0_7 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_7_DATA || || | | || || EID0_7_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_7_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_7_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || EID0_7_OMAC || || 0x10 || || || || | | || || EID0_7_OMAC || || 0x10 || || || || | ||
Line 250: | Line 198: | ||
| || || EID0_7_PAD || || 0x8 || || || || | | || || EID0_7_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || colspan="2" | EID0_8 || | | || colspan="2" | EID0_8 || || 0xC0 || || || || | ||
|- | |- | ||
| || || EID0_8_DATA || || | | || || EID0_8_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_8_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_8_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || | | || || EID0_8_OMAC || || 0x10 || || || || | ||
|- | |- | ||
| || || | | || || EID0_8_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || | | | || colspan="2" | EID0_9 || || 0xC0 || || || || | ||
|- | |- | ||
| || || | | || || EID0_9_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || | | || || EID0_9_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_9_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || | | || || EID0_9_OMAC || || 0x10 || || || || | ||
|- | |- | ||
| || || | | || || EID0_9_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || || | | || colspan="2" | EID0_A || - || 0xC0 || || || || | ||
|- | |- | ||
| || || | | || || EID0_A_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_A_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_A_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || | | || || EID0_A_OMAC || || 0x10 || || || || | ||
|- | |- | ||
| || || | | || || EID0_A_PAD || || 0x8 || || || || | ||
|- | |- | ||
| || | | | || colspan="2" | EID0_B || || 0xC0 || || || || | ||
|- | |- | ||
| || || | | || || EID0_B_DATA || || 0x60 || || || || | ||
|- | |- | ||
| || || | | || || EID0_B_COMMON || || 0x30 || || || || | ||
|- | |- | ||
| || || | | || || EID0_B_UNK || || 0x18 || || || || | ||
|- | |- | ||
| || || | | || || EID0_B_OMAC || || 0x10 || || || || | ||
|- | |- | ||
| || || | | || || EID0_B_PAD || || 0x8 || || || || | ||
|- | |- | ||
| colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID1|EID1]] || 0x8D0 || 0x2A0 || 0x002F8D0 || 0x002FB6F || 0x00810D0 || 0x008136F | | colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID1|EID1]] || 0x8D0 || 0x2A0 || 0x002F8D0 || 0x002FB6F || 0x00810D0 || 0x008136F | ||
Line 314: | Line 262: | ||
| colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID5|EID5]] || 0x13D0 || 0xA00 || 0x00303D0 || 0x0030DCF || 0x0081BD0 || 0x00825CF | | colspan="3" | [[Flash:Encrypted_Individual_Data_-_eEID#EID5|EID5]] || 0x13D0 || 0xA00 || 0x00303D0 || 0x0030DCF || 0x0081BD0 || 0x00825CF | ||
|} | |} | ||
=== EID0 === | === EID0 === | ||
''' | |||
Indi manager can write to it <br /> | |||
AIM can rehash it | |||
''' | |||
==== | ==== example ==== | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 338: | Line 290: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! Address !! Size !! Value !! Description !! Observations | ! Address !! Size !! Value !! Description !! Observations | ||
|- | |- | ||
| 0x0 || 0x10 || 00 00 00 01 00 89 00 08 14 01 01 06 1B 91 1C 5C || [[IDPS]] | | 0x0 || 0x10 || 00 00 00 01 00 89 00 08 14 01 01 06 1B 91 1C 5C || IDPS || [[IDPS]] This contains your [[Target ID]] | ||
|- | |- | ||
| 0x10 || | | 0x10 || 0x4 || 00 12 00 0B || Unknown || Appears to be static. Last byte contains number of eid0 sections in hex (11) | ||
|- | |- | ||
| | | 0x14 || 0xC || FC D1 D8 BE 6F F4 C8 D8 8F E1 C3 F7 || [[Flash:perconsole_nonce|perconsole nonce]] || Appear to be the same nonce as in the encrypted files metloader/bootloader at offset 0x14-0x1F | ||
|- | |- | ||
| | | Rest || Rest || Rest || Encrypted Data || | ||
|} | |} | ||
=== EID1 === | === EID1 === | ||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 445: | Line 326: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
Appears to be encrypted, not much is known about this one | |||
=== EID2 === | === EID2 === | ||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 500: | Line 356: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! Address !! Size !! Value !! Description !! Observations | ! Address !! Size !! Value !! Description !! Observations | ||
|- | |- | ||
| 0x0 || 0x2 || 00 80 || P-Block Size || | | 0x0 || 0x2 || 00 80 || P-Block Size || | ||
|- | |- | ||
| 0x2 || 0x2 || 06 90 || S-Block Size || | | 0x2 || 0x2 || 06 90 || S-Block Size || | ||
Line 517: | Line 369: | ||
| 0x1E? || 0x2 || 0x0000 || || on {{ARC}}/{{DEX}}/{{DECR}} there is 0x0003 | | 0x1E? || 0x2 || 0x0000 || || on {{ARC}}/{{DEX}}/{{DECR}} there is 0x0003 | ||
|- | |- | ||
| 0x20 || 0x80 || encrypted data || P-Block || | | 0x20 || 0x80 || encrypted data || P-Block || | ||
|- | |- | ||
| 0xA0 || 0x690 || encrypted data || S-Block || | |||
|} | |} | ||
=== EID3 === | === EID3 === | ||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 625: | Line 419: | ||
|} | |} | ||
==== | ==== structure ==== | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
Line 658: | Line 434: | ||
| 0x12 || 0x2 || 0x00D0 || || | | 0x12 || 0x2 || 0x00D0 || || | ||
|- | |- | ||
| 0x14 || 0x0C || | | 0x14 || 0x0C || per console nonce || [[Flash:perconsole_nonce|perconsole nonce]] || | ||
|- | |- | ||
| 0x20 || 0xE0 || encrypted data || || | | 0x20 || 0xE0 || encrypted data || || | ||
Line 666: | Line 442: | ||
=== EID4 === | === EID4 === | ||
==== Information about EID4 ==== | |||
* EID4 contains 2 128bit keys which are necessary to establish a secure communication channel to BD drive for sending vendor specific security commands. | |||
* EID4 is encrypted with AES-CBC-256 algorithm. | |||
* EID4 is of size 0x30 bytes: 0x0-0xf bytes = 1st key, 0x10-0x1f - 2nd key, 0x20-0x2f - CMAC-OMAC1 of EID4 | |||
* The first key is used for encrypting data sent from host to BD drive. | |||
* The second key is used for decrypting data sent from BD drive to host. | |||
(More about it in [[BD_Drive_Reverse_Engineering| BD Drive Reverse Engineering]] ) | |||
==== example ==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 690: | Line 468: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | Encrypted encdec key (used for e.g. BD drive) | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! | ! Address !! Size !! Value !! Description !! Observations | ||
|- | |- | ||
| 0x0 || 0x10 || encrypted || | | 0x0 || 0x10 || encrypted || 1st 128bit key || | ||
|- | |- | ||
| 0x10 || 0x10 || encrypted || | | 0x10 || 0x10 || encrypted || 2nd 128bit key || | ||
|- | |- | ||
| 0x20 || 0x10 || encrypted || CMAC | | 0x20 || 0x10 || encrypted|| CMAC-OMAC1 of EID4 || | ||
|} | |} | ||
=== EID5 === | === EID5 === | ||
==== example ==== | |||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 737: | Line 508: | ||
|- | |- | ||
|} | |} | ||
==== structure ==== | |||
==== | Similar again to EID0 | ||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! Address !! Size !! Value !! Description !! Observations | ! Address !! Size !! Value !! Description !! Observations | ||
|- | |- | ||
| 0x0 || 0x10 || 00 00 00 01 00 89 00 08 14 01 01 06 1B 91 1C 5C || [[IDPS]] | | 0x0 || 0x10 || 00 00 00 01 00 89 00 08 14 01 01 06 1B 91 1C 5C || IDPS || [[IDPS]] | ||
|- | |- | ||
| 0x10 || | | 0x10 || 0x4 || 00 12 07 30 || Unknown || Changes from EID0 | ||
|- | |- | ||
| 0x12 || | | 0x14 || 0x12 || FC D1 D8 BE 6F F4 C8 D8 8F E1 C3 F7 || [[Flash:perconsole_nonce|perconsole nonce]] || Contains the 0xC byte perconsole nonce (as seen in bootldr/metldr and EID0) again at 0x14 to 0x1F | ||
|- | |- | ||
| | | Rest || Rest || Rest || Encrypted Data || | ||
|} | |} | ||
=== | === unreferenced area === | ||
Possibly just unused EID region (which also explains why it is FF filled) <br /> | |||
Possibly just unused EID region (which | ==== example ==== | ||
==== | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 780: | Line 543: | ||
000907E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ | 000907E0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ | ||
000907F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ</pre> | 000907F0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ</pre> | ||
|- | |||
|} | |} | ||
==== structure ==== | |||
==== | |||
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
! Address !! Length !! Value !! Description | ! Address !! Length !! Value !! Description | ||
|- | |- | ||
| 0x0 || 0xE22F || 0xFF || | | 0x0 || 0xE22F || 0xFF || FF filled area | ||
|- | |||
|} | |} | ||
{{Flash}} | {{Flash}} | ||
[[Category:Flash]] |