Hacking How are 3ds games encrypted/ideas on how to decrypt them?

ILOVEPIE

Well-Known Member
OP
Newcomer
Joined
Jan 30, 2012
Messages
50
Trophies
0
Website
rohan.sdsu.edu
XP
200
Country
United States
I understand that there is an encryption suit protecting 3ds games but i'm interested in what kind because certain forms of encryption are only useful so long as both ends remain uncracked. If the encryption on 3ds carts is AES then I see no reason why we cannot extract the common key from the firmware of a 3ds, if everyone focused their efforts on one 3ds we should be able to break it's unique encryption keys and extract the common key from a disassembly of the OS. Another option might be to use emunand to do memory scanning for the common key. We can apply methods that have been proven for other heavily encrypted and or obfuscated systems, it's no different than trying to reverse engineer a heavily obfuscated and encrypted PC program or am I wrong?
 

Kaphotics

badc0ded
Member
Joined
Sep 10, 2010
Messages
612
Trophies
0
XP
626
Country
United States
key is set by the bootrom, and is write only.

bootrom has not been dumped, so no aes key. which is why the 3DS has to be used to generate xorpads.
 
  • Like
Reactions: Relys

ILOVEPIE

Well-Known Member
OP
Newcomer
Joined
Jan 30, 2012
Messages
50
Trophies
0
Website
rohan.sdsu.edu
XP
200
Country
United States
Do you mean it's in write only memory or do you mean you can only pass the key to the OS not retrieve it, because if it's the latter you can memory scan for it, if it's the former then how does it fetch the key in order to decrypt the roms when it runs them.
 

ILOVEPIE

Well-Known Member
OP
Newcomer
Joined
Jan 30, 2012
Messages
50
Trophies
0
Website
rohan.sdsu.edu
XP
200
Country
United States
Relys I understand what he said i'm trying to clarify what he meant. If we have kernelmode access (which I believe the current exploit gives us) we can memory scan the whole system for the key assuming that it's not in hardware WOM. if the key is in software based Write Only Memory (i.e. like the flags windows uses on sections of memory in programs to make them read, write, and/or executable) it can be bypassed. if it's hardware based WOM then we need to figure out how the OS accesses it to decrypt the games (we could potentially get the key by piggybacking on the game decryption), unless it's done using a hardware decryption chip, in which case we'd need someone to dissect that hardware .
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
imagine its like a magic box, you put something in one side and it come out the other side decrypted, the OS never does the decryption it just passes it through the aes chip which spits out the decrypted version.....so the system never has access to the "key" itself

well thats how i would explain it anyways with my limited knowledge from just reading up on 3ds brew and what devs have said about how it works
 
  • Like
Reactions: Relys

ILOVEPIE

Well-Known Member
OP
Newcomer
Joined
Jan 30, 2012
Messages
50
Trophies
0
Website
rohan.sdsu.edu
XP
200
Country
United States
Oh... ok that makes more sense... they're using a hardware chip to do decryption... anyone with a broken DS and an scanning/tunneling electron microscope willing to reverse engineer the chip for us? (i'm assuming here the aes key is built into the chip, if it's not then reverse engineering the chip is pointless)
 

Abcdfv

What comes around goes around.
Member
Joined
Dec 24, 2013
Messages
1,455
Trophies
0
XP
827
Country
United States
Oh... ok that makes more sense... they're using a hardware chip to do decryption... anyone with a broken DS and an scanning/tunneling electron microscope willing to reverse engineer the chip for us? (i'm assuming here the aes key is built into the chip)
There are a couple people wanting to, one went as far as depackaging the chip, but no one has decapped it fully yet.
 

Kakkoii

Old fart
Member
Joined
Sep 14, 2007
Messages
631
Trophies
0
XP
586
Country
Canada
Oh... ok that makes more sense... they're using a hardware chip to do decryption... anyone with a broken DS and an scanning/tunneling electron microscope willing to reverse engineer the chip for us? (i'm assuming here the aes key is built into the chip, if it's not then reverse engineering the chip is pointless)

There was a person willing to put up the money to decap it, but people on this forum told him it would be a waste of time -_-
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Least they got head in the end