Homebrew So whats the deal with 3ds encryption?

Phanalax

Member
OP
Newcomer
Joined
Jun 19, 2014
Messages
8
Trophies
0
Age
27
XP
60
Country
United States
Just bought a 3ds, It's shipping out to me soon. So as I am interested in trying my hand at making homebrew for it, I want to know what the deal is with the 3ds' encryption? From what I can gather its per-console AES of some sort, with only signed code being allowed to run. This makes me think there must be some kind of master key. The thing is I'm just shooting in the dark because information on the encryption is hard to come by. So If its not too much to ask, could some wonderful knowledgeable person here impart some information to me? Preferably if anybody knows the cipher(s) for it I would love to try my hand at picking them apart. (Even if it is AES). Thanks in advance.
 

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
Basically the 3DS uses a crapton of encryption everywhere, between ROM specific keys, console specific keys, current firmware seeds unique to each firmware on setup, and a lot of other crap. Right now it uses hardware decryption so picking it apart is almost impossible. If you've ever looked at an xorpad, it's literally just random data, no patterns at all. I'm not sure if there's a master key per-se, but if there is it's stowed away safely in the inaccessible part of the bootloader (plus there's still the issue of it being a hardware encryption).
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,867
Country
United States
Just bought a 3ds, It's shipping out to me soon. So as I am interested in trying my hand at making homebrew for it, I want to know what the deal is with the 3ds' encryption? From what I can gather its per-console AES of some sort, with only signed code being allowed to run. This makes me think there must be some kind of master key. The thing is I'm just shooting in the dark because information on the encryption is hard to come by. So If its not too much to ask, could some wonderful knowledgeable person here impart some information to me? Preferably if anybody knows the cipher(s) for it I would love to try my hand at picking them apart. (Even if it is AES). Thanks in advance.

http://3dbrew.org/wiki/AES
Encryption is always AES, probably due to US export law. Signing is done with RSA-2048 over a SHA-256 hash most of the time.
The hardware AES engine is reeeally secure. The few keys we've retrieved from keyslots have been from either luck, or quite a lot of work.
 

Tjessx

Well-Known Member
Member
Joined
Dec 3, 2014
Messages
1,160
Trophies
0
Age
27
XP
952
Country
Belgium
I'm wondering for a very long time, if the 3DS system is encrypted by a unique id, doesn't the key has to be stored in some kind of bios in order to make it boot?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: But I bet that would be more for a flashcart than a consumer repro board.