Talk:Keys: Difference between revisions

From PS2 Developer wiki
Jump to navigation Jump to search
No edit summary
(These are the kbit/kc values expected by arcade MechaCon AFTER decryption)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
== CIV ==
== CIV ==


<pre>
<pre usersection="CIV">
2C 5B F4 8D 32 74 91 27
2C 5B F4 8D 32 74 91 27
</pre>
</pre>
Line 9: Line 9:
== CKS ==
== CKS ==


<pre>
<pre usersection="CKS">
B4 AE AF 81 A0 C8 B0 B4 14 F6 0D AE 2E 21 BC 8A  
B4 AE AF 81 A0 C8 B0 B4 14 F6 0D AE 2E 21 BC 8A  
93 FF CA 92 CF E9 C5 ED D8 F6 CF D6 E6 D3 90 3D  
93 FF CA 92 CF E9 C5 ED D8 F6 CF D6 E6 D3 90 3D  
Line 20: Line 20:
== EKS ==
== EKS ==


<pre>
<pre usersection="EKS">
B1 45 17 72 5B 5A 04 97 1F 0F BB 2D 4F F9 50 C8  
B1 45 17 72 5B 5A 04 97 1F 0F BB 2D 4F F9 50 C8  
CE F8 A8 9F A8 48 F4 23 0A 57 6F 03 3F DC F8 B4  
CE F8 A8 9F A8 48 F4 23 0A 57 6F 03 3F DC F8 B4  
Line 89: Line 89:
== KEK ==
== KEK ==


<pre>
<pre usersection="KEK">
39 24 8F 3D 0F 8E F1 A4 C9 D4 A6 B9 8D EE 61 7E
39 24 8F 3D 0F 8E F1 A4 C9 D4 A6 B9 8D EE 61 7E
</pre>
</pre>
Line 97: Line 97:
= TOC =
= TOC =


== ps3mca-tool to kelftool name mapping ==
<pre>
<pre>
dev keystore:
MC_CARDKEY_MATERIAL_1->MG_CARDIV_0
MC_CARDKEY_HASHKEY_1->MG_CARDKEY_0
MC_CARDKEY_MATERIAL_2->MG_CARDIV2_0
MC_CARDKEY_HASHKEY_2->MG_CARDKEY2_0
MC_CHALLENGE_MATERIAL->MG_CHALLENGE_IV
MG_KBIT_MATERIAL->MG_KBIT_IV
MG_KC_MATERIAL->MG_KC_IV
MG_KBIT_MASTER_KEY->MG_KBIT_MASTER_KEY
MG_KC_MASTER_KEY->MG_KC_MASTER_KEY
</pre>
 
== Keystores ==
 
=== Developer keystore ===
<pre usersection="DeveloperKeystore">
MG_CARDKEY_0=0CD29037E58A581E38D85BF07F24DA8E
MG_CARDKEY_0=0CD29037E58A581E38D85BF07F24DA8E
MG_CARDIV_0=2AB953E2660BB099
MG_CARDIV_0=2AB953E2660BB099
Line 122: Line 137:
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CHALLENGE_IV=2C5BF48D32749127
MG_CHALLENGE_IV=2C5BF48D32749127
</pre>


retail keystore:
=== Retail keystore ===
<pre usersection="RetailKeystore">
MG_CARDKEY_0=CE62F68420B65A81E459FA9A2BB3598A
MG_CARDKEY_0=CE62F68420B65A81E459FA9A2BB3598A
MG_CARDIV_0=6C26D37F46EE9DA9
MG_CARDIV_0=6C26D37F46EE9DA9
Line 147: Line 164:
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CHALLENGE_IV=2C5BF48D32749127
MG_CHALLENGE_IV=2C5BF48D32749127
</pre>


proto keystore:
=== Prototype keystore ===
<pre usersection="PrototypeKeystore">
MG_CARDKEY_0=94163FB90AA570FD755521F3C681397C
MG_CARDKEY_0=94163FB90AA570FD755521F3C681397C
MG_CARDIV_0=A5DD4CA13E1B1A63
MG_CARDIV_0=A5DD4CA13E1B1A63
Line 172: Line 191:
MG_CONTENT_TABLE_IV=8D0A510F1496F074
MG_CONTENT_TABLE_IV=8D0A510F1496F074
MG_CHALLENGE_IV=2C5BF48D32749127
MG_CHALLENGE_IV=2C5BF48D32749127
</pre>


