Author Topic: Nintendo Switch Keys  (Read 4832 times)

0 Members and 2 Guests are viewing this topic.

Offline ShengTsai

  • Newbie
  • *
  • Posts: 3
Re: Nintendo Switch Keys
« Reply #30 on: April 12, 2018 - 13:15:29 »
Some more keys for hactool which support was added in commit 41e6695e6e29732ced4d43937e28b7954131dc48:

Key sources:
sd_card_kek_source = 88358D9C629BA1A00147DBE0621B5432
sd_card_save_key_source = 2449B722726703A81965E6E3EA582FDD9A951517B16E8F7F1F68263152EA296A
sd_card_nca_key_source = 5841A284935B56278B8E1FC518E99F2B67C793F0F24FDED075495DCA006D99C2

Derived keys:
sd_card_save_key = 8F696AEED967F492041CD7DACE7BAFB2F20A25AD13108ED9BAB662A09C28CC86
sd_card_nca_key = 2A34D7A63F1F6C87EA8068E8A67DD66F9637EAFF943686D74F5AB43FCBCEC6DA

Offline TiMeBoMb4u2

  • Newbie
  • *
  • Posts: 3
Re: Nintendo Switch Keys
« Reply #31 on: April 12, 2018 - 19:56:11 »
-snip-
« Last Edit: April 12, 2018 - 21:21:12 by TiMeBoMb4u2 »

Offline Machow8

  • Newbie
  • *
  • Posts: 16
Re: Nintendo Switch Keys
« Reply #32 on: April 13, 2018 - 17:05:54 »
Oopps, nevermind.

The keys i was going to provide are already in your list.

Offline mastarifla

  • Newbie
  • *
  • Posts: 6
Re: Nintendo Switch Keys
« Reply #33 on: April 15, 2018 - 15:42:07 »
I was told by SciresM that the SD Generated Keys are wrong, as they are per-console keys...

Offline ShengTsai

  • Newbie
  • *
  • Posts: 3
