Replacing encryption keys in memory?

Discussion in '3DS - Homebrew Development and Emulators' started by lukas_2511, Jan 27, 2015.

  1. lukas_2511
    OP

    lukas_2511 GBAtemp Regular

    Member
    125
    45
    Jan 4, 2015
    Gambia, The
    Hey,

    I'm just wondering, with the ARM9 Kernel exploit, and the memory access, would it be possible to replace the encryption keys on a 3DS (temporarily) with own keys?

    As I understand the only problem why we can't just encrypt and/or sign homebrew and use it like retail games is because we do not have the private key, but if we would be able to replace the public part of the key on the console we could use our own private key, right?

    Or is that some part that we can not access? Or is there something else I'm completely missing here?
     
  2. Searinox

    Searinox <3

    Member
    1,734
    160
    Dec 16, 2007
    Romania
    You misunderstand. What consoles have is the PUBLIC key, and Nintendo has the private key, meaning only they can sign software. And if you're referring to reading the console's unique key for signing the software it has installed on sysNAND, that isn't stored in memory. It's stored on a secure cryptoprocessor, along with the algorithm that is used to encrypt/decrypt and the system only gets to ask it what to process and receives the already-processed data back, without the keys ever being stored in memory. Nintendo isn't stupid.
     
  3. lukas_2511
    OP

    lukas_2511 GBAtemp Regular

    Member
    125
    45
    Jan 4, 2015
    Gambia, The

    I don't want to read the private key, I want to replace the public key.
    Is the public key also stored in a way we can't touch it?
     
  4. MemoryController

    MemoryController Member

    Newcomer
    19
    12
    Sep 7, 2014
    Greece
    ThessalonĂ­ki
    If you have this level of access then just stub out the signature verification :P
     
  5. Duo8

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    Yes you can. That's how GW got 7.x support.
     
  6. naxil

    naxil GBAtemp Advanced Fan

    Member
    740
    96
    Oct 26, 2011
    Italy
    I love this thread on gbatemp.. where is the true?
    Firts answer = is impossible...
    Second = impossible
    3= yes u can thats happen when we use gw 7>... lol