arcade keystore:
=== Arcade keystore ===
<pre usersection="ArcadeKeystore">
MG_CARDKEY_0=AF54E4821DC656FB45D87613B847D877
MG_CARDKEY_0=AF54E4821DC656FB45D87613B847D877
MG_CARDIV_0=1A9E43E8771CAE78
MG_CARDIV_0=1A9E43E8771CAE78
Line 197: Line 218:
MG_CONTENT_TABLE_IV=95FC458D23B93088
MG_CONTENT_TABLE_IV=95FC458D23B93088
MG_CHALLENGE_IV=2C5BF48D32749127
MG_CHALLENGE_IV=2C5BF48D32749127
</pre>


=== Etc keys ===
<pre usersection="EtcKeys">
REGION_UNLOCK_KEY=74198E6807ABD2010DFFC406B21D2F38
REGION_UNLOCK_KEY=74198E6807ABD2010DFFC406B21D2F38
MECHA_PATCH_KEY=0483955E8BCA3CA3
MECHA_PATCH_KEY=0483955E8BCA3CA3
GLOBAL_FLAGS_KEY=308867D1949EEEE9
GLOBAL_FLAGS_KEY=308867D1949EEEE9


ARCADE_KBIT=69A1EF2E577FAEE758529AD846558E05
DECRYPTED_ARCADE_KBIT=69A1EF2E577FAEE758529AD846558E05
ARCADE_KC=DA66A5D4311C3B5A39423C7BB956D35F
DECRYPTED_ARCADE_KC=DA66A5D4311C3B5A39423C7BB956D35F
</pre>
</pre>


= Self generated memory card keys=
== Retail ==
<pre>06 46 7A 6C 5B 9B 82 77 0D DF E9 7E 24 5B 9F CA</pre>
== Developer ==
<pre>17 39 D3 BC D0 2C 18 07 0F 7A F3 B7 9E 73 03 1C</pre>
== Arcade ==
<pre>A9 FB 27 2A 63 CF ED 6F D0 28 A2 4A 98 11 B8 2E </pre>
== Prototype ==
<pre>8C 4B EF A6 F4 9A 23 A0 9C F1 46 AA 17 1C FE 75</pre>
= DVRP =
= DVRP =


== dvrpAuth_tbl ==
== dvrpAuth_tbl ==
<pre>
<pre usersection="dvrpAuth_tbl">
9D 09 9B 34 3E 64 ED 30
9D 09 9B 34 3E 64 ED 30
62 AE EB 74 A1 F5 91 13
62 AE EB 74 A1 F5 91 13

Latest revision as of 13:09, 30 November 2024

Magic Gate[edit source]

CIV[edit source]

2C 5B F4 8D 32 74 91 27

CKS[edit source]

B4 AE AF 81 A0 C8 B0 B4 14 F6 0D AE 2E 21 BC 8A 
93 FF CA 92 CF E9 C5 ED D8 F6 CF D6 E6 D3 90 3D 
F6 52 2E A6 2E 37 36 98 7B FF B2 73 5F 98 12 02 
CE 2A 54 6D FE CE E8 7E EA 58 5E 93 D5 88 53 91 
E9 D5 9B 54 3E D5 61 32 AC 39 1C 30 65 38 20 AA 
10 A0 2F F1 EC 7D 5D 87 9D DA DD 41 0D 6A 90 E1

EKS[edit source]

