Homebrew Question How do you get your sd card encryption seed?

LordVe

Member
Newcomer
Joined
May 28, 2018
Messages
22
Trophies
0
Age
43
XP
544
Country
United States
I once read that you search for the Hex Value from the Private file on the SD card in your Decrypted System.bin file. Never got HacTool to accept the result though...
 

LordVe

Member
Newcomer
Joined
May 28, 2018
Messages
22
Trophies
0
Age
43
XP
544
Country
United States
Obtaining Your SD Seed
  1. Open sd:/Nintendo/contents/private in a hex editor.
  2. Copy the hex representation of it and put it somewhere for later.
  3. Mount your NAND's SYSTEM partition.
  4. Open /save/8000000000000043 in a hex editor.
  5. Search for the contents of private.

(Taken from Switch SD Dumping 101)
 
  • Like
Reactions: dannidevi

PeterGemp

Well-Known Member
Member
Joined
Jun 28, 2018
Messages
118
Trophies
0
XP
269
Country
United States
anyone know how to get the sd card encryption seed to extract nax0 content with hactool?

Obtaining Your SD Seed
  1. Open sd:/Nintendo/contents/private in a hex editor.
  2. Copy the hex representation of it and put it somewhere for later.
  3. Mount your NAND's SYSTEM partition.
  4. Open /save/8000000000000043 in a hex editor.
  5. Search for the contents of private.

(Taken from Switch SD Dumping 101)

In necessary detail, since the guide is too god damn vague at the most inconvenient times:

"The hex representation of private", the only line of 16 Bytes in Hex within "private"- aka. "THE CONTENTS OF PRIVATE", for example:

F6 67 A5 9E 8B 62 65 65 AF D5 FF 0D 9E 80 15 8E

THEN open "save\8000000000000043" from your mounted NAND system partition that you dumped beforehand, right?
The search for "the content of "private" " within "save\8000000000000043":
This means nothing else than to look for the hex digit combination from "private" within "save\8000000000000043".
Make sure that you are searching for Hex-values in the search (see open tab in "Find"-search mask, HxD editor).

You then copy the next line that come after your matched search result (=private).

F6 67 A5 9E 8B 62 65 65 AF D5 FF 0D 9E 80 15 8E <= Aforementioned "The hex representation of private", only one line of 16 Bytes in Hex - aka. "THE CONTENTS OF PRIVATE"
A5 6E A5 5E 86 62 35 6D AF D5 F2 0C 9E F0 15 8E <= YOUR SD SEED, the line following "the contents of private"

Lose the spaces and these 16 bytes become your SD Seed: A56EA55E8662356DAFD5F20C9EF0158E
 
Last edited by PeterGemp,

dannidevi

Member
Newcomer
Joined
Jun 28, 2018
Messages
14
Trophies
0
Age
44
XP
94
Country
Germany
I got the SD Seed Key, but cannot extract nax0 files from my sd card...
have you tried it? i alway get the error "Error: NAX0 key derivation failed. Check SD card seed and relative path?"

my cmd line:
hactool -tnax0 -k keys.ini --sdseed=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --sdpath=\registered\00000035\b80967535426154e75f909b3c129c81e.nca 00000035\b80967535426154e75f909b3c129c81e.nca\00 --plaintext=out.nca

edit:
my fault... wrong slashes in sdpath ... must be / not \
 
Last edited by dannidevi,
  • Like
Reactions: PeterGemp

tyler004

Well-Known Member
Member
Joined
Jun 6, 2018
Messages
183
Trophies
0
Age
30
XP
861
Country
Canada
so im trying to get this to work but my private key isn`t found in the save \8000000000000043 when searching, anyone know y do I have to dump my nand again
 
Last edited by tyler004,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Finally got Killer Instinct Gold running really well on the Pi 4