Re: Nintendo Switch Keys
« Reply #34 on: April 15, 2018 - 22:50:52 »
[You are not allowed to view links] Register or Login
I was told by SciresM that the SD Generated Keys are wrong, as they are per-console keys...
No they aren't wrong but useless for most things without console unique keys. The console unique keys can be obtained by dumping the ns_systemseed using PegaSwitch but the script to do that isn't public (if I am still up to date) but not that hard to get. They keys I posted arn't console unique because they were inside firmware's 3.0.0 0100000000000819.bin => package2 => INI1.bin => extracted FS.kip1 as a singe file => On adresses: 00144C0A-00144C19, 00144C1A-00144C39 and 00144C3A-00144C59. The sha256 hash of each firmware's 3.0.0 0100000000000819.bin is 9EB32ED01748F534FEA49B232A4CD567A1019EAE09A944DD7C9CBE9403B1D6C5 the aren't console unique for sure but feel free to confirm them on your own 3.0.0 dump (1.0.0 doesn't have them). I'm pretty sure they are correct because their hashes already were online by the time I found them and so some others must have found them too.

Offline Flying Poo

  • Newbie
  • *
  • Posts: 4
Re: Nintendo Switch Keys
« Reply #35 on: April 16, 2018 - 02:25:44 »
Thought i'd share.

Rocket League

Titlekey (Encrypted)                D1E8A6C1321D4C2C19DB040850F79B87
Titlekey (Decrypted)                A82F02C19190ED54970513B32E1EE692

Offline mastarifla

  • Newbie
  • *
  • Posts: 6
Re: Nintendo Switch Keys
« Reply #36 on: April 16, 2018 - 09:59:15 »
[You are not allowed to view links] Register or Login
[You are not allowed to view links] Register or Login
I was told by SciresM that the SD Generated Keys are wrong, as they are per-console keys...
No they aren't wrong but useless for most things without console unique keys. The console unique keys can be obtained by dumping the ns_systemseed using PegaSwitch but the script to do that isn't public (if I am still up to date) but not that hard to get. They keys I posted arn't console unique because they were inside firmware's 3.0.0 0100000000000819.bin => package2 => INI1.bin => extracted FS.kip1 as a singe file => On adresses: 00144C0A-00144C19, 00144C1A-00144C39 and 00144C3A-00144C59. The sha256 hash of each firmware's 3.0.0 0100000000000819.bin is 9EB32ED01748F534FEA49B232A4CD567A1019EAE09A944DD7C9CBE9403B1D6C5 the aren't console unique for sure but feel free to confirm them on your own 3.0.0 dump (1.0.0 doesn't have them). I'm pretty sure they are correct because their hashes already were online by the time I found them and so some others must have found them too.

Alright, this definitely seems legit, I'll double check my dump for sanities sake, but I think you're right.

Offline Machow8

  • Newbie
  • *
  • Posts: 16
Re: Nintendo Switch Keys
« Reply #37 on: April 25, 2018 - 22:37:41 »
Switch Keyblobs:

Keyblob 00:
F7 59 02 4F 81 99 10 1D DD C1 EF 91 E6 EE CF 37
E2 4B 95 AC 92 72 F7 AE 44 1D 5D 80 60 C8 43 A4
83 22 D2 1C DD 06 D4 FC 95 8C 68 D3 80 0E B4 DB
93 9F FB EC 93 01 77 F7 7D 13 61 44 FF 61 5A A8
83 5E 81 1B B9 58 DE DA 21 8F 84 86 B5 A1 0F 53
1B 30 CB 9D 26 96 45 AC 9F C2 5C 53 FC 80 52 5E
56 BD 36 02 98 8A 9F CF 06 BB F9 9C A9 10 AD 65
30 79 1D 51 2C 9D 57 E1 7A BF 49 22 0D E6 41 9B
F4 EC A1 68 5C 1E 4D F7 7F 19 DB 7B 44 A9 85 CA

Keyblob 01:
BD 27 26 4A E0 7E 97 97 56 41 1D 0C 66 E6 79 E3
C5 08 51 F3 E9 02 D9 C2 CD 1A 43 8B 94 81 59 A5
17 EC 15 66 C1 05 70 32 6E A2 69 7E E6 2D A4 6F
14 BB 5D 58 1B FC 06 FD 0C 93 87 EA 33 D2 D4 DC
63 E7 80 9B A9 0F 03 DD 2C 71 12 FF BF A5 48 95
1B 9B 8C 68 8B 5E 4F 29 51 D2 4A 73 DA 29 C6 68
15 4A 5D 48 38 DB A7 1E E0 68 AC E8 3F E7 20 E8
C2 A4 95 C5 96 F7 35 25 DC 3C 05 99 4B 40 AD 27
F8 C6 03 22 F7 5C D5 48 B8 21 AF 91 62 E1 6F 76

Keyblob 02:
A3 D4 A8 E1 53 B8 E6 AE 6E 6A EF 3E 8F 21 9C B4
B7 79 0F 47 85 6A CC C7 62 68 F9 AF A9 9A 1F F8
B1 A7 2F 63 D1 F9 9F 48 0A 3C 15 32 07 8B B5 9A
BD D2 52 03 CF B1 2A 38 B3 3E 9B A6 A0 9A FB 6F
24 28 3B 3B A7 6A 01 61 23 0A 73 66 9D DF 54 93
C2 B7 91 9D 09 4F D7 95 B4 84 79 48 54 F7 1E 4F
4C 67 22 45 D7 77 0E 29 39 77 22 44 4D 11 1B 42
29 CD BF 35 70 7B 70 63 4E A8 F1 40 76 6E 88 4C
C5 80 CB 1E 2D 9A A9 86 6F FE F9 20 01 0F C4 09

Keyblob 03:
15 58 F5 25 AE 8C 5B E9 24 3F B6 D8 A8 B0 A8 EE
0E 88 6A 59 03 56 68 74 0A 93 66 19 B7 A5 C8 3E
82 11 98 B1 71 D1 8E 51 44 50 54 DF 68 68 8E 45
70 3B 93 68 18 A8 27 D8 E5 40 DD 6B EF 2E 11 EC
9D DC 6C FE 5F C7 36 DD 76 9B 9F 6E 0A 23 A6 2E
2E 5F 49 E8 61 43 64 6A 04 EC 3A 23 F8 28 37 3A
33 6A 5C 22 4A 91 F8 A0 C6 C6 A7 B5 84 4D D6 41
58 04 20 9F 83 C9 43 AE CA 9C FD 85 6D B6 BD 4E
C3 20 09 C8 CB 26 8E D0 53 05 2C 92 37 DF D8 BC

Keyblob 04:
9F BE B1 95 7F C1 62 9E 08 B7 53 A9 08 6D 6E 01
FF B4 F1 14 66 B7 41 7E 3F A7 F5 F1 EF B7 54 40
67 04 FD 75 AF AF 91 A4 08 A0 B5 24 C1 FC 80 D3
6C 20 46 FA 47 57 41 2E FE 4C 11 E3 82 F7 2E 8A
10 D9 0E D5 80 01 7D 9D EB 87 AF 25 49 B6 B0 26
61 AF 48 FF 94 F6 07 2C 0F EF 7F C2 83 3B 8B DA
E5 03 89 8E 2E 92 7A C0 66 3E 8B 63 91 DD 4F 1D
68 53 13 93 5E 2C 48 EC E7 D1 77 C8 8B C9 C8 83
ED E3 6C 36 77 49 57 84 B8 38 D7 26 5C 6B A7 A1

Offline lemonman

  • Full Member
  • ***
  • Posts: 203
Re: Nintendo Switch Keys
« Reply #38 on: April 26, 2018 - 08:59:07 »
master_key_04                         = CFA2176790A53FF74974BFF2AF180921

Offline Machow8

  • Newbie
  • *
  • Posts: 16
Re: Nintendo Switch Keys
« Reply #39 on: April 26, 2018 - 12:31:08 »
Some keys i found and may be missing in this your list:

wrapped_keyblob_key_00 = DF206F594454EFDC7074483B0DED9FD3
wrapped_keyblob_key_01 = 0C25615D684CEB421C2379EA822512AC
normalseed_retail = D8A2410AC6C59001C61D6A267C513F3C
normalseed_dev_01 = 678C5A031E18C873C290E88A9E175A57
per_console_key_generation_source = 4F025F0EB66D110EDC327D4186C2F478
cmac_key_generation_source = 59C7FB6FBE9BBE87656B15C0537336A5
dev_master_key_generation_source = 5FF9C2D94EF90027A71FCBE678D5DA28
simpleseed_dev0_01 = DE00216A11EC7B3F19663995122F5234
simpleseed_dev1_01 = 2DB7C9A131EFBDF0C3CA69FCD68C8A45
dev_package1_key_generation_source = F5B1EABDB9378B6466BBEF9136DAF22F
dev_per_console_key_generation_source = 6E4A9592960F4527D502F15B7587C676[/b]

Offline simonmkwii

  • Newbie
  • *
  • Posts: 42
Re: Nintendo Switch Keys
« Reply #40 on: April 26, 2018 - 13:54:13 »
[You are not allowed to view links] Register or Login
Some keys i found and may be missing in this your list:

wrapped_keyblob_key_00 = DF206F594454EFDC7074483B0DED9FD3
wrapped_keyblob_key_01 = 0C25615D684CEB421C2379EA822512AC
normalseed_retail = D8A2410AC6C59001C61D6A267C513F3C
normalseed_dev_01 = 678C5A031E18C873C290E88A9E175A57
per_console_key_generation_source = 4F025F0EB66D110EDC327D4186C2F478
cmac_key_generation_source = 59C7FB6FBE9BBE87656B15C0537336A5
dev_master_key_generation_source = 5FF9C2D94EF90027A71FCBE678D5DA28
simpleseed_dev0_01 = DE00216A11EC7B3F19663995122F5234
simpleseed_dev1_01 = 2DB7C9A131EFBDF0C3CA69FCD68C8A45
dev_package1_key_generation_source = F5B1EABDB9378B6466BBEF9136DAF22F
dev_per_console_key_generation_source = 6E4A9592960F4527D502F15B7587C676[/b]
Not only are they in my list, but I leaked them first...

Offline Falo

  • Newbie
  • *
  • Posts: 4
Re: Nintendo Switch Keys
« Reply #41 on: April 26, 2018 - 14:22:13 »
some missing package1 keys, they can be found inside package1 or in the source code from exosphere (CFW).
[You are not allowed to view links] Register or Login

Code:
Only registered users can see contents. Please click here to Register or Login.

Offline TiMeBoMb4u2

  • Newbie
  • *
  • Posts: 3
Re: Nintendo Switch Keys
« Reply #42 on: April 26, 2018 - 15:02:43 »
[You are not allowed to view links] Register or Login
some missing package1 keys, they can be found inside package1 or in the source code from exosphere (CFW).
[You are not allowed to view links] Register or Login

Code:
Only registered users can see contents. Please click here to Register or Login.

Unless I'm overlooking something, I'm not seeing this inside of the Exosphere source.
Would you mind linking directly to where you saw this.  Thanks.

Offline Falo

  • Newbie
  • *
  • Posts: 4
Re: Nintendo Switch Keys
« Reply #43 on: April 26, 2018 - 15:56:23 »
[You are not allowed to view links] Register or Login
Unless I'm overlooking something, I'm not seeing this inside of the Exosphere source.
Would you mind linking directly to where you saw this.  Thanks.
seems like they removed key_derivation.c from exosphere, but the same file can be found in the fusee directory:
[You are not allowed to view links] Register or Login

Offline simonmkwii

  • Newbie
  • *
  • Posts: 42
Re: Nintendo Switch Keys
« Reply #44 on: April 26, 2018 - 16:05:25 »
[You are not allowed to view links] Register or Login
some missing package1 keys, they can be found inside package1 or in the source code from exosphere (CFW).
[You are not allowed to view links] Register or Login

Code:
Only registered users can see contents. Please click here to Register or Login.
Yeah, that 4x normalseed is weird.
The master key is still generated with the standard normalseed, aka the master key seed.