B1 45 17 72 5B 5A 04 97 1F 0F BB 2D 4F F9 50 C8 
CE F8 A8 9F A8 48 F4 23 0A 57 6F 03 3F DC F8 B4 
3F A3 AF 8C B4 E9 9B 19 0C DD D5 D8 3E 26 43 B9 
BF 11 91 0B 90 D4 BC 84 78 55 19 F1 B4 C5 31 0D 
9E 40 CA A9 6C 6F B0 02 96 E2 2F 84 87 C3 A2 C0 
4D 76 EA E9 43 E4 0A A3 7C 27 D6 A6 FA 4C A6 BF 
5E D4 03 1C B1 43 FB 81 0F 28 4F 12 44 F8 09 85 
B6 22 13 13 2B B0 75 40 39 08 54 02 E3 0C FD 33 
F2 85 09 E9 A1 54 41 8D 1B 61 05 E0 36 30 0E BA 
ED A3 82 5F 14 AC 9B 60 3A E6 6E D3 1E 7B 87 25 
47 2D DC EB 76 E4 61 20 0C 58 E3 D2 BB F1 97 49 
FC 05 33 12 B3 BA 14 79 8B 83 14 1D 88 5C AE 4A 
A4 9A 2D 3A B0 74 1D 48 76 FB E3 7C 65 4A A8 31 
0A 87 6C B0 68 9B 2A E6 0B F0 2E A1 5F F5 E7 C1 
D1 20 7F DB 6A 77 D3 C4 17 25 E1 0E A0 47 27 7E 
9C 91 7C FA 39 70 7E A2 93 43 40 89 0E 5F C9 CF 
5A 5C DA 64 6B DE D4 DB 6D DA 91 2F 23 E5 4B 1F 
0F 3B 59 DE 1D 42 01 2B C7 E6 30 75 5B 56 86 5B 
4E F6 BB 78 46 D1 F4 3F 85 B2 C9 4B D2 6B 18 5E 
48 4B F6 51 9A EF 29 10 0F 2F 9F 75 2E A2 21 AC 
FE 5A BE BC 4D 2A E1 30 82 2E 15 A1 6B A9 97 34 
E9 08 E1 79 35 7B DD 06 CD 6C 5E DF 64 2D AF 49 
66 23 C4 1E 68 6A 98 3F FE BC E2 CD 39 FF 67 E6 
CA D4 3C 95 3C B9 E2 C0 8B 8F CE 56 65 6D 4A B5 
60 CA 66 D0 71 F9 F2 93 C8 22 67 F4 2F 7C 09 EB 
ED AF B3 C5 59 40 6D 0D F6 E8 00 ED D5 A2 88 06 
AC 40 7B 48 49 44 E6 AD 75 03 6A D7 C4 89 EF 5F 
BD 82 50 88 BA 10 C0 5B B8 4C F8 EB 78 FF 9C 07 
87 EF 46 7C 22 6C 1B 71 93 6A DE F2 41 3F 5A 7D 
B3 EA CB 66 2D 4C 69 F1 24 90 92 7F 04 2F DF 93 
88 33 F5 66 07 AC 60 19 27 33 C8 04 67 A9 AD 92 
CA 19 48 C8 78 52 5C 74 FF 99 59 20 74 83 92 8D 
5A 9C D5 BC 28 C8 E8 24 B1 EB 38 38 85 B1 9A 73 
C9 DC 76 52 5D 93 8D 72 ED 31 4B 6D 6A BE 7C DF 
72 C8 1D BE 41 D6 A8 42 35 6A 81 2A BC 43 46 64 
75 AA B4 42 86 92 70 CA 74 52 24 30 E7 12 10 51 
FC 93 14 D6 EA 6C AF 85 E8 6E C3 2D 6D A7 85 CD 
B6 4B 96 95 D5 03 B5 B3 82 A6 0D 4A 64 8A 45 AC 
2B 5F 6D 5C C1 19 F5 CC 9E 9B 7F B4 28 45 DC 32 
55 62 92 9C D7 68 69 AA 40 DE 0E D0 22 0B CD CF 
5C D7 31 3C 57 B6 32 EE 3D DB AE 2A CD 99 54 56 
C6 98 88 67 E1 0B FC 70 0E BE CE D4 4E B9 B2 61 
94 98 04 10 F5 89 25 15 F4 36 3C 57 AB 64 82 7B 
38 67 FA 3B 9E B1 D2 CF 75 56 63 DA 94 82 CB 13 
A9 D8 94 50 74 0C F2 A8 44 9A 8C BF B4 2A 8B 0B 
9D 94 D0 5A A8 A6 29 C5 1A 2A AF F0 5A 50 E7 7B 
80 BE 37 84 29 82 CD B1 1A 07 A5 0F A0 DE A9 AD 
74 0F 2C 58 81 BD 22 CC 45 50 23 D2 81 11 A6 03 
EE C1 E1 2D E1 BF E8 17 02 B6 2D C9 4D 57 B0 C8 
11 8B E9 03 CE 10 1F C6 57 B8 58 B7 31 88 93 4B 
88 69 E1 7E 8A BB 34 2E 1E 11 68 34 03 5B 0F 03 
4B 18 88 C8 08 05 F4 DE 00 FB B0 48 D6 D7 38 99 
CB 3B 00 E7 28 93 34 C1 92 AC DA E6 F4 A4 F6 C8 
94 52 8C 0F 1D 47 E9 85 0C 3F 86 6F B2 AD EE 3B 
7F E2 98 AC 33 D1 F4 26 19 5E CA 94 39 AE 6B A4 
8B 2C 2A 8C 4E DE 16 C5 D4 D3 CE CE 73 E9 DC 6E 
6F 8A B0 31 F2 47 72 BC E5 B2 D0 FD 8B EB 62 5D 
69 03 4B A0 F4 5B A9 44 95 7F 82 8A AD 06 D5 DA 
85 F7 AF C1 79 68 F0 67 F2 3A 04 D2 C3 FE C7 7A 
85 07 03 EB 00 E3 88 A1 CF 40 A2 C1 FD 5D C0 62 
10 76 0F BE 94 C6 B8 71 F7 02 E3 B4 53 EB 69 05 
EC 10 38 0F 18 2D 0B C0 3C FE 83 20 C6 5C 15 2B 
0D FF C4 06 B2 1D 2F 38 74 19 8E 68 07 AB D2 01 
04 83 95 5E 8B CA 3C A3 30 88 67 D1 94 9E EE E9

