Editing Secure Loader

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
The PS5 Secure Loader is the Initial Program Loader running on the [[AMD Platform Security Processor]].
= Header Info =
 
See also the [https://www.psdevwiki.com/ps4/Secure_Loader PS4 Secure Loader].
 
= Structure =
 
== Header ==


{| class="wikitable"
{| class="wikitable"
Line 16: Line 10:
| 0x8 || 4 || Entry Point || Little Endian (0xB0)
| 0x8 || 4 || Entry Point || Little Endian (0xB0)
|-
|-
| 0xC || 4 || Body Size || Little Endian (e.g 0x631D0)
| 0xC || 4 || Payload Size || Little Endian (e.g 0x631D0)
|-
|-
| 0x10 || 0x10 || Padding || Zeroes
| 0x10 || 0x10 || Padding || Zeroes
|-
|-
| 0x20 || 0x20 || SHA256 of the decrypted body || Verified from 0x400 to 0x635D0
| 0x20 || 0x20 || SHA256 of the decrypted payload || Verified from 0x400 to 0x635D0
|-
|-
| 0x40 || 0xB0 || Padding || ASCII Quoted Numbers And Zeroes
| 0x40 || 0xB0 || Padding || Ascii Quoted Numbers And Zeroes
|-
|-
| 0xF0 || 1 || Flag? || 0x80
| 0xF0 || 1 || Flag? || 0x80
Line 28: Line 22:
| 0xF1 || 0x2D || Padding ||
| 0xF1 || 0x2D || Padding ||
|-
|-
| 0x11E || 2 || Security Revision? || 00 07 (1.05-6.02) / 00 FF (6.50) / 03 FF (7.00-7-61) / 0F FF (8.00-8.60) / 3F FF (9.00-9.60) / FF FF (10.00-10.XX)
| 0x11E || 2 || Unknown || 00 07 (1.05) / 00 FF (6.50) /03 FF (7.00)
|-
|-
| 0x120 || 0x20 || Revision Nonce || (Likely) SHA256 of the IPL's revision, from this point onward, IPL is encrypted with two layers of AES-CBC crypto
| 0x120 || 0x20 || Revision Nonce || (Likely) SHA256 of the IPL's revision, from this point onward, Oberon IPL is encrypted with two layers of CBC crypto
|-
|-
| 0x140 || 0xC0 || MetaData? || May contain MetaData body (keyrings) and MetaData digest
| 0x140 || 0xC0 || Metadata? ||
|-
|-
| 0x200 || 0x200 || RSA4096 Header Signature? ||
| 0x200 || 0x200 || RSA4096 Header Signature? ||
|-
|-
| 0x400 || 0x631D0 || Body ||
| 0x400 || 0x631D0 || Ipl body ||
|-
|-
|}
|}


= Revision Nonce Collection =
= Table of Hashes =


{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Revision !! Hash !! Versions Supported !! Notes
! Version !! Hash !! Notes
|-
| 300  B0  || {{hex|B8 4E 95 36 48 70 C5 0D A0 C0 B8 61 FE 22 17 73 92 09 1F 59 E4 84 60 60 8A FF CA 60 A8 FD 47 48}}||
|-
| 300  C0  || {{hex|58 9E 3B D6 68 CC A9 27 4A D1 DC 62 FC F0 DF 98 86 AE 26 34 13 E0 77 17 DB 68 85 4C 46 0E F5 12}}||
|-
| 300  D0  || {{hex|C0 B5 CF 72 F1 11 3B 2F EE 4A 6F 3D 19 57 5C 4C 38 29 F7 4A EA AD 42 7C 93 80 3A 07 58 4F 8C 31}}||
|-
| 310  B0  || {{hex|F2 0E 32 B6 2C 81 F3 8B 76 D7 BC 33 08 76 C2 15 BE 1D 41 92 44 5A 7E D6 21 1F B5 3F EF 51 51 C9}}||
|-
| 310  C0  || {{hex|C4 5C 49 5B 11 96 E3 14 F5 C9 D8 17 E8 80 E7 09 89 DB A7 5D 4E D0 E8 F4 6B F5 97 7A 91 42 3E 39}}||
|-
| 310  D0  || {{hex|8F 26 50 27 18 B1 1A AE 2B C6 C7 7F 2B 3D FA 96 32 0D EB F4 AF EA 75 34 3F 2F 10 38 98 7D 5D 12}}||
|-
| 320  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 320  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 320  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 400  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 400  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 400  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 402  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 402  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 402  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 403  C0  || {{hex|90 73 B4 B4 49 27 ED A9 AE AD 33 0F 67 58 55 C0 5F 26 B7 FF 86 21 12 CC 74 6F 30 4B E4 57 72 9D}}||
|-
| 403  D0  || {{hex|D7 90 81 32 C0 53 C5 AC 4D 0B 5D 62 06 81 D2 37 CE 46 1B 86 FF A7 FE F9 66 45 5F F6 24 37 95 93}}||
|-
| 450  C0  || {{hex|B9 49 B3 1A 78 27 24 EE 48 3B FE 1B B7 62 92 9C 1B 71 41 21 A0 6A 77 59 10 63 D7 F0 A0 F4 BD 6A}}||
|-
| 450  D0  || {{hex|15 E6 52 F3 FB 7C F9 4F 37 D2 8D CC 55 34 51 AC C0 DA E2 D7 4F 98 FF FD 6F 91 C2 4C 81 EC E8 29}}||
|-
| 451  C0  || {{hex|ED E8 C0 85 BC BB C6 4D 61 13 E4 31 78 E0 5F 32 20 5C A3 BE 6C 83 66 8A FE 5E 19 15 16 2E 3B A1}}||
|-
| 451  D0  || {{hex|78 60 41 0F 2E 81 6F 6E BE 2A ED 4C E3 0D 42 FF A9 92 D6 B6 7C 48 8F AD 26 0C 61 60 2B 39 47 42}}||
|-
| 500  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 500  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 500  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 502  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 502  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 502  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 510  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 510  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 510  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 550  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 550  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 550  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 600  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 600  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 600  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 601  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 601  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 601  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 602  B0  || {{hex|34 85 51 18 08 FA C5 5B 90 48 A8 1A 2E 29 EB C4 05 AC EF F5 88 13 46 DF DA 71 F7 BC D2 0A C5 CA}}||
|-
| 602  C0  || {{hex|67 A7 BC 89 A0 75 8A 6A 4F 94 27 CF 95 50 00 9A 7C ED 2D 2A 5A A0 5B DE 4F 67 93 4C E4 B6 4D 75}}||
|-
| 602  D0  || {{hex|89 A9 8A 32 29 DF F1 4B AB 08 B6 44 FF 3B 87 B5 5B 6E 9D 9D C4 78 3B 44 73 96 D5 3C 86 B0 9C 14}}||
|-
| 650  C0  || {{hex|D3 E0 FA 21 41 04 F1 F7 8A D5 F5 D6 1D 9C FE 0A 2E 93 5E 05 57 68 C9 56 16 F3 15 22 34 B9 FE 8F}}||
|-
| 650  D0  || {{hex|CC FD 94 1D 47 B6 EA 3C D4 15 12 60 F3 44 19 1B A1 19 C9 DE D7 93 8C EF D8 98 34 83 8D 24 5E 01}}||
|-
| 650  E0  || {{hex|09 70 4A 6B 51 36 52 C2 8A 36 A7 0E 0B C6 C4 E1 CE 19 8E 63 68 59 0B DA 00 82 C6 2E 1B 0C 1C 6C}}||
|-
| 700  C0  || {{hex|21 01 55 04 02 8B A5 88 D2 CD EA A3 A9 B9 A0 52 46 8E DB 2E 84 A3 F4 0F AE E9 00 2A 08 88 9C C1}}||
|-
| 700  D0  || {{hex|25 44 6E 0D C5 70 30 01 F1 A5 1A BB C5 D6 86 94 A3 98 2F C1 52 85 08 B1 0A 05 F6 2E B8 32 9B 69}}||
|-
| 700  E0  || {{hex|D0 FD 68 A1 57 00 0F F9 62 54 B3 00 22 D0 A0 46 F1 5D 2C DF 1A 05 93 5A 3B 7B 9C C8 85 F7 56 15}}||
|-
| 701  C0  || {{hex|C6 DF E6 3B 93 66 9A B3 EB 40 79 43 58 1A 1B 36 51 F6 11 8E 7C 34 D9 D1 75 4E B4 90 E2 26 0F B5}}||
|-
| 701  D0  || {{hex|25 7F 4F 44 2C 16 CA 05 65 96 D3 22 99 57 D6 C1 D3 0E EC 6A EB 4C 8B 6A 1A 01 F6 03 6F 56 20 AE}}||
|-
| 701  E0  || {{hex|77 48 6A 87 4D 33 0F 2C 2F F8 0D D0 3B 3A F5 51 22 6C C1 08 A8 6B 5E B4 1B 71 01 83 1A 72 3D 98}}||
|-
|}
 
= Table of Nonces =
 
{| class="wikitable sortable"
|-
|-
| F0 || {{hex|6F 20 B4 5B 4F CB 66 67 71 5F 4B 0E E4 90 7C C2 CB 41 47 0A 59 B2 26 E0 D4 F0 D0 1B 67 E8 80 50}} || ||
! Version !! Hash !! Notes
|-
|-
| E0 || {{hex|FD 50 C2 9C C4 AE 88 21 1B CA 0B C5 09 1C 1D BF D6 A4 DC 07 DB F8 C0 B2 A6 17 FD 1D BE E0 3A 3B}} || ||
| E0 || {{hex|FD 50 C2 9C C4 AE 88 21 1B CA 0B C5 09 1C 1D BF D6 A4 DC 07 DB F8 C0 B2 A6 17 FD 1D BE E0 3A 3B}} ||
|-
|-
| D0 || {{hex|1C B3 91 12 79 BA 5E 83 42 C9 C9 6B 2F C5 49 B3 DE BF D7 3D D6 B6 97 4E 07 84 DF 7B E8 BD 21 39}} || ||
| D0 || {{hex|1C B3 91 12 79 BA 5E 83 42 C9 C9 6B 2F C5 49 B3 DE BF D7 3D D6 B6 97 4E 07 84 DF 7B E8 BD 21 39}} ||
|-
|-
| C0 || {{hex|B3 59 79 B6 23 19 7C 34 6E E6 B1 62 8E 18 98 96 8C 66 DC DF 1C 96 5F 4C 77 07 30 07 78 4C 4E 6A}} || ||
| C0 || {{hex|B3 59 79 B6 23 19 7C 34 6E E6 B1 62 8E 18 98 96 8C 66 DC DF 1C 96 5F 4C 77 07 30 07 78 4C 4E 6A}} ||
|-
|-
| B0 || {{hex|55 18 14 A6 79 F1 4D 09 31 8B EC 56 DD EA 43 44 55 27 9A C4 7D 0C 5C 7E 14 91 D6 EF B2 1F 2B 48}} || ||
| B0 || {{hex|55 18 14 A6 79 F1 4D 09 31 8B EC 56 DD EA 43 44 55 27 9A C4 7D 0C 5C 7E 14 91 D6 EF B2 1F 2B 48}} ||
|-
|-
|}
|}
Please note that all contributions to PS5 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS5 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Template used on this page: