Homebrew So whats the deal with 3ds encryption?

Phanalax

Member
OP
Newcomer
Joined
Jun 19, 2014
Messages
8
Trophies
0
Age
28
XP
70
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,877
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
  • K3Nv2 @ K3Nv2:
    Swear a secret groups been at hire to kill off Trump they found a gopro I bet the target is one million dollara
    +1
  • BigOnYa @ BigOnYa:
    I'm running that benchmark on my wife's pc for hell of it, its like 8 years old. Nvm it wont even let me run 1080extreme, only 1080medium
  • BigOnYa @ BigOnYa:
    Actually its letting me run 1080extreme, its running like 5fps, lol
    +1
  • K3Nv2 @ K3Nv2:
    Can run nes
    +1
  • BigOnYa @ BigOnYa:
    It was my old PC way back in the day that I passed down to her when built mine. Was decent then, poop now. She never use it anyways, she use her iPad mostly.
  • K3Nv2 @ K3Nv2:
    2 years ago?
    +1
  • BigOnYa @ BigOnYa:
    lol, no that one i built like 8 years ago. My new one has a Ryzen 7 something, with a GTX 2080.
  • K3Nv2 @ K3Nv2:
    So 80 years ago in pc years
    +1
  • BigOnYa @ BigOnYa:
    Cool tho
  • Sicklyboy @ Sicklyboy:
    2080 gang
    +1
  • K3Nv2 @ K3Nv2:
    Sell your steam account for a new gpu
  • BigOnYa @ BigOnYa:
    That 2080 and HDs prob only parts I can use on a new PC build.
  • K3Nv2 @ K3Nv2:
    I like how people buy switches and use Xbox style controllers with them
  • BigOnYa @ BigOnYa:
    I use a Switch pro controller, its close to Xbox style, other than stupid A B X Y buttons reversed.
  • K3Nv2 @ K3Nv2:
    Must be a crappy feeling for switch owners $300 device just to get crushed by linux
  • BigOnYa @ BigOnYa:
    I've had mine since launch, a V1. Did have to put new battery in it last year tho.
  • K3Nv2 @ K3Nv2:
    Yeah launch I get it because it takes emulation a good couple years
    +1
  • BigOnYa @ BigOnYa:
    I wonder how well switch 2 games will play in emulators, but then again, how would you dump the game anyways.
  • K3Nv2 @ K3Nv2:
    I almost picked up deodorant thinking it was mouthwash I mean same principle?
  • Veho @ Veho:
    As long as it's not antiperspirant, it's all the same.
  • Veho @ Veho:
    Alcohol, glycerine, aroma, water. Works on whatever needs cleaning.
  • K3Nv2 @ K3Nv2:
    Mouthwash for the ballsack only stings a little
    K3Nv2 @ K3Nv2: Mouthwash for the ballsack only stings a little