KEK[edit source]

39 24 8F 3D 0F 8E F1 A4 C9 D4 A6 B9 8D EE 61 7E


TOC[edit source]

ps3mca-tool to kelftool name mapping[edit source]

MC_CARDKEY_MATERIAL_1->MG_CARDIV_0
MC_CARDKEY_HASHKEY_1->MG_CARDKEY_0
MC_CARDKEY_MATERIAL_2->MG_CARDIV2_0
MC_CARDKEY_HASHKEY_2->MG_CARDKEY2_0
MC_CHALLENGE_MATERIAL->MG_CHALLENGE_IV
MG_KBIT_MATERIAL->MG_KBIT_IV
MG_KC_MATERIAL->MG_KC_IV
MG_KBIT_MASTER_KEY->MG_KBIT_MASTER_KEY
MG_KC_MASTER_KEY->MG_KC_MASTER_KEY

Keystores[edit source]

Developer keystore[edit source]

MG_CARDKEY_0=0CD29037E58A581E38D85BF07F24DA8E
MG_CARDIV_0=2AB953E2660BB099
MG_CARDKEY2_0=A544EA7E23DB834D61079C25C87F4043
MG_CARDIV2_0=1FAC45D76501A581
MG_CARDKEY_1=81E53A5E18B0FD4481E53A5E18B0FD44
MG_CARDIV_1=81E53A5E18B0FD44
MG_CARDKEY2_1=81E53A5E18B0FD4481E53A5E18B0FD44
MG_CARDIV2_1=81E53A5E18B0FD44
MG_CARDKEY_2=81E53A5E18B0FD4481E53A5E18B0FD44
MG_CARDIV_2=81E53A5E18B0FD44
MG_CARDKEY2_2=81E53A5E18B0FD4481E53A5E18B0FD44
MG_CARDIV2_2=81E53A5E18B0FD44
MG_KBIT_MASTER_KEY=5001C87121F939C144D86B069224B247
MG_KC_MASTER_KEY=77F38314B047D87C9B37D266049228C4
MG_KBIT_IV=35C860019222BB60
MG_KC_IV=8C2BD03EC245C56D
MG_SIG_MASTER_KEY=51ED689419A83AD8
MG_SIG_HASH_KEY=65E88B1A9E3FD268
MG_ROOTSIG_HASH_KEY=E773089E35D26A1B38C761029437CEE3
MG_ROOTSIG_MASTER_KEY=D56604A445781EC4
MG_CONTENT_IV=7D16C46313C3711C
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CHALLENGE_IV=2C5BF48D32749127

