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
25
Location
Las Vegas
XP
3,755
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
26
XP
942
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
  • No one is chatting at the moment.
  • YukiHomura @ YukiHomura:
    recoded sucked
  • YukiHomura @ YukiHomura:
    was more a remake of an japan only mobile game
  • BeanMKW @ BeanMKW:
    anyone know if i can update tiramisu using ftpiiU
  • BeanMKW @ BeanMKW:
    my new pc cant read SD
  • FlareReZ @ FlareReZ:
    @YukiHomura, Skibidi Toilet is way worse. This is the reason why I avoid stuff like TikTok.
    +1
  • JohnnyPhantom @ JohnnyPhantom:
    I just made a post and screwed up, I didn't add a prefix, is it possible to add one after the fact I posted it?
  • ZeroT21 @ ZeroT21:
    @BeanMKW either your card reader is broken or you need to use a different port, unless the sd card itself is busted
  • FlareReZ @ FlareReZ:
    Try using a different SD card or a different USB port.
  • BeanMKW @ BeanMKW:
    @ZeroT21 @FlareReZ nah i meant i literally dont have an sd port. i just got the old laptop out and updated lol
    +1
  • K3N1 @ K3N1:
    It doesn't have usb?
  • K3N1 @ K3N1:
    I got one of these surly your new pc at least has a USB port https://a.co/d/av6BnXX
  • BeanMKW @ BeanMKW:
    ya it does
  • BeanMKW @ BeanMKW:
    i just need one of those usb sd adapters lol
  • BeanMKW @ BeanMKW:
    i had to update to use nusspli.. sspeaking of nusspli, my wii u doesnt auto shutdown during it, right? rayman legends downloading kinda slow
  • K3N1 @ K3N1:
    I'd get one with a type c/usb adapter like mine so if in a pinch you could use a file manager app on your phone
  • BeanMKW @ BeanMKW:
    nah
  • BeanMKW @ BeanMKW:
    i would never need that lol
  • K3N1 @ K3N1:
    Never know they come in handy
  • BeanMKW @ BeanMKW:
    using a phone, even with amaze or something, is just too tedious for me
  • K3N1 @ K3N1:
    You could just use the type A side then C is just quickly over taking everything
  • K3N1 @ K3N1:
    Both in one package is just nice
  • BeanMKW @ BeanMKW:
    i swear nusspli keeps network erroring
  • BeanMKW @ BeanMKW:
    i hope that doesnt cause any issues
  • HiradeGirl @ HiradeGirl:
    where's my food?
  • K3N1 @ K3N1:
    The hell TVs have a qned thing
    K3N1 @ K3N1: The hell TVs have a qned thing