Retail keystore[edit source]

MG_CARDKEY_0=CE62F68420B65A81E459FA9A2BB3598A
MG_CARDIV_0=6C26D37F46EE9DA9
MG_CARDKEY2_0=7014A32FCC5B1237AC1FBF4ED26D1CC1
MG_CARDIV2_0=2CD160FA8C2ED362
MG_CARDKEY_1=68D0CA120CE7C1BB814CF8C38E4924E0
MG_CARDIV_1=0CD7936E39F4BF9A
MG_CARDKEY2_1=22EDA8833FFAB68117E2BD7843FFCA86
MG_CARDIV2_1=21ECB7723E18E3BE
MG_CARDKEY_2=542FEBA6815C17E288531ECA95612CE7
MG_CARDIV_2=FEAA5611CD7934F0
MG_CARDKEY2_2=5E1AE5A06B17F2AE34F0097A3501BC78
MG_CARDIV2_2=A5904B07C28D5824
MG_KBIT_MASTER_KEY=5001C87121F939C144D86B069224B247
MG_KC_MASTER_KEY=77F38314B047D87C9B37D266049228C4
MG_KBIT_IV=35C860019222BB60
MG_KC_IV=8C2BD03EC245C56D
MG_SIG_MASTER_KEY=51ED689419A83AD8
MG_SIG_HASH_KEY=65E88B1A9E3FD268
MG_ROOTSIG_HASH_KEY=E773089E35D26A1B38C761029437CEE3
MG_ROOTSIG_MASTER_KEY=D56604A445781EC4
MG_CONTENT_IV=7D16C46313C3711C
MG_CONTENT_TABLE_IV=20CB60F58D24BE50
MG_CHALLENGE_IV=2C5BF48D32749127

Prototype keystore[edit source]

MG_CARDKEY_0=94163FB90AA570FD755521F3C681397C
MG_CARDIV_0=A5DD4CA13E1B1A63
MG_CARDKEY2_0=7CB5D432AD986EDC654ADB36CDB746CD
MG_CARDIV2_0=B556A0C939CF6A37
MG_CARDKEY_1=9DB6430E08D38F3BC17D19C5612CD874
MG_CARDIV_1=8E2AD6913DF9A550
MG_CARDKEY2_1=BC59F5A13DE98541732FDBA652FD9A46
MG_CARDIV2_1=A85400BB6713BF5B
MG_CARDKEY_2=A34FFB9743FFAB477F3BF6A25E0AA652
MG_CARDIV_2=23BF6B07B350EC98
MG_CARDKEY2_2=9A36E27E1BC6721E66039F4BE7933FDB
MG_CARDIV2_2=EF9B47F39F5A06C2
MG_KBIT_MASTER_KEY=1EDFB734EA65077A5636661C02CB986C
MG_KC_MASTER_KEY=0BC7C48490CF4C96EA66768BB7114927
MG_KBIT_IV=1431255A6F2606B6
MG_KC_IV=FF854162884A3DD2
MG_SIG_MASTER_KEY=2E46FE0CC2728DE4
MG_SIG_HASH_KEY=376EE834A9B87E65
MG_ROOTSIG_HASH_KEY=407CE4FAC3E96F5C35965771DBB2FBA6
MG_ROOTSIG_MASTER_KEY=BE58E937F69A3816
MG_CONTENT_IV=D8B6BBEF3343902F
MG_CONTENT_TABLE_IV=8D0A510F1496F074
MG_CHALLENGE_IV=2C5BF48D32749127

Arcade keystore[edit source]

MG_CARDKEY_0=AF54E4821DC656FB45D87613B847D877
MG_CARDIV_0=1A9E43E8771CAE78
MG_CARDKEY2_0=C58013B551F3983DD17517AA3DD6781D
MG_CARDIV2_0=4BEC8D1AA436D479
MG_CARDKEY_1=BAC4AE5A06B27D2927A35823EE94DC25
MG_CARDIV_1=6A26E1AD4904B06C
MG_CARDKEY2_1=38132601DBA6623DF2BD6925E09C38F3
MG_CARDIV2_1=12FCB7834E09D490
MG_CARDKEY_2=BAC4AE5A06B27D2927A35823EE94DC25
MG_CARDIV_2=6A26E1AD4904B06C
MG_CARDKEY2_2=38132601DBA6623DF2BD6925E09C38F3
MG_CARDIV2_2=12FCB7834E09D490
MG_KBIT_MASTER_KEY=935F2AF5D09B5621F6D19C86615B4501
MG_KC_MASTER_KEY=050ECAB4EDF6B2AC807A55300BD6A18B
MG_KBIT_IV=22FCC7935E3813DE
MG_KC_IV=C3AD7843FF089560
MG_SIG_MASTER_KEY=A3AC97722DF8F2EC
MG_SIG_HASH_KEY=826D86427A2652C0
MG_ROOTSIG_HASH_KEY=404A736D19710DA99D97814DD995F6BB
MG_ROOTSIG_MASTER_KEY=DE842AFFE3E7DBAF
MG_CONTENT_IV=975C02894E52E89D
MG_CONTENT_TABLE_IV=95FC458D23B93088
MG_CHALLENGE_IV=2C5BF48D32749127

Etc keys[edit source]

REGION_UNLOCK_KEY=74198E6807ABD2010DFFC406B21D2F38
MECHA_PATCH_KEY=0483955E8BCA3CA3
GLOBAL_FLAGS_KEY=308867D1949EEEE9

DECRYPTED_ARCADE_KBIT=69A1EF2E577FAEE758529AD846558E05
DECRYPTED_ARCADE_KC=DA66A5D4311C3B5A39423C7BB956D35F

Self generated memory card keys[edit source]

Retail[edit source]

06 46 7A 6C 5B 9B 82 77 0D DF E9 7E 24 5B 9F CA

Developer[edit source]

17 39 D3 BC D0 2C 18 07 0F 7A F3 B7 9E 73 03 1C

Arcade[edit source]

A9 FB 27 2A 63 CF ED 6F D0 28 A2 4A 98 11 B8 2E 

Prototype[edit source]

8C 4B EF A6 F4 9A 23 A0 9C F1 46 AA 17 1C FE 75

DVRP[edit source]

dvrpAuth_tbl[edit source]

9D 09 9B 34 3E 64 ED 30
62 AE EB 74 A1 F5 91 13
48 DE A3 11 F0 78 D0 00
EC BE 85 93 6E 36 AC D8
69 5D 87 7F C3 F9 7B F4
1C B5 FE DD 75 16 77 52
CB 8C 04 80 5A CE 23 60
7E 8E 81 E0 D2 2C 15 65
79 21 6B A2 42 5C 2D 35
2B 2A E9 66 0C 3D 24 89
95 B7 1B C7 83 71 AA 5E
0B C8 4F 0A 10 53 97 C9
A6 67 20 06 B9 A5 D7 82
DC 27 08 EF 96 B1 38 CA
E7 DB 40 1F 57 D6 22 9E
3B 7D A7 84 44 47 55 1E
C1 BA 0D 94 90 8B 41 BD
6D 99 2E 39 6C 63 C6 AF
76 33 7C FA EA CD 37 72
E3 4B 3F 5B AD BB 0F 73
D4 F2 88 DF FD 29 F7 CF
18 51 1A 45 E2 F1 F3 43
A0 F6 70 07 D1 BC 26 32
0E E8 D9 59 17 1D 9F 01
54 BF 92 B2 A9 AB FB 6A
FC 56 05 E4 68 4A 4E B6
D3 46 B0 12 9A A8 02 5F
B3 58 3A 86 6F 14 C5 4C
9C B8 3C E6 A4 F8 DA 25
CC C4 2F 28 61 31 E5 03
C2 EE 7A 50 8A 19 4D C0
49 98 D5 B4 FF 8F